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
3 # found in the LICENSE file.
7 'target_name': 'android_webview_apk',
11 'android_webview_java',
12 'android_webview_pak',
15 'apk_name': 'AndroidWebView',
16 'java_in_dir': 'test/shell',
17 'native_lib_target': 'libstandalonelibwebviewchromium',
18 'resource_dir': 'test/shell/res',
19 'additional_input_paths': [
20 '<(PRODUCT_DIR)/android_webview_apk/assets/webviewchromium.pak',
21 '<(PRODUCT_DIR)/android_webview_apk/assets/asset_file.html',
22 '<(PRODUCT_DIR)/android_webview_apk/assets/cookie_test.html',
23 '<(PRODUCT_DIR)/android_webview_apk/assets/asset_icon.png',
24 '<(PRODUCT_DIR)/android_webview_apk/assets/full_screen_video_test.html',
27 ['icu_use_data_file_flag==1', {
28 'additional_input_paths': [
29 '<(PRODUCT_DIR)/icudtl.dat',
36 'destination': '<(PRODUCT_DIR)/android_webview_apk/assets',
38 '<(java_in_dir)/assets/asset_file.html',
39 '<(java_in_dir)/assets/asset_icon.png',
40 '<(java_in_dir)/assets/cookie_test.html',
41 '<(java_in_dir)/assets/full_screen_video_test.html',
44 ['icu_use_data_file_flag==1', {
46 '<(PRODUCT_DIR)/icudtl.dat',
52 'includes': [ '../build/java_apk.gypi' ],
55 # android_webview_apk creates a .jar as a side effect. Any java
56 # targets that need that .jar in their classpath should depend on this
57 # target. For more details see the chrome_shell_apk_java target.
58 'target_name': 'android_webview_apk_java',
61 'android_webview_apk',
63 'includes': [ '../build/apk_fake_jar.gypi' ],
66 'target_name': 'android_webview_test_apk',
69 '../base/base.gyp:base_java_test_support',
70 '../content/content_shell_and_tests.gyp:content_java_test_support',
71 '../net/net.gyp:net_java_test_support',
72 'android_webview_apk_java',
75 'apk_name': 'AndroidWebViewTest',
76 'java_in_dir': '../android_webview/javatests',
79 'includes': [ '../build/java_apk.gypi' ],
82 'target_name': 'android_webview_unittests',
83 'type': '<(gtest_target_type)',
85 '../base/base.gyp:test_support_base',
86 '../content/content_shell_and_tests.gyp:test_support_content',
87 '../net/net.gyp:net_test_support',
88 '../testing/android/native_test.gyp:native_test_native_code',
89 '../testing/gmock.gyp:gmock',
90 '../testing/gtest.gyp:gtest',
91 '../ui/base/ui_base.gyp:ui_base_jni_headers',
92 'android_webview_common',
93 'android_webview_unittests_jni',
98 '<(SHARED_INTERMEDIATE_DIR)/android_webview_unittests',
101 'browser/aw_static_cookie_policy_unittest.cc',
102 'browser/aw_form_database_service_unittest.cc',
103 'browser/global_tile_manager_unittest.cc',
104 'browser/net/android_stream_reader_url_request_job_unittest.cc',
105 'browser/net/input_stream_reader_unittest.cc',
106 'lib/main/webview_tests.cc',
107 'native/aw_contents_client_bridge_unittest.cc',
108 'native/input_stream_unittest.cc',
109 'native/permission/media_access_permission_request_unittest.cc',
110 'native/permission/permission_request_handler_unittest.cc',
111 'native/state_serializer_unittest.cc',
115 'target_name': 'android_webview_unittest_java',
118 '../base/base.gyp:base_java_test_support',
119 '../content/content_shell_and_tests.gyp:content_java_test_support',
120 'android_webview_java',
123 'java_in_dir': '../android_webview/unittestjava',
125 'includes': [ '../build/java.gypi' ],
128 'target_name': 'android_webview_unittests_jni',
131 '../android_webview/unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnittest.java',
132 '../android_webview/unittestjava/src/org/chromium/android_webview/unittest/MockAwContentsClientBridge.java',
135 'jni_gen_package': 'android_webview_unittests',
137 'includes': [ '../build/jni_generator.gypi' ],
140 'target_name': 'android_webview_unittests_apk',
143 'android_webview_unittest_java',
144 'android_webview_unittests',
147 'test_suite_name': 'android_webview_unittests',
149 'includes': [ '../build/apk_test.gypi' ],