Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2325)

Unified Diff: base/base.gyp

Issue 157033007: API to Convert Java Bitmap Config to SkBitmap::Config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Auto generation of Bitmap Format enum in Java and C++. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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': [

Powered by Google App Engine
This is Rietveld 408576698