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 'variables' : { | 5 'variables' : { |
6 'pyautolib_sources': [ | 6 'pyautolib_sources': [ |
7 'app/chrome_command_ids.h', | 7 'app/chrome_command_ids.h', |
8 'app/chrome_dll_resource.h', | 8 'app/chrome_dll_resource.h', |
9 'common/automation_constants.h', | 9 'common/automation_constants.h', |
10 'common/pref_names.cc', | 10 'common/pref_names.cc', |
(...skipping 4683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4694 'unit_tests', | 4694 'unit_tests', |
4695 ], | 4695 ], |
4696 'variables': { | 4696 'variables': { |
4697 'test_suite_name': 'unit_tests', | 4697 'test_suite_name': 'unit_tests', |
4698 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)unit_test s<(SHARED_LIB_SUFFIX)', | 4698 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)unit_test s<(SHARED_LIB_SUFFIX)', |
4699 }, | 4699 }, |
4700 'includes': [ '../build/apk_test.gypi' ], | 4700 'includes': [ '../build/apk_test.gypi' ], |
4701 }, | 4701 }, |
4702 ], | 4702 ], |
4703 }], | 4703 }], |
4704 ['OS == "android" and sdk_build==1', { | |
Ted C
2012/09/19 21:18:49
any reason for the sdk_build=1? Shouldn't this wo
David Trainor- moved to gerrit
2012/09/20 02:28:17
ant requires the sdk, so need this downstream at l
| |
4705 'targets': [ | |
4706 { | |
4707 'target_name': 'chromium_testshell_test_apk', | |
4708 'type': 'none', | |
4709 'dependencies': [ | |
4710 '../base/base.gyp:base', | |
4711 '../base/base.gyp:base_java_test_support', | |
4712 'chrome_java', | |
4713 'chromium_testshell', | |
4714 '../tools/android/forwarder/forwarder.gyp:forwarder', | |
4715 ], | |
4716 'actions': [ | |
4717 { | |
4718 'action_name': 'chromium_testshell_test_generate_apk', | |
4719 'inputs': [ | |
4720 '../build/android/ant/common.xml', | |
4721 '../build/android/ant/sdk-targets.xml', | |
4722 '<(DEPTH)/chrome/android/testshell/javatests/chromium_testshell_ test_apk.xml', | |
4723 '<(DEPTH)/chrome/android/testshell/javatests/AndroidManifest.xml ', | |
4724 '>@(input_jars_paths)', | |
4725 '<!@(find <(DEPTH)/chrome/android/testshell/javatests/ -name "*. java")' | |
4726 ], | |
4727 'outputs': [ | |
4728 '<(PRODUCT_DIR)/apks/ChromiumTestShellTest-debug.apk', | |
4729 '<(PRODUCT_DIR)/test.lib.java/ChromiumTestShellTest-debug.jar', | |
4730 ], | |
4731 'action': [ | |
4732 'ant', | |
4733 '-DPRODUCT_DIR=<(ant_build_out)', | |
4734 '-DAPP_ABI=<(android_app_abi)', | |
4735 '-DANDROID_SDK=<(android_sdk)', | |
4736 '-DANDROID_SDK_ROOT=<(android_sdk_root)', | |
4737 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', | |
4738 '-DANDROID_SDK_VERSION=<(android_sdk_version)', | |
4739 '-DANDROID_GDBSERVER=<(android_gdbserver)', | |
4740 '-DINPUT_JARS_PATHS=>(input_jars_paths)', | |
4741 '-buildfile', | |
4742 '<(DEPTH)/chrome/android/testshell/javatests/chromium_testshell_ test_apk.xml', | |
4743 ] | |
4744 } | |
4745 ] | |
4746 }, | |
4747 ], | |
4748 }], | |
4704 ['test_isolation_mode != "noop"', { | 4749 ['test_isolation_mode != "noop"', { |
4705 'targets': [ | 4750 'targets': [ |
4706 { | 4751 { |
4707 'target_name': 'unit_tests_run', | 4752 'target_name': 'unit_tests_run', |
4708 'type': 'none', | 4753 'type': 'none', |
4709 'dependencies': [ | 4754 'dependencies': [ |
4710 'unit_tests', | 4755 'unit_tests', |
4711 ], | 4756 ], |
4712 'includes': [ | 4757 'includes': [ |
4713 'unit_tests.isolate', | 4758 'unit_tests.isolate', |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4762 '--result', '<@(_outputs)', | 4807 '--result', '<@(_outputs)', |
4763 '--isolate', 'browser_tests.isolate', | 4808 '--isolate', 'browser_tests.isolate', |
4764 ], | 4809 ], |
4765 }, | 4810 }, |
4766 ], | 4811 ], |
4767 }, | 4812 }, |
4768 ], | 4813 ], |
4769 }], | 4814 }], |
4770 ], # 'conditions' | 4815 ], # 'conditions' |
4771 } | 4816 } |
OLD | NEW |