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

Unified Diff: ui/android/ui_android.gyp

Issue 731133002: Upstream ResourceManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years 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 | « ui/android/resources/ui_resource_android.cc ('k') | ui/android/ui_android_export.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/ui_android.gyp
diff --git a/ui/android/ui_android.gyp b/ui/android/ui_android.gyp
index f4e6ce6aa39ff3ad7bd533598ffd6f61e75fb690..1acc7f4062a3c47abb162d6c494c743bcc0ae0ee 100644
--- a/ui/android/ui_android.gyp
+++ b/ui/android/ui_android.gyp
@@ -8,6 +8,50 @@
},
'targets': [
{
+ # GN version: //ui/android
+ 'target_name': 'ui_android',
+ 'type': '<(component)',
+ 'dependencies': [
+ '../../cc/cc.gyp:cc',
+ '../../base/base.gyp:base',
+ '../../skia/skia.gyp:skia',
+ '../gfx/gfx.gyp:gfx',
+ '../gfx/gfx.gyp:gfx_geometry',
+ 'ui_android_jni_headers',
+ ],
+ 'defines': [
+ 'UI_ANDROID_IMPLEMENTATION',
+ ],
+ 'sources' : [
+ 'resources/resource_manager.cc',
+ 'resources/resource_manager.h',
+ 'resources/ui_resource_android.cc',
+ 'resources/ui_resource_android.h',
+ 'ui_android_export.h',
+ 'ui_android_jni_registrar.cc',
+ 'ui_android_jni_registrar.h',
+ ],
+ },
+ {
+ 'target_name': 'ui_android_jni_headers',
+ 'type': 'none',
+ 'sources': [
+ 'java/src/org/chromium/ui/resources/ResourceManager.java',
+ ],
+ 'variables': {
+ 'jni_gen_package': 'ui_android',
+ },
+ 'includes': [ '../../build/jni_generator.gypi' ],
+ },
+ {
+ 'target_name': 'android_resource_type_java',
+ 'type': 'none',
+ 'variables': {
+ 'source_file': 'resources/resource_manager.h',
+ },
+ 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
+ },
+ {
'target_name': 'bitmap_format_java',
'type': 'none',
'variables': {
@@ -58,6 +102,7 @@
},
'dependencies': [
'../../base/base.gyp:base_java',
+ 'android_resource_type_java',
'bitmap_format_java',
'page_transition_types_java',
'system_ui_resource_type_java',
« no previous file with comments | « ui/android/resources/ui_resource_android.cc ('k') | ui/android/ui_android_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698