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