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', |
(...skipping 15 matching lines...) Expand all Loading... |
26 'files': [ '<!@(find <(java_in_dir)/assets -type f)' ] | 26 'files': [ '<!@(find <(java_in_dir)/assets -type f)' ] |
27 }, | 27 }, |
28 ], | 28 ], |
29 'includes': [ '../build/java_apk.gypi' ], | 29 'includes': [ '../build/java_apk.gypi' ], |
30 }, | 30 }, |
31 { | 31 { |
32 'target_name': 'android_webview_unittests', | 32 'target_name': 'android_webview_unittests', |
33 'type': '<(gtest_target_type)', | 33 'type': '<(gtest_target_type)', |
34 'dependencies': [ | 34 'dependencies': [ |
35 '../base/base.gyp:test_support_base', | 35 '../base/base.gyp:test_support_base', |
| 36 '../net/net.gyp:net_test_support', |
36 '../testing/android/native_test.gyp:native_test_native_code', | 37 '../testing/android/native_test.gyp:native_test_native_code', |
37 '../testing/gmock.gyp:gmock', | 38 '../testing/gmock.gyp:gmock', |
38 '../testing/gtest.gyp:gtest', | 39 '../testing/gtest.gyp:gtest', |
39 'android_webview_common', | 40 'android_webview_common', |
40 ], | 41 ], |
41 'include_dirs': [ | 42 'include_dirs': [ |
42 '..', | 43 '..', |
43 '../skia/config', | 44 '../skia/config', |
| 45 '<(SHARED_INTERMEDIATE_DIR)/android_webview_unittests', |
44 ], | 46 ], |
45 'sources': [ | 47 'sources': [ |
46 'lib/main/webview_tests.cc', | 48 'lib/main/webview_tests.cc', |
47 'native/android_stream_reader_url_request_job_unittests.cc', | 49 'browser/net/android_stream_reader_url_request_job_unittest.cc', |
| 50 'browser/net/input_stream_reader_unittest.cc', |
| 51 'native/input_stream_unittest.cc', |
48 ], | 52 ], |
49 }, | 53 }, |
50 { | 54 { |
| 55 'target_name': 'android_webview_unittest_java', |
| 56 'type': 'none', |
| 57 'dependencies': [ |
| 58 '../base/base.gyp:base_java_test_support', |
| 59 '../content/content.gyp:content_java_test_support', |
| 60 'android_webview_java', |
| 61 ], |
| 62 'variables': { |
| 63 'package_name': 'android_webview_unittest_java', |
| 64 'java_in_dir': '../android_webview/unittestjava', |
| 65 }, |
| 66 'includes': [ '../build/java.gypi' ], |
| 67 }, |
| 68 { |
| 69 'target_name': 'android_webview_unittests_jni', |
| 70 'type': 'none', |
| 71 'sources': [ |
| 72 '../android_webview/unittestjava/src/org/chromium/android_webview/unit
test/InputStreamUnittest.java', |
| 73 ], |
| 74 'variables': { |
| 75 'jni_gen_dir': 'android_webview_unittests', |
| 76 }, |
| 77 'includes': [ '../build/jni_generator.gypi' ], |
| 78 }, |
| 79 { |
51 'target_name': 'android_webview_unittests_apk', | 80 'target_name': 'android_webview_unittests_apk', |
52 'type': 'none', | 81 'type': 'none', |
53 'dependencies': [ | 82 'dependencies': [ |
| 83 'android_webview_unittest_java', |
54 'android_webview_unittests', | 84 'android_webview_unittests', |
| 85 'android_webview_unittests_jni', |
55 ], | 86 ], |
56 'variables': { | 87 'variables': { |
57 'test_suite_name': 'android_webview_unittests', | 88 'test_suite_name': 'android_webview_unittests', |
58 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)android_webvi
ew_unittests<(SHARED_LIB_SUFFIX)', | 89 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)android_webvi
ew_unittests<(SHARED_LIB_SUFFIX)', |
| 90 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_android_webview_u
nittest_java.jar'], |
59 }, | 91 }, |
60 'includes': [ '../build/apk_test.gypi' ], | 92 'includes': [ '../build/apk_test.gypi' ], |
61 }, | 93 }, |
62 ], | 94 ], |
63 } | 95 } |
OLD | NEW |