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