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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/BUILD.gn ('k') | no next file » | 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
new file mode 100644
index 0000000000000000000000000000000000000000..d781721072fd84ff1000f426dd9a93e65580e242
--- /dev/null
+++ b/ui/android/BUILD.gn
@@ -0,0 +1,80 @@
+import("//build/config/android/rules.gni")
+
+assert(is_android)
+
+java_cpp_template("window_open_disposition_srcjar") {
+ package_name = "org/chromium/ui"
+ sources = [
+ "java/WindowOpenDisposition.template",
+ ]
+ 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"
+ ]
+}
+
+java_strings_grd("ui_strings_grd") {
+ grd_file = "java/strings/android_ui_strings.grd"
+}
+
+android_resources("ui_java_res") {
+ custom_package = "org.chromium.ui"
+ resource_dirs = [
+ "java/res"
+ ]
+ deps = [
+ ":ui_strings_grd",
+ ]
+}
+
+android_library("ui_java") {
+ java_files = [
+ "java/src/org/chromium/ui/ColorPickerAdvanced.java",
+ "java/src/org/chromium/ui/ColorPickerAdvancedComponent.java",
+ "java/src/org/chromium/ui/ColorPickerDialog.java",
+ "java/src/org/chromium/ui/ColorPickerMoreButton.java",
+ "java/src/org/chromium/ui/ColorPickerSimple.java",
+ "java/src/org/chromium/ui/ColorSuggestion.java",
+ "java/src/org/chromium/ui/ColorSuggestionListAdapter.java",
+ "java/src/org/chromium/ui/DropdownAdapter.java",
+ "java/src/org/chromium/ui/DropdownDividerDrawable.java",
+ "java/src/org/chromium/ui/DropdownItem.java",
+ "java/src/org/chromium/ui/DropdownPopupWindow.java",
+ "java/src/org/chromium/ui/OnColorChangedListener.java",
+ "java/src/org/chromium/ui/UiUtils.java",
+ "java/src/org/chromium/ui/VSyncMonitor.java",
+ "java/src/org/chromium/ui/autofill/AutofillPopup.java",
+ "java/src/org/chromium/ui/autofill/AutofillSuggestion.java",
+ "java/src/org/chromium/ui/base/ActivityWindowAndroid.java",
+ "java/src/org/chromium/ui/base/Clipboard.java",
+ "java/src/org/chromium/ui/base/DeviceFormFactor.java",
+ "java/src/org/chromium/ui/base/LocalizationUtils.java",
+ "java/src/org/chromium/ui/base/SelectFileDialog.java",
+ "java/src/org/chromium/ui/base/TouchDevice.java",
+ "java/src/org/chromium/ui/base/ViewAndroid.java",
+ "java/src/org/chromium/ui/base/ViewAndroidDelegate.java",
+ "java/src/org/chromium/ui/base/WindowAndroid.java",
+ "java/src/org/chromium/ui/gfx/BitmapHelper.java",
+ "java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
+ "java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
+ "java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
+ "java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java",
+ ]
+ deps = [
+ ":ui_java_res",
+ "//base:base_java",
+ ]
+ srcjar_deps = [
+ ":window_open_disposition_srcjar",
+ ":bitmap_format_srcjar",
+ ]
+}
« 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