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 'targets': [ | 5 'targets': [ |
6 { | 6 { |
7 'target_name': 'android_webview_test_apk', | 7 'target_name': 'android_webview_test_apk', |
8 'type': 'none', | 8 'type': 'none', |
9 'dependencies': [ | 9 'dependencies': [ |
10 '../base/base.gyp:base_java_test_support', | 10 '../base/base.gyp:base_java_test_support', |
11 '../content/content.gyp:content_java_test_support', | 11 '../content/content.gyp:content_java_test_support', |
12 '../net/net.gyp:net_java_test_support', | 12 '../net/net.gyp:net_java_test_support', |
13 'android_webview_java', | 13 'android_webview_java', |
14 'libwebviewchromium', | 14 'libwebviewchromium', |
15 ], | 15 ], |
16 'variables': { | 16 'variables': { |
17 'package_name': 'android_webview_test', | |
18 'apk_name': 'AndroidWebViewTest', | 17 'apk_name': 'AndroidWebViewTest', |
19 'java_in_dir': '../android_webview/javatests', | 18 'java_in_dir': '../android_webview/javatests', |
20 'resource_dir': 'res', | 19 'resource_dir': 'res', |
21 'is_test_apk': 1, | 20 'is_test_apk': 1, |
| 21 'additional_input_paths': [ |
| 22 '<(PRODUCT_DIR)/android_webview_test_apk/assets/asset_file.html', |
| 23 '<(PRODUCT_DIR)/android_webview_test_apk/assets/asset_icon.png', |
| 24 ], |
22 }, | 25 }, |
23 'copies': [ | 26 'copies': [ |
24 { | 27 { |
25 'destination': '<(PRODUCT_DIR)/android_webview_test/assets', | 28 'destination': '<(PRODUCT_DIR)/android_webview_test_apk/assets', |
26 'files': [ | 29 'files': [ |
27 '<(java_in_dir)/assets/asset_file.html', | 30 '<(java_in_dir)/assets/asset_file.html', |
28 '<(java_in_dir)/assets/asset_icon.png', | 31 '<(java_in_dir)/assets/asset_icon.png', |
29 ], | 32 ], |
30 }, | 33 }, |
31 ], | 34 ], |
32 'includes': [ '../build/java_apk.gypi' ], | 35 'includes': [ '../build/java_apk.gypi' ], |
33 }, | 36 }, |
34 { | 37 { |
35 'target_name': 'android_webview_unittests', | 38 'target_name': 'android_webview_unittests', |
(...skipping 21 matching lines...) Expand all Loading... |
57 }, | 60 }, |
58 { | 61 { |
59 'target_name': 'android_webview_unittest_java', | 62 'target_name': 'android_webview_unittest_java', |
60 'type': 'none', | 63 'type': 'none', |
61 'dependencies': [ | 64 'dependencies': [ |
62 '../base/base.gyp:base_java_test_support', | 65 '../base/base.gyp:base_java_test_support', |
63 '../content/content.gyp:content_java_test_support', | 66 '../content/content.gyp:content_java_test_support', |
64 'android_webview_java', | 67 'android_webview_java', |
65 ], | 68 ], |
66 'variables': { | 69 'variables': { |
67 'package_name': 'android_webview_unittest_java', | |
68 'java_in_dir': '../android_webview/unittestjava', | 70 'java_in_dir': '../android_webview/unittestjava', |
69 }, | 71 }, |
70 'includes': [ '../build/java.gypi' ], | 72 'includes': [ '../build/java.gypi' ], |
71 }, | 73 }, |
72 { | 74 { |
73 'target_name': 'android_webview_unittests_jni', | 75 'target_name': 'android_webview_unittests_jni', |
74 'type': 'none', | 76 'type': 'none', |
75 'sources': [ | 77 'sources': [ |
76 '../android_webview/unittestjava/src/org/chromium/android_webview/unit
test/InputStreamUnittest.java', | 78 '../android_webview/unittestjava/src/org/chromium/android_webview/unit
test/InputStreamUnittest.java', |
77 ], | 79 ], |
(...skipping 11 matching lines...) Expand all Loading... |
89 'android_webview_unittests_jni', | 91 'android_webview_unittests_jni', |
90 ], | 92 ], |
91 'variables': { | 93 'variables': { |
92 'test_suite_name': 'android_webview_unittests', | 94 'test_suite_name': 'android_webview_unittests', |
93 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)android_webvi
ew_unittests<(SHARED_LIB_SUFFIX)', | 95 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)android_webvi
ew_unittests<(SHARED_LIB_SUFFIX)', |
94 }, | 96 }, |
95 'includes': [ '../build/apk_test.gypi' ], | 97 'includes': [ '../build/apk_test.gypi' ], |
96 }, | 98 }, |
97 ], | 99 ], |
98 } | 100 } |
OLD | NEW |