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

Unified Diff: ui/android/ui_android.gyp

Issue 731133002: Upstream ResourceManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename namespace Created 6 years, 1 month 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
Index: ui/android/ui_android.gyp
diff --git a/ui/android/ui_android.gyp b/ui/android/ui_android.gyp
index 578c205972372a8f09eb835835a2eb7d11970f88..821fc69a83adc7ea3c5c3f50b0c2f687f20d12a5 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',
no sievers 2014/12/02 00:25:06 Should this be "ui_android" also since this is its
Jaekyun Seok (inactive) 2014/12/02 03:13:13 Done.
+ },
+ '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': {
@@ -50,6 +94,7 @@
},
'dependencies': [
'../../base/base.gyp:base_java',
+ 'android_resource_type_java',
'bitmap_format_java',
'page_transition_types_java',
'system_ui_resource_type_java',

Powered by Google App Engine
This is Rietveld 408576698