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 'extensions_to_not_compress': 'pak',
20 'additional_input_paths': [
21 '<(PRODUCT_DIR)/android_webview_apk/assets/webviewchromium.pak',
22 '<(PRODUCT_DIR)/android_webview_apk/assets/en-US.pak',
23 '<(PRODUCT_DIR)/android_webview_apk/assets/asset_file.html',
24 '<(PRODUCT_DIR)/android_webview_apk/assets/cookie_test.html',
25 '<(PRODUCT_DIR)/android_webview_apk/assets/asset_icon.png',
26 '<(PRODUCT_DIR)/android_webview_apk/assets/full_screen_video_test.html',
29 ['icu_use_data_file_flag==1', {
30 'additional_input_paths': [
31 '<(PRODUCT_DIR)/icudtl.dat',
38 'destination': '<(PRODUCT_DIR)/android_webview_apk/assets',
40 '<(java_in_dir)/assets/asset_file.html',
41 '<(java_in_dir)/assets/asset_icon.png',
42 '<(java_in_dir)/assets/cookie_test.html',
43 '<(java_in_dir)/assets/full_screen_video_test.html',
46 ['icu_use_data_file_flag==1', {
48 '<(PRODUCT_DIR)/icudtl.dat',
54 'includes': [ '../build/java_apk.gypi' ],
57 # android_webview_apk creates a .jar as a side effect. Any java
58 # targets that need that .jar in their classpath should depend on this
59 # target. For more details see the chrome_shell_apk_java target.
60 'target_name': 'android_webview_apk_java',
63 'android_webview_apk',
65 'includes': [ '../build/apk_fake_jar.gypi' ],
68 'target_name': 'android_webview_test_apk',
71 '../base/base.gyp:base_java_test_support',
72 '../content/content_shell_and_tests.gyp:content_java_test_support',
73 '../net/net.gyp:net_java_test_support',
74 'android_webview_apk_java',
77 'apk_name': 'AndroidWebViewTest',
78 'java_in_dir': '../android_webview/javatests',
81 'includes': [ '../build/java_apk.gypi' ],
84 'target_name': 'android_webview_unittests',
85 'type': '<(gtest_target_type)',
87 '../base/base.gyp:test_support_base',
88 '../content/content_shell_and_tests.gyp:test_support_content',
89 '../net/net.gyp:net_test_support',
90 '../testing/android/native_test.gyp:native_test_native_code',
91 '../testing/gmock.gyp:gmock',
92 '../testing/gtest.gyp:gtest',
93 '../ui/base/ui_base.gyp:ui_base_jni_headers',
94 'android_webview_common',
95 'android_webview_unittests_jni',
100 '<(SHARED_INTERMEDIATE_DIR)/android_webview_unittests',
103 'browser/aw_static_cookie_policy_unittest.cc',
104 'browser/aw_form_database_service_unittest.cc',
105 'browser/global_tile_manager_unittest.cc',
106 'browser/net/android_stream_reader_url_request_job_unittest.cc',
107 'browser/net/input_stream_reader_unittest.cc',
108 'lib/main/webview_tests.cc',
109 'native/aw_contents_client_bridge_unittest.cc',
110 'native/aw_media_url_interceptor_unittest.cc',
111 'native/input_stream_unittest.cc',
112 'native/permission/media_access_permission_request_unittest.cc',
113 'native/permission/permission_request_handler_unittest.cc',
114 'native/state_serializer_unittest.cc',
118 'target_name': 'android_webview_unittest_java',
121 '../base/base.gyp:base_java_test_support',
122 '../content/content_shell_and_tests.gyp:content_java_test_support',
123 'android_webview_java',
126 'java_in_dir': '../android_webview/unittestjava',
128 'includes': [ '../build/java.gypi' ],
131 'target_name': 'android_webview_unittests_jni',
134 '../android_webview/unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnittest.java',
135 '../android_webview/unittestjava/src/org/chromium/android_webview/unittest/MockAwContentsClientBridge.java',
138 'jni_gen_package': 'android_webview_unittests',
140 'includes': [ '../build/jni_generator.gypi' ],
143 'target_name': 'android_webview_unittests_apk',
146 'android_webview_unittest_java',
147 'android_webview_unittests',
150 'test_suite_name': 'android_webview_unittests',
151 'additional_input_paths': [
152 '<(PRODUCT_DIR)/android_webview_unittests_apk/assets/asset_file.ogg',
157 'destination': '<(PRODUCT_DIR)/android_webview_unittests_apk/assets',
159 'test/unittest/assets/asset_file.ogg',
163 'includes': [ '../build/apk_test.gypi' ],