| 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 # This file is meant to be included into a target to provide a rule | 5 # This file is meant to be included into a target to provide a rule |
| 6 # to build APK based test suites. | 6 # to build APK based test suites. |
| 7 # | 7 # |
| 8 # To use this, create a gyp target with the following form: | 8 # To use this, create a gyp target with the following form: |
| 9 # { | 9 # { |
| 10 # 'target_name': 'test_suite_name_apk', | 10 # 'target_name': 'test_suite_name_apk', |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 'action': [ | 41 'action': [ |
| 42 '<(DEPTH)/testing/android/generate_native_test.py', | 42 '<(DEPTH)/testing/android/generate_native_test.py', |
| 43 '--native_library', | 43 '--native_library', |
| 44 '<(input_shlib_path)', | 44 '<(input_shlib_path)', |
| 45 '--output', | 45 '--output', |
| 46 '<(PRODUCT_DIR)/<(test_suite_name)_apk', | 46 '<(PRODUCT_DIR)/<(test_suite_name)_apk', |
| 47 '--strip-binary=<(android_strip)', | 47 '--strip-binary=<(android_strip)', |
| 48 '--app_abi', | 48 '--app_abi', |
| 49 '<(android_app_abi)', | 49 '<(android_app_abi)', |
| 50 '--ant-args', | 50 '--ant-args', |
| 51 '-quiet', |
| 52 '--ant-args', |
| 51 '-DPRODUCT_DIR=<(ant_build_out)', | 53 '-DPRODUCT_DIR=<(ant_build_out)', |
| 52 '--ant-args', | 54 '--ant-args', |
| 53 '-DANDROID_SDK=<(android_sdk)', | 55 '-DANDROID_SDK=<(android_sdk)', |
| 54 '--ant-args', | 56 '--ant-args', |
| 55 '-DANDROID_SDK_ROOT=<(android_sdk_root)', | 57 '-DANDROID_SDK_ROOT=<(android_sdk_root)', |
| 56 '--ant-args', | 58 '--ant-args', |
| 57 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', | 59 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', |
| 58 '--ant-args', | 60 '--ant-args', |
| 59 '-DANDROID_SDK_VERSION=<(android_sdk_version)', | 61 '-DANDROID_SDK_VERSION=<(android_sdk_version)', |
| 60 '--ant-args', | 62 '--ant-args', |
| 61 '-DANDROID_GDBSERVER=<(android_gdbserver)', | 63 '-DANDROID_GDBSERVER=<(android_gdbserver)', |
| 62 '--ant-args', | 64 '--ant-args', |
| 63 '-DCHROMIUM_SRC=<(ant_build_out)/../..', | 65 '-DCHROMIUM_SRC=<(ant_build_out)/../..', |
| 64 '--ant-args', | 66 '--ant-args', |
| 65 '-DINPUT_JARS_PATHS=>(input_jars_paths)', | 67 '-DINPUT_JARS_PATHS=>(input_jars_paths)', |
| 66 ], | 68 ], |
| 67 }], | 69 }], |
| 68 }], # 'OS == "android" and gtest_target_type == "shared_library" | 70 }], # 'OS == "android" and gtest_target_type == "shared_library" |
| 69 ], # conditions | 71 ], # conditions |
| 70 }], | 72 }], |
| 71 ], # target_conditions | 73 ], # target_conditions |
| 72 } | 74 } |
| OLD | NEW |