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

Side by Side Diff: ui/ui_unittests.gypi

Issue 10386188: Fix ninja build for android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
« base/base.gyp ('K') | « testing/android/native_test.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'ui_test_support', 8 'target_name': 'ui_test_support',
9 'type': 'static_library', 9 'type': 'static_library',
10 'dependencies': [ 10 'dependencies': [
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 'ui_unittests', 221 'ui_unittests',
222 ], 222 ],
223 'actions': [ 223 'actions': [
224 { 224 {
225 # Generate apk files (including source and antfile) from 225 # Generate apk files (including source and antfile) from
226 # a template, and builds them. 226 # a template, and builds them.
227 'action_name': 'generate_and_build', 227 'action_name': 'generate_and_build',
228 'inputs': [ 228 'inputs': [
229 '../testing/android/AndroidManifest.xml', 229 '../testing/android/AndroidManifest.xml',
230 '../testing/android/generate_native_test.py', 230 '../testing/android/generate_native_test.py',
231 '<(PRODUCT_DIR)/lib.target/libui_unittests.so', 231 '<(SHARED_LIB_DIR)/libui_unittests.so',
232 '<(PRODUCT_DIR)/lib.java/chromium_base.jar', 232 '<(PRODUCT_DIR)/lib.java/chromium_base.jar',
233 ], 233 ],
234 'outputs': [ 234 'outputs': [
235 '<(PRODUCT_DIR)/ui_unittests_apk/ui_unittests-debug.apk', 235 '<(PRODUCT_DIR)/ui_unittests_apk/ui_unittests-debug.apk',
236 ], 236 ],
237 'action': [ 237 'action': [
238 '../testing/android/generate_native_test.py', 238 '../testing/android/generate_native_test.py',
239 '--native_library', 239 '--native_library',
240 '<(PRODUCT_DIR)/lib.target/libui_unittests.so', 240 '<(SHARED_LIB_DIR)/libui_unittests.so',
241 # TODO(jrg): find a better way to specify jar 241 # TODO(jrg): find a better way to specify jar
242 # dependencies. Hard coding seems fragile. 242 # dependencies. Hard coding seems fragile.
243 '--jar', 243 '--jar',
244 '<(PRODUCT_DIR)/lib.java/chromium_base.jar', 244 '<(PRODUCT_DIR)/lib.java/chromium_base.jar',
245 '--output', 245 '--output',
246 '<(PRODUCT_DIR)/ui_unittests_apk', 246 '<(PRODUCT_DIR)/ui_unittests_apk',
247 '--ant-args', 247 '--ant-args',
248 '-DPRODUCT_DIR=<(PRODUCT_DIR)', 248 '-DPRODUCT_DIR=`realpath <(PRODUCT_DIR)`',
249 '--ant-compile' 249 '--ant-compile'
250 ], 250 ],
251 }, 251 },
252 ] 252 ]
253 }, 253 },
254 ], 254 ],
255 }], 255 }],
256 ], 256 ],
257 } 257 }
OLDNEW
« base/base.gyp ('K') | « testing/android/native_test.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698