Index: base/base.gyp |
diff --git a/base/base.gyp b/base/base.gyp |
index a9cc0f4f82d3be19967e45777b370b700c7bff71..37baba899dacdea01e65eae385da0385de81edcd 100644 |
--- a/base/base.gyp |
+++ b/base/base.gyp |
@@ -1299,6 +1299,7 @@ |
}, |
'dependencies': [ |
'base_java_activity_state', |
+ 'base_java_bitmap_config', |
'base_java_memory_pressure_level_list', |
'base_native_libraries_gen', |
], |
@@ -1339,6 +1340,22 @@ |
'includes': [ '../build/android/java_cpp_template.gypi' ], |
}, |
{ |
+ 'target_name': 'base_java_bitmap_config', |
+ 'type': 'none', |
+ # This target is used to auto-generate BitmapFormat.java |
+ # from a template file. The source file contains a list of |
+ # Java constant declarations matching the ones in |
+ # android/bitmap_config_list.h. |
+ 'sources': [ |
+ 'android/java/src/org/chromium/base/BitmapFormat.template', |
+ ], |
+ 'variables': { |
+ 'package_name': 'org/chromium/ui/gfx', |
+ 'template_deps': ['android/bitmap_config_list.h'], |
+ }, |
+ 'includes': [ '../build/android/java_cpp_template.gypi' ], |
+ }, |
+ { |
'target_name': 'base_java_memory_pressure_level_list', |
'type': 'none', |
'sources': [ |