Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Side by Side Diff: android_webview/android_webview.gyp

Issue 10946008: Componentize IgnoreNavigationResourceThrottle and add chrome and webview specific implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moved jni to component, added Java test code Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 'variables': { 5 'variables': {
6 'chromium_code': 1, 6 'chromium_code': 1,
7 }, 7 },
8 'targets': [ 8 'targets': [
9 { 9 {
10 'target_name': 'libwebview', 10 'target_name': 'libwebview',
11 'type': 'shared_library', 11 'type': 'shared_library',
12 'dependencies': [ 12 'dependencies': [
13 '../chrome/chrome.gyp:browser', 13 '../chrome/chrome.gyp:browser',
14 '../chrome/chrome.gyp:renderer', 14 '../chrome/chrome.gyp:renderer',
15 '../content/content.gyp:content', 15 '../content/content.gyp:content',
16 '../android_webview/native/webview_native.gyp:webview_native', 16 '../android_webview/native/webview_native.gyp:webview_native',
17 '../chrome/browser/component/components.gyp:navigation_interception',
17 '../chrome/browser/component/components.gyp:web_contents_delegate_androi d', 18 '../chrome/browser/component/components.gyp:web_contents_delegate_androi d',
18 '../chrome/browser/component/components.gyp:browser_component_jni_header s', 19 '../chrome/browser/component/components.gyp:browser_component_jni_header s',
19 ], 20 ],
20 'include_dirs': [ 21 'include_dirs': [
21 '..', 22 '..',
22 '../skia/config', 23 '../skia/config',
23 ], 24 ],
24 'sources': [ 25 'sources': [
25 'common/android_webview_message_generator.cc', 26 'common/android_webview_message_generator.cc',
26 'common/android_webview_message_generator.h', 27 'common/android_webview_message_generator.h',
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 '<@(_outputs)', 87 '<@(_outputs)',
87 ], 88 ],
88 }, 89 },
89 ], 90 ],
90 }, 91 },
91 { 92 {
92 'target_name': 'android_webview_java', 93 'target_name': 'android_webview_java',
93 'type': 'none', 94 'type': 'none',
94 'dependencies': [ 95 'dependencies': [
95 '../content/content.gyp:content_java', 96 '../content/content.gyp:content_java',
97 '../chrome/browser/component/components.gyp:navigation_interception_java ',
96 '../chrome/browser/component/components.gyp:web_contents_delegate_androi d_java', 98 '../chrome/browser/component/components.gyp:web_contents_delegate_androi d_java',
97 '../ui/ui.gyp:ui_java', 99 '../ui/ui.gyp:ui_java',
98 ], 100 ],
99 'variables': { 101 'variables': {
100 'package_name': 'android_webview_java', 102 'package_name': 'android_webview_java',
101 'java_in_dir': '../android_webview/java', 103 'java_in_dir': '../android_webview/java',
102 }, 104 },
103 'includes': [ '../build/java.gypi' ], 105 'includes': [ '../build/java.gypi' ],
104 }, 106 },
105 { 107 {
106 'target_name': 'android_webview_apk', 108 'target_name': 'android_webview_apk',
107 'type': 'none', 109 'type': 'none',
108 'dependencies': [ 110 'dependencies': [
109 '../base/base.gyp:base_java', 111 '../base/base.gyp:base_java',
112 '../chrome/browser/component/components.gyp:navigation_interception_java ',
110 '../chrome/browser/component/components.gyp:web_contents_delegate_androi d_java', 113 '../chrome/browser/component/components.gyp:web_contents_delegate_androi d_java',
111 '../chrome/chrome_resources.gyp:packed_extra_resources', 114 '../chrome/chrome_resources.gyp:packed_extra_resources',
112 '../chrome/chrome_resources.gyp:packed_resources', 115 '../chrome/chrome_resources.gyp:packed_resources',
113 '../content/content.gyp:content_java', 116 '../content/content.gyp:content_java',
114 '../media/media.gyp:media_java', 117 '../media/media.gyp:media_java',
115 '../net/net.gyp:net_java', 118 '../net/net.gyp:net_java',
116 '../ui/ui.gyp:ui_java', 119 '../ui/ui.gyp:ui_java',
117 'libwebview', 120 'libwebview',
118 ], 121 ],
119 'variables': { 122 'variables': {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 }, 160 },
158 ], 161 ],
159 'includes': [ '../build/java_apk.gypi' ], 162 'includes': [ '../build/java_apk.gypi' ],
160 }, 163 },
161 { 164 {
162 'target_name': 'android_webview_test_apk', 165 'target_name': 'android_webview_test_apk',
163 'type': 'none', 166 'type': 'none',
164 'dependencies': [ 167 'dependencies': [
165 '../base/base.gyp:base_java', 168 '../base/base.gyp:base_java',
166 '../base/base.gyp:base_java_test_support', 169 '../base/base.gyp:base_java_test_support',
170 '../chrome/browser/component/components.gyp:navigation_interception_java ',
167 '../chrome/browser/component/components.gyp:web_contents_delegate_androi d_java', 171 '../chrome/browser/component/components.gyp:web_contents_delegate_androi d_java',
168 '../chrome/chrome_resources.gyp:packed_extra_resources', 172 '../chrome/chrome_resources.gyp:packed_extra_resources',
169 '../chrome/chrome_resources.gyp:packed_resources', 173 '../chrome/chrome_resources.gyp:packed_resources',
170 '../content/content.gyp:content_java', 174 '../content/content.gyp:content_java',
171 '../content/content.gyp:content_java_test_support', 175 '../content/content.gyp:content_java_test_support',
172 '../media/media.gyp:media_java', 176 '../media/media.gyp:media_java',
173 '../net/net.gyp:net_java', 177 '../net/net.gyp:net_java',
174 '../ui/ui.gyp:ui_java', 178 '../ui/ui.gyp:ui_java',
175 'android_webview_java', 179 'android_webview_java',
176 'libwebview', 180 'libwebview',
177 ], 181 ],
178 'variables': { 182 'variables': {
179 'package_name': 'android_webview_test', 183 'package_name': 'android_webview_test',
180 'apk_name': 'AndroidWebViewTest', 184 'apk_name': 'AndroidWebViewTest',
181 'java_in_dir': '../android_webview/javatests', 185 'java_in_dir': '../android_webview/javatests',
182 'resource_dir': 'res', 186 'resource_dir': 'res',
183 }, 187 },
184 'copies': [ 188 'copies': [
185 { 189 {
186 'destination': '<(PRODUCT_DIR)/android_webview_test/assets', 190 'destination': '<(PRODUCT_DIR)/android_webview_test/assets',
187 'files': [ '<!@(find <(java_in_dir)/assets -type f -name "*")' ] 191 'files': [ '<!@(find <(java_in_dir)/assets -type f -name "*")' ]
188 }, 192 },
189 ], 193 ],
190 'includes': [ '../build/java_apk.gypi' ], 194 'includes': [ '../build/java_apk.gypi' ],
191 }, 195 },
192 ], 196 ],
193 } 197 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698