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

Side by Side Diff: ui/android/ui_android.gyp

Issue 2306743002: Nukes the gyp/gypi files in ui (Closed)
Patch Set: keep webui Created 4 years, 3 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 | « ui/accessibility/extensions/accessibility_extensions.gyp ('k') | ui/app_list/app_list.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 },
9 'targets': [
10 {
11 # GN version: //ui/android
12 'target_name': 'ui_android',
13 'type': '<(component)',
14 'dependencies': [
15 '../../base/base.gyp:base',
16 '../../cc/cc.gyp:cc',
17 '../../skia/skia.gyp:skia',
18 '../gfx/gfx.gyp:gfx',
19 '../gfx/gfx.gyp:gfx_geometry',
20 'ui_android_jni_headers',
21 ],
22 'defines': [
23 'UI_ANDROID_IMPLEMENTATION',
24 ],
25 'sources' : [
26 'animation_utils.h',
27 'edge_effect.cc',
28 'edge_effect.h',
29 'edge_effect_base.cc',
30 'edge_effect_base.h',
31 'edge_effect_l.cc',
32 'edge_effect_l.h',
33 'overscroll_glow.cc',
34 'overscroll_glow.h',
35 'overscroll_refresh.cc',
36 'overscroll_refresh.h',
37 'resources/crushed_sprite_resource.cc',
38 'resources/crushed_sprite_resource.h',
39 'resources/resource_manager.cc',
40 'resources/resource_manager.h',
41 'resources/resource_manager_impl.cc',
42 'resources/resource_manager_impl.h',
43 'resources/ui_resource_provider.h',
44 'ui_android_export.h',
45 'ui_android_jni_registrar.cc',
46 'ui_android_jni_registrar.h',
47 'view_android.h',
48 'window_android.cc',
49 'window_android.h',
50 'window_android_compositor.h',
51 'window_android_observer.h',
52 ],
53 },
54 {
55 'target_name': 'ui_android_jni_headers',
56 'type': 'none',
57 'sources': [
58 'java/src/org/chromium/ui/base/ViewAndroidDelegate.java',
59 'java/src/org/chromium/ui/base/WindowAndroid.java',
60 'java/src/org/chromium/ui/resources/ResourceManager.java',
61 ],
62 'variables': {
63 'jni_gen_package': 'ui_android',
64 },
65 'includes': [ '../../build/jni_generator.gypi' ],
66 },
67 {
68 'target_name': 'android_resource_type_java',
69 'type': 'none',
70 'variables': {
71 'source_file': 'resources/resource_manager.h',
72 },
73 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
74 },
75 {
76 'target_name': 'bitmap_format_java',
77 'type': 'none',
78 'variables': {
79 'source_file': '../gfx/android/java_bitmap.h',
80 },
81 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
82 },
83 {
84 'target_name': 'page_transition_types_java',
85 'type': 'none',
86 'variables': {
87 'source_file': '../base/page_transition_types.h',
88 },
89 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
90 },
91 {
92 'target_name': 'system_ui_resource_type_java',
93 'type': 'none',
94 'variables': {
95 'source_file': 'resources/system_ui_resource_type.h',
96 },
97 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
98 },
99 {
100 'target_name': 'touch_device_types_java',
101 'type': 'none',
102 'variables': {
103 'source_file': '../base/touch/touch_device.h',
104 },
105 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
106 },
107 {
108 'target_name': 'window_open_disposition_java',
109 'type': 'none',
110 'variables': {
111 'source_file': '../base/window_open_disposition.h',
112 },
113 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
114 },
115 {
116 'target_name': 'text_input_type_java',
117 'type': 'none',
118 'variables': {
119 'source_file': '../base/ime/text_input_type.h',
120 },
121 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
122 },
123 {
124 'target_name': 'ui_java',
125 'type': 'none',
126 'variables': {
127 'java_in_dir': '../../ui/android/java',
128 'has_java_resources': 1,
129 'R_package': 'org.chromium.ui',
130 'R_package_relpath': 'org/chromium/ui',
131 },
132 'dependencies': [
133 '../../base/base.gyp:base_java',
134 'android_resource_type_java',
135 'bitmap_format_java',
136 'page_transition_types_java',
137 'system_ui_resource_type_java',
138 'touch_device_types_java',
139 'ui_strings_grd',
140 'window_open_disposition_java',
141 'text_input_type_java',
142 ],
143 'includes': [ '../../build/java.gypi' ],
144 },
145 {
146 'target_name': 'ui_javatests',
147 'type': 'none',
148 'variables': {
149 'java_in_dir': '../../ui/android/javatests',
150 },
151 'dependencies': [
152 '../../base/base.gyp:base_java_test_support',
153 'ui_java',
154 ],
155 'includes': [ '../../build/java.gypi' ],
156 },
157 {
158 'target_name': 'ui_strings_grd',
159 # The android_webview/Android.mk file depends on this target directly.
160 'android_unmangled_name': 1,
161 'type': 'none',
162 'variables': {
163 'grd_file': '../../ui/android/java/strings/android_ui_strings.grd',
164 },
165 'includes': [
166 '../../build/java_strings_grd.gypi',
167 ],
168 },
169 {
170 # GN: //ui/android:ui_junit_tests
171 'target_name': 'ui_junit_tests',
172 'type': 'none',
173 'dependencies': [
174 'ui_java',
175 '../../base/base.gyp:base',
176 '../../base/base.gyp:base_junit_test_support',
177 '../../testing/android/junit/junit_test.gyp:junit_test_support',
178 ],
179 'variables': {
180 'main_class': 'org.chromium.testing.local.JunitTestMain',
181 'src_paths': [
182 'junit/',
183 ],
184 'test_type': 'junit',
185 'wrapper_script_name': 'helper/<(_target_name)',
186 },
187 'includes': [
188 '../../build/android/test_runner.gypi',
189 '../../build/host_jar.gypi',
190 ],
191 },
192 {
193 # GN version: //ui/android:ui_android_unittests
194 'target_name': 'ui_android_unittests',
195 'type': '<(gtest_target_type)',
196 'dependencies': [
197 '../../base/base.gyp:base',
198 '../../base/base.gyp:test_support_base',
199 '../../cc/cc.gyp:cc',
200 '../../cc/cc_tests.gyp:cc_test_support',
201 '../../skia/skia.gyp:skia',
202 '../../testing/android/native_test.gyp:native_test_native_code',
203 '../../testing/gmock.gyp:gmock',
204 '../../testing/gtest.gyp:gtest',
205 '../base/ui_base.gyp:ui_base',
206 '../gfx/gfx.gyp:gfx',
207 '../resources/ui_resources.gyp:ui_test_pak',
208 'ui_android',
209 ],
210 'sources': [
211 'overscroll_refresh_unittest.cc',
212 'resources/resource_manager_impl_unittest.cc',
213 'run_all_unittests.cc',
214 ],
215 },
216 {
217 'target_name': 'ui_android_unittests_apk',
218 'type': 'none',
219 'dependencies': [
220 'ui_android_unittests',
221 'ui_java',
222 ],
223 'variables': {
224 'test_suite_name': 'ui_android_unittests',
225 },
226 'includes': [ '../../build/apk_test.gypi' ],
227 },
228 ],
229 'conditions': [
230 ['test_isolation_mode != "noop"',
231 {
232 'targets': [
233 {
234 'target_name': 'ui_android_unittests_apk_run',
235 'type': 'none',
236 'dependencies': [
237 'ui_android_unittests_apk',
238 ],
239 'includes': [
240 '../../build/isolate.gypi',
241 ],
242 'sources': [
243 'ui_android_unittests_apk.isolate',
244 ],
245 },
246 ]
247 }
248 ],
249 ]
250 }
OLDNEW
« no previous file with comments | « ui/accessibility/extensions/accessibility_extensions.gyp ('k') | ui/app_list/app_list.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698