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

Unified Diff: ui/android/BUILD.gn

Issue 484603004: New C++ -> Java enum build rule + parser/generator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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
« no previous file with comments | « build/gyp_chromium ('k') | ui/android/java/BitmapFormat.template » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/BUILD.gn
diff --git a/ui/android/BUILD.gn b/ui/android/BUILD.gn
index cc3737c16193247b00a9bdc0cab85a7938fbfeaf..e1774d5965500e8a6f4736ee38eb6e045346e0cc 100644
--- a/ui/android/BUILD.gn
+++ b/ui/android/BUILD.gn
@@ -2,23 +2,14 @@ import("//build/config/android/rules.gni")
assert(is_android)
-java_cpp_template("window_open_disposition_srcjar") {
- package_name = "org/chromium/ui"
+java_cpp_enum("java_enums_srcjar") {
sources = [
- "java/WindowOpenDisposition.template",
+ "../base/window_open_disposition.h",
+ "../gfx/android/java_bitmap.h",
]
- inputs = [
- "../base/window_open_disposition_list.h"
- ]
-}
-
-java_cpp_template("bitmap_format_srcjar") {
- package_name = "org/chromium/ui/gfx"
- sources = [
- "java/BitmapFormat.template",
- ]
- inputs = [
- "../gfx/android/bitmap_config_list.h"
+ outputs = [
+ "org/chromium/ui/WindowOpenDisposition.java",
+ "org/chromium/ui/gfx/BitmapFormat.java",
]
}
@@ -121,7 +112,6 @@ android_library("ui_java") {
"//base:base_java",
]
srcjar_deps = [
- ":window_open_disposition_srcjar",
- ":bitmap_format_srcjar",
+ ":java_enums_srcjar",
]
}
« no previous file with comments | « build/gyp_chromium ('k') | ui/android/java/BitmapFormat.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698