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

Side by Side Diff: ui/android/BUILD.gn

Issue 361633002: [Android][gn] Add android resources templates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-java
Patch Set: Fix bad rebase Created 6 years, 5 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
« no previous file with comments | « net/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 import("//build/config/android/rules.gni")
2
3 assert(is_android)
4
5 java_cpp_template("window_open_disposition_srcjar") {
6 package_name = "org/chromium/ui"
7 sources = [
8 "java/WindowOpenDisposition.template",
9 ]
10 inputs = [
11 "../base/window_open_disposition_list.h"
12 ]
13 }
14
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") {
26 grd_file = "java/strings/android_ui_strings.grd"
27 }
28
29 android_resources("ui_java_res") {
30 custom_package = "org.chromium.ui"
31 resource_dirs = [
32 "java/res"
33 ]
34 deps = [
35 ":ui_strings_grd",
36 ]
37 }
38
39 android_library("ui_java") {
40 java_files = [
41 "java/src/org/chromium/ui/ColorPickerAdvanced.java",
42 "java/src/org/chromium/ui/ColorPickerAdvancedComponent.java",
43 "java/src/org/chromium/ui/ColorPickerDialog.java",
44 "java/src/org/chromium/ui/ColorPickerMoreButton.java",
45 "java/src/org/chromium/ui/ColorPickerSimple.java",
46 "java/src/org/chromium/ui/ColorSuggestion.java",
47 "java/src/org/chromium/ui/ColorSuggestionListAdapter.java",
48 "java/src/org/chromium/ui/DropdownAdapter.java",
49 "java/src/org/chromium/ui/DropdownDividerDrawable.java",
50 "java/src/org/chromium/ui/DropdownItem.java",
51 "java/src/org/chromium/ui/DropdownPopupWindow.java",
52 "java/src/org/chromium/ui/OnColorChangedListener.java",
53 "java/src/org/chromium/ui/UiUtils.java",
54 "java/src/org/chromium/ui/VSyncMonitor.java",
55 "java/src/org/chromium/ui/autofill/AutofillPopup.java",
56 "java/src/org/chromium/ui/autofill/AutofillSuggestion.java",
57 "java/src/org/chromium/ui/base/ActivityWindowAndroid.java",
58 "java/src/org/chromium/ui/base/Clipboard.java",
59 "java/src/org/chromium/ui/base/DeviceFormFactor.java",
60 "java/src/org/chromium/ui/base/LocalizationUtils.java",
61 "java/src/org/chromium/ui/base/SelectFileDialog.java",
62 "java/src/org/chromium/ui/base/TouchDevice.java",
63 "java/src/org/chromium/ui/base/ViewAndroid.java",
64 "java/src/org/chromium/ui/base/ViewAndroidDelegate.java",
65 "java/src/org/chromium/ui/base/WindowAndroid.java",
66 "java/src/org/chromium/ui/gfx/BitmapHelper.java",
67 "java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
68 "java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
69 "java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
70 "java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java",
71 ]
72 deps = [
73 ":ui_java_res",
74 "//base:base_java",
75 ]
76 srcjar_deps = [
77 ":window_open_disposition_srcjar",
78 ":bitmap_format_srcjar",
79 ]
80 }
OLDNEW
« no previous file with comments | « net/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698