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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/gyp_chromium ('k') | ui/android/java/BitmapFormat.template » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 import("//build/config/android/rules.gni") 1 import("//build/config/android/rules.gni")
2 2
3 assert(is_android) 3 assert(is_android)
4 4
5 java_cpp_template("window_open_disposition_srcjar") { 5 java_cpp_enum("java_enums_srcjar") {
6 package_name = "org/chromium/ui"
7 sources = [ 6 sources = [
8 "java/WindowOpenDisposition.template", 7 "../base/window_open_disposition.h",
8 "../gfx/android/java_bitmap.h",
9 ] 9 ]
10 inputs = [ 10 outputs = [
11 "../base/window_open_disposition_list.h" 11 "org/chromium/ui/WindowOpenDisposition.java",
12 "org/chromium/ui/gfx/BitmapFormat.java",
12 ] 13 ]
13 } 14 }
14 15
15 java_cpp_template("bitmap_format_srcjar") {
16 package_name = "org/chromium/ui/gfx"
17 sources = [
18 "java/BitmapFormat.template",
19 ]
20 inputs = [
21 "../gfx/android/bitmap_config_list.h"
22 ]
23 }
24
25 java_strings_grd("ui_strings_grd") { 16 java_strings_grd("ui_strings_grd") {
26 grd_file = "java/strings/android_ui_strings.grd" 17 grd_file = "java/strings/android_ui_strings.grd"
27 outputs = [ 18 outputs = [
28 "values-am/android_ui_strings.xml", 19 "values-am/android_ui_strings.xml",
29 "values-ar/android_ui_strings.xml", 20 "values-ar/android_ui_strings.xml",
30 "values-bg/android_ui_strings.xml", 21 "values-bg/android_ui_strings.xml",
31 "values-ca/android_ui_strings.xml", 22 "values-ca/android_ui_strings.xml",
32 "values-cs/android_ui_strings.xml", 23 "values-cs/android_ui_strings.xml",
33 "values-da/android_ui_strings.xml", 24 "values-da/android_ui_strings.xml",
34 "values-de/android_ui_strings.xml", 25 "values-de/android_ui_strings.xml",
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 "java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 105 "java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
115 "java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 106 "java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
116 "java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 107 "java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
117 "java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java", 108 "java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java",
118 ] 109 ]
119 deps = [ 110 deps = [
120 ":ui_java_resources", 111 ":ui_java_resources",
121 "//base:base_java", 112 "//base:base_java",
122 ] 113 ]
123 srcjar_deps = [ 114 srcjar_deps = [
124 ":window_open_disposition_srcjar", 115 ":java_enums_srcjar",
125 ":bitmap_format_srcjar",
126 ] 116 ]
127 } 117 }
OLDNEW
« 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