| 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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'target_defaults': { | 9 'target_defaults': { |
| 10 'sources/': [ | 10 'sources/': [ |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 'ipc_tests', | 105 'ipc_tests', |
| 106 ], | 106 ], |
| 107 'actions': [ | 107 'actions': [ |
| 108 { | 108 { |
| 109 # Generate apk files (including source and antfile) from | 109 # Generate apk files (including source and antfile) from |
| 110 # a template, and builds them. | 110 # a template, and builds them. |
| 111 'action_name': 'generate_and_build', | 111 'action_name': 'generate_and_build', |
| 112 'inputs': [ | 112 'inputs': [ |
| 113 '../testing/android/generate_native_test.py', | 113 '../testing/android/generate_native_test.py', |
| 114 '<(PRODUCT_DIR)/lib.target/libipc_tests.so', | 114 '<(PRODUCT_DIR)/lib.target/libipc_tests.so', |
| 115 '<(PRODUCT_DIR)/chromium_base.jar' | 115 '<(PRODUCT_DIR)/lib.java/chromium_base.jar' |
| 116 ], | 116 ], |
| 117 'outputs': [ | 117 'outputs': [ |
| 118 '<(PRODUCT_DIR)/ChromeNativeTests_ipc_tests-debug.apk', | 118 '<(PRODUCT_DIR)/ChromeNativeTests_ipc_tests-debug.apk', |
| 119 ], | 119 ], |
| 120 'action': [ | 120 'action': [ |
| 121 '../testing/android/generate_native_test.py', | 121 '../testing/android/generate_native_test.py', |
| 122 '--native_library', | 122 '--native_library', |
| 123 '<(PRODUCT_DIR)/lib.target/libipc_tests.so', | 123 '<(PRODUCT_DIR)/lib.target/libipc_tests.so', |
| 124 # TODO(jrg): find a better way to specify jar | 124 # TODO(jrg): find a better way to specify jar |
| 125 # dependencies. Hard coding seems fragile. | 125 # dependencies. Hard coding seems fragile. |
| 126 '--jar', | 126 '--jar', |
| 127 '<(PRODUCT_DIR)/chromium_base.jar', | 127 '<(PRODUCT_DIR)/lib.java/chromium_base.jar', |
| 128 '--output', | 128 '--output', |
| 129 '<(PRODUCT_DIR)/ipc_tests_apk', | 129 '<(PRODUCT_DIR)/ipc_tests_apk', |
| 130 '--ant-args', | 130 '--ant-args', |
| 131 '-DPRODUCT_DIR=<(PRODUCT_DIR)', | 131 '-DPRODUCT_DIR=<(PRODUCT_DIR)', |
| 132 '--ant-compile' | 132 '--ant-compile' |
| 133 ], | 133 ], |
| 134 }, | 134 }, |
| 135 ], | 135 ], |
| 136 }], | 136 }], |
| 137 }], | 137 }], |
| 138 ], | 138 ], |
| 139 } | 139 } |
| OLD | NEW |