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': 'test_support_content', | 8 'target_name': 'test_support_content', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'defines!': ['CONTENT_IMPLEMENTATION'], | 10 'defines!': ['CONTENT_IMPLEMENTATION'], |
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
872 'content_javatests', | 872 'content_javatests', |
873 'content_shell_apk', | 873 'content_shell_apk', |
874 '../base/base.gyp:base_java', | 874 '../base/base.gyp:base_java', |
875 '../base/base.gyp:base_java_test_support', | 875 '../base/base.gyp:base_java_test_support', |
876 '../media/media.gyp:media_java', | 876 '../media/media.gyp:media_java', |
877 '../media/media.gyp:media_test_support', | 877 '../media/media.gyp:media_test_support', |
878 '../net/net.gyp:net_java', | 878 '../net/net.gyp:net_java', |
879 '../net/net.gyp:net_javatests', | 879 '../net/net.gyp:net_javatests', |
880 '../tools/android/forwarder/forwarder.gyp:forwarder', | 880 '../tools/android/forwarder/forwarder.gyp:forwarder', |
881 ], | 881 ], |
882 'variables': { | 882 'actions': [ |
883 'package_name': 'content_shell_test', | 883 { |
884 'apk_name': 'ContentShellTest', | 884 'action_name': 'content_shell_test_generate_apk', |
885 'java_in_dir': 'shell/android/javatests', | 885 'inputs': [ |
886 'resource_dir': 'shell/android/res', | 886 '../build/android/ant/common.xml', |
887 }, | 887 '../build/android/ant/sdk-targets.xml', |
888 'includes': [ '../build/java_apk.gypi' ], | 888 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', |
| 889 '<(DEPTH)/content/shell/android/javatests/AndroidManifest.xml', |
| 890 '>@(input_jars_paths)', |
| 891 '<!@(find <(DEPTH)/content/shell/android/javatests/ -name "*.jav
a")' |
| 892 ], |
| 893 'outputs': [ |
| 894 '<(PRODUCT_DIR)/content_shell_test/ContentShellTest-debug.apk', |
| 895 ], |
| 896 'action': [ |
| 897 'ant', |
| 898 '-DPRODUCT_DIR=<(ant_build_out)', |
| 899 '-DAPP_ABI=<(android_app_abi)', |
| 900 '-DANDROID_SDK=<(android_sdk)', |
| 901 '-DANDROID_SDK_ROOT=<(android_sdk_root)', |
| 902 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', |
| 903 '-DANDROID_SDK_VERSION=<(android_sdk_version)', |
| 904 '-DANDROID_GDBSERVER=<(android_gdbserver)', |
| 905 '-DINPUT_JARS_PATHS=>(input_jars_paths)', |
| 906 '-buildfile', |
| 907 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', |
| 908 ] |
| 909 } |
| 910 ], |
889 }, | 911 }, |
890 ], | 912 ], |
891 }], | 913 }], |
892 ], | 914 ], |
893 } | 915 } |
OLD | NEW |