OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 # GN version: //ui/android | 11 # GN version: //ui/android |
12 'target_name': 'ui_android', | 12 'target_name': 'ui_android', |
13 'type': '<(component)', | 13 'type': '<(component)', |
14 'dependencies': [ | 14 'dependencies': [ |
| 15 '../../base/base.gyp:base', |
15 '../../cc/cc.gyp:cc', | 16 '../../cc/cc.gyp:cc', |
16 '../../base/base.gyp:base', | |
17 '../../skia/skia.gyp:skia', | 17 '../../skia/skia.gyp:skia', |
18 '../gfx/gfx.gyp:gfx', | 18 '../gfx/gfx.gyp:gfx', |
19 '../gfx/gfx.gyp:gfx_geometry', | 19 '../gfx/gfx.gyp:gfx_geometry', |
20 'ui_android_jni_headers', | 20 'ui_android_jni_headers', |
21 ], | 21 ], |
22 'defines': [ | 22 'defines': [ |
23 'UI_ANDROID_IMPLEMENTATION', | 23 'UI_ANDROID_IMPLEMENTATION', |
24 ], | 24 ], |
25 'sources' : [ | 25 'sources' : [ |
26 'resources/resource_manager.cc', | 26 'resources/resource_manager.cc', |
27 'resources/resource_manager.h', | 27 'resources/resource_manager.h', |
28 'resources/ui_resource_android.cc', | 28 'resources/ui_resource_android.cc', |
29 'resources/ui_resource_android.h', | 29 'resources/ui_resource_android.h', |
| 30 'resources/ui_resource_client_android.h', |
| 31 'resources/ui_resource_provider.cc', |
| 32 'resources/ui_resource_provider.h', |
30 'ui_android_export.h', | 33 'ui_android_export.h', |
31 'ui_android_jni_registrar.cc', | 34 'ui_android_jni_registrar.cc', |
32 'ui_android_jni_registrar.h', | 35 'ui_android_jni_registrar.h', |
33 ], | 36 ], |
34 }, | 37 }, |
35 { | 38 { |
36 'target_name': 'ui_android_jni_headers', | 39 'target_name': 'ui_android_jni_headers', |
37 'type': 'none', | 40 'type': 'none', |
38 'sources': [ | 41 'sources': [ |
39 'java/src/org/chromium/ui/resources/ResourceManager.java', | 42 'java/src/org/chromium/ui/resources/ResourceManager.java', |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 # The android_webview/Android.mk file depends on this target directly. | 141 # The android_webview/Android.mk file depends on this target directly. |
139 'android_unmangled_name': 1, | 142 'android_unmangled_name': 1, |
140 'type': 'none', | 143 'type': 'none', |
141 'variables': { | 144 'variables': { |
142 'grd_file': '../../ui/android/java/strings/android_ui_strings.grd', | 145 'grd_file': '../../ui/android/java/strings/android_ui_strings.grd', |
143 }, | 146 }, |
144 'includes': [ | 147 'includes': [ |
145 '../../build/java_strings_grd.gypi', | 148 '../../build/java_strings_grd.gypi', |
146 ], | 149 ], |
147 }, | 150 }, |
| 151 { |
| 152 # GN version: //ui/android:ui_android_unittests |
| 153 'target_name': 'ui_android_unittests', |
| 154 'type': '<(gtest_target_type)', |
| 155 'dependencies': [ |
| 156 '../../base/base.gyp:base', |
| 157 '../../base/base.gyp:test_support_base', |
| 158 '../../cc/cc.gyp:cc', |
| 159 '../../skia/skia.gyp:skia', |
| 160 '../../testing/android/native_test.gyp:native_test_native_code', |
| 161 '../../testing/gtest.gyp:gtest', |
| 162 '../base/ui_base.gyp:ui_base', |
| 163 '../gfx/gfx.gyp:gfx', |
| 164 '../resources/ui_resources.gyp:ui_test_pak', |
| 165 'ui_android', |
| 166 ], |
| 167 'sources': [ |
| 168 'resources/resource_manager_unittest.cc', |
| 169 'run_all_unittests.cc', |
| 170 ], |
| 171 }, |
| 172 { |
| 173 'target_name': 'ui_android_unittests_apk', |
| 174 'type': 'none', |
| 175 'dependencies': [ |
| 176 'ui_android_unittests', |
| 177 'ui_java', |
| 178 ], |
| 179 'variables': { |
| 180 'test_suite_name': 'ui_android_unittests', |
| 181 }, |
| 182 'includes': [ '../../build/apk_test.gypi' ], |
| 183 }, |
148 ], | 184 ], |
149 } | 185 } |
OLD | NEW |