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

Side by Side Diff: ui/ui_unittests.gypi

Issue 10387086: Run APK tests on the android_test trybot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated SDK on bots. Ready for review. 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
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 'dependencies': [ 9 'dependencies': [
10 '../base/base.gyp:base', 10 '../base/base.gyp:base',
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 'type': 'none', 223 'type': 'none',
224 'dependencies': [ 224 'dependencies': [
225 'ui_unittests', 225 'ui_unittests',
226 ], 226 ],
227 'actions': [ 227 'actions': [
228 { 228 {
229 # Generate apk files (including source and antfile) from 229 # Generate apk files (including source and antfile) from
230 # a template, and builds them. 230 # a template, and builds them.
231 'action_name': 'generate_and_build', 231 'action_name': 'generate_and_build',
232 'inputs': [ 232 'inputs': [
233 '../testing/android/AndroidManifest.xml',
233 '../testing/android/generate_native_test.py', 234 '../testing/android/generate_native_test.py',
234 '<(PRODUCT_DIR)/lib.target/libui_unittests.so', 235 '<(PRODUCT_DIR)/lib.target/libui_unittests.so',
235 '<(PRODUCT_DIR)/lib.java/chromium_base.jar', 236 '<(PRODUCT_DIR)/lib.java/chromium_base.jar',
236 ], 237 ],
237 'outputs': [ 238 'outputs': [
238 '<(PRODUCT_DIR)/ChromeNativeTests_ui_unittests-debug.apk', 239 '<(PRODUCT_DIR)/ui_unittests_apk/ui_unittests-debug.apk',
239 ], 240 ],
240 'action': [ 241 'action': [
241 '../testing/android/generate_native_test.py', 242 '../testing/android/generate_native_test.py',
242 '--native_library', 243 '--native_library',
243 '<(PRODUCT_DIR)/lib.target/libui_unittests.so', 244 '<(PRODUCT_DIR)/lib.target/libui_unittests.so',
244 # TODO(jrg): find a better way to specify jar 245 # TODO(jrg): find a better way to specify jar
245 # dependencies. Hard coding seems fragile. 246 # dependencies. Hard coding seems fragile.
246 '--jar', 247 '--jar',
247 '<(PRODUCT_DIR)/lib.java/chromium_base.jar', 248 '<(PRODUCT_DIR)/lib.java/chromium_base.jar',
248 '--output', 249 '--output',
249 '<(PRODUCT_DIR)/ui_unittests_apk', 250 '<(PRODUCT_DIR)/ui_unittests_apk',
250 '--ant-args', 251 '--ant-args',
251 '-DPRODUCT_DIR=<(PRODUCT_DIR)', 252 '-DPRODUCT_DIR=<(PRODUCT_DIR)',
252 '--ant-compile' 253 '--ant-compile'
253 ], 254 ],
254 }, 255 },
255 ] 256 ]
256 }, 257 },
257 ], 258 ],
258 }], 259 }],
259 ], 260 ],
260 } 261 }
OLDNEW
« testing/android/AndroidManifest.xml ('K') | « testing/android/AndroidManifest.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698