예제 #1
0
 def _mark_changed_flag(self):
     info = self._changed_files.values()
     cache_dir = self._config['build_cache_dir']
     for bundle in info:
         if not android_tools.is_src_changed(cache_dir) and len(bundle['src']) > 0:
             android_tools.mark_src_changed(cache_dir)
         if not android_tools.is_res_changed(cache_dir) and len(bundle['res']) > 0:
             android_tools.mark_res_changed(cache_dir)
예제 #2
0
 def _mark_changed_flag(self):
     info = self._changed_files.values()
     cache_dir = self._config['build_cache_dir']
     for bundle in info:
         if not android_tools.is_src_changed(cache_dir) and len(bundle['src']) > 0:
             android_tools.mark_src_changed(cache_dir)
         if not android_tools.is_res_changed(cache_dir) and len(bundle['res']) > 0:
             android_tools.mark_res_changed(cache_dir)