OLD | NEW |
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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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/generate_native_test.py', | 233 '../testing/android/generate_native_test.py', |
234 '<(PRODUCT_DIR)/lib.target/libui_unittests.so', | 234 '<(PRODUCT_DIR)/lib.target/libui_unittests.so', |
235 '<(PRODUCT_DIR)/chromium_base.jar', | 235 '<(PRODUCT_DIR)/lib.java/chromium_base.jar', |
236 ], | 236 ], |
237 'outputs': [ | 237 'outputs': [ |
238 '<(PRODUCT_DIR)/ChromeNativeTests_ui_unittests-debug.apk', | 238 '<(PRODUCT_DIR)/ChromeNativeTests_ui_unittests-debug.apk', |
239 ], | 239 ], |
240 'action': [ | 240 'action': [ |
241 '../testing/android/generate_native_test.py', | 241 '../testing/android/generate_native_test.py', |
242 '--native_library', | 242 '--native_library', |
243 '<(PRODUCT_DIR)/lib.target/libui_unittests.so', | 243 '<(PRODUCT_DIR)/lib.target/libui_unittests.so', |
244 # TODO(jrg): find a better way to specify jar | 244 # TODO(jrg): find a better way to specify jar |
245 # dependencies. Hard coding seems fragile. | 245 # dependencies. Hard coding seems fragile. |
246 '--jar', | 246 '--jar', |
247 '<(PRODUCT_DIR)/chromium_base.jar', | 247 '<(PRODUCT_DIR)/lib.java/chromium_base.jar', |
248 '--output', | 248 '--output', |
249 '<(PRODUCT_DIR)/ui_unittests_apk', | 249 '<(PRODUCT_DIR)/ui_unittests_apk', |
250 '--ant-args', | 250 '--ant-args', |
251 '-DPRODUCT_DIR=<(PRODUCT_DIR)', | 251 '-DPRODUCT_DIR=<(PRODUCT_DIR)', |
252 '--ant-compile' | 252 '--ant-compile' |
253 ], | 253 ], |
254 }, | 254 }, |
255 ] | 255 ] |
256 }, | 256 }, |
257 ], | 257 ], |
258 }], | 258 }], |
259 ], | 259 ], |
260 } | 260 } |
OLD | NEW |