| 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 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 793 'java_in_dir': '../content/public/android/javatests', | 793 'java_in_dir': '../content/public/android/javatests', |
| 794 }, | 794 }, |
| 795 'includes': [ '../build/java.gypi' ], | 795 'includes': [ '../build/java.gypi' ], |
| 796 }, | 796 }, |
| 797 { | 797 { |
| 798 'target_name': 'content_shell_test_apk', | 798 'target_name': 'content_shell_test_apk', |
| 799 'type': 'none', | 799 'type': 'none', |
| 800 'dependencies': [ | 800 'dependencies': [ |
| 801 'content_shell_apk', | 801 'content_shell_apk', |
| 802 'content_javatests', | 802 'content_javatests', |
| 803 '../net/net.gyp:net_javatests', |
| 803 '../tools/android/forwarder/forwarder.gyp:forwarder', | 804 '../tools/android/forwarder/forwarder.gyp:forwarder', |
| 804 ], | 805 ], |
| 806 'copies': [ |
| 807 { |
| 808 'destination': '<(PRODUCT_DIR)/content_shell_test/java/libs', |
| 809 'files': [ |
| 810 '<(PRODUCT_DIR)/lib.java/chromium_base_javatests.jar', |
| 811 '<(PRODUCT_DIR)/lib.java/chromium_net_javatests.jar', |
| 812 '<(PRODUCT_DIR)/lib.java/chromium_content_javatests.jar', |
| 813 ], |
| 814 }, |
| 815 ], |
| 805 'actions': [ | 816 'actions': [ |
| 806 { | 817 { |
| 807 'action_name': 'copy_base_javatests_jar', | |
| 808 'inputs': ['<(PRODUCT_DIR)/lib.java/chromium_base_javatests.jar'], | |
| 809 'outputs': ['<(PRODUCT_DIR)/content_shell_test/java/libs/chromium_
base_javatests.jar'], | |
| 810 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], | |
| 811 }, | |
| 812 { | |
| 813 'action_name': 'copy_content_javatests_jar', | |
| 814 'inputs': ['<(PRODUCT_DIR)/lib.java/chromium_content_javatests.jar
'], | |
| 815 'outputs': ['<(PRODUCT_DIR)/content_shell_test/java/libs/chromium_
content_javatests.jar'], | |
| 816 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], | |
| 817 }, | |
| 818 { | |
| 819 'action_name': 'content_shell_test_generate_apk', | 818 'action_name': 'content_shell_test_generate_apk', |
| 820 'inputs': [ | 819 'inputs': [ |
| 821 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', | 820 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', |
| 822 '<(DEPTH)/content/shell/android/javatests/AndroidManifest.xml', | 821 '<(DEPTH)/content/shell/android/javatests/AndroidManifest.xml', |
| 823 '<!@(find <(DEPTH)/content/shell/android/javatests/ -name "*.jav
a")' | 822 '<!@(find <(DEPTH)/content/shell/android/javatests/ -name "*.jav
a")' |
| 824 ], | 823 ], |
| 825 'outputs': [ | 824 'outputs': [ |
| 826 '<(PRODUCT_DIR)/content_shell_test/ContentShellTest-debug.apk', | 825 '<(PRODUCT_DIR)/content_shell_test/ContentShellTest-debug.apk', |
| 827 ], | 826 ], |
| 828 'action': [ | 827 'action': [ |
| 829 'ant', | 828 'ant', |
| 830 '-DPRODUCT_DIR=<(ant_build_out)', | 829 '-DPRODUCT_DIR=<(ant_build_out)', |
| 831 '-DAPP_ABI=<(android_app_abi)', | 830 '-DAPP_ABI=<(android_app_abi)', |
| 832 '-DANDROID_SDK=<(android_sdk)', | 831 '-DANDROID_SDK=<(android_sdk)', |
| 833 '-DANDROID_SDK_ROOT=<(android_sdk_root)', | 832 '-DANDROID_SDK_ROOT=<(android_sdk_root)', |
| 834 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', | 833 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', |
| 835 '-DANDROID_SDK_VERSION=<(android_sdk_version)', | 834 '-DANDROID_SDK_VERSION=<(android_sdk_version)', |
| 836 '-DANDROID_TOOLCHAIN=<(android_toolchain)', | 835 '-DANDROID_TOOLCHAIN=<(android_toolchain)', |
| 837 '-buildfile', | 836 '-buildfile', |
| 838 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', | 837 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', |
| 839 ] | 838 ] |
| 840 } | 839 } |
| 841 ], | 840 ], |
| 842 }, | 841 }, |
| 843 ], | 842 ], |
| 844 }], | 843 }], |
| 845 ], | 844 ], |
| 846 } | 845 } |
| OLD | NEW |