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

Side by Side Diff: android_webview/android_webview.gyp

Issue 11366035: Add a native test target and for android_webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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
« no previous file with comments | « no previous file | android_webview/android_webview_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 'includes': [
9 'android_webview_tests.gypi',
10 ],
8 'targets': [ 11 'targets': [
9 { 12 {
10 'target_name': 'libwebviewchromium', 13 'target_name': 'libwebviewchromium',
11 'type': 'shared_library', 14 'type': 'shared_library',
12 'android_unmangled_name': 1, 15 'android_unmangled_name': 1,
13 'dependencies': [ 16 'dependencies': [
17 'android_webview_common',
18 ],
19 'ldflags': [
20 # fix linking to hidden symbols and re-enable this (crbug.com/157326)
21 '-Wl,--no-fatal-warnings'
22 ],
23 'sources': [
24 'lib/main/webview_entry_point.cc',
25 ],
26 },
27 {
28 'target_name': 'android_webview_common',
29 'type': 'static_library',
30 'dependencies': [
14 '../content/content.gyp:content', 31 '../content/content.gyp:content',
15 '../android_webview/native/webview_native.gyp:webview_native', 32 '../android_webview/native/webview_native.gyp:webview_native',
16 '../chrome/browser/component/components.gyp:navigation_interception', 33 '../chrome/browser/component/components.gyp:navigation_interception',
17 '../chrome/browser/component/components.gyp:web_contents_delegate_androi d', 34 '../chrome/browser/component/components.gyp:web_contents_delegate_androi d',
18 '../chrome/browser/component/components.gyp:browser_component_jni_header s', 35 '../chrome/browser/component/components.gyp:browser_component_jni_header s',
19 '../ui/ui.gyp:ui_resources', 36 '../ui/ui.gyp:ui_resources',
20 ], 37 ],
21 'include_dirs': [ 38 'include_dirs': [
22 '..', 39 '..',
23 '../skia/config', 40 '../skia/config',
24 ], 41 ],
25 'ldflags': [
26 # fix linking to hidden symbols and re-enable this (crbug.com/157326)
27 '-Wl,--no-fatal-warnings'
28 ],
29 'sources': [ 42 'sources': [
30 'browser/aw_browser_context.cc', 43 'browser/aw_browser_context.cc',
31 'browser/aw_browser_context.h', 44 'browser/aw_browser_context.h',
32 'browser/aw_browser_main_parts.cc', 45 'browser/aw_browser_main_parts.cc',
33 'browser/aw_browser_main_parts.h', 46 'browser/aw_browser_main_parts.h',
34 'browser/aw_content_browser_client.cc', 47 'browser/aw_content_browser_client.cc',
35 'browser/aw_content_browser_client.h', 48 'browser/aw_content_browser_client.h',
36 'browser/aw_contents_io_thread_client.h', 49 'browser/aw_contents_io_thread_client.h',
37 'browser/aw_cookie_access_policy.cc', 50 'browser/aw_cookie_access_policy.cc',
38 'browser/aw_cookie_access_policy.h', 51 'browser/aw_cookie_access_policy.h',
(...skipping 30 matching lines...) Expand all
69 'common/aw_content_client.h', 82 'common/aw_content_client.h',
70 'common/aw_resource.h', 83 'common/aw_resource.h',
71 'common/render_view_messages.cc', 84 'common/render_view_messages.cc',
72 'common/render_view_messages.h', 85 'common/render_view_messages.h',
73 'common/url_constants.cc', 86 'common/url_constants.cc',
74 'common/url_constants.h', 87 'common/url_constants.h',
75 'lib/aw_browser_dependency_factory_impl.cc', 88 'lib/aw_browser_dependency_factory_impl.cc',
76 'lib/aw_browser_dependency_factory_impl.h', 89 'lib/aw_browser_dependency_factory_impl.h',
77 'lib/main/aw_main_delegate.cc', 90 'lib/main/aw_main_delegate.cc',
78 'lib/main/aw_main_delegate.h', 91 'lib/main/aw_main_delegate.h',
79 'lib/main/webview_entry_point.cc',
80 'public/browser/gl_draw.h', 92 'public/browser/gl_draw.h',
81 'renderer/aw_content_renderer_client.cc', 93 'renderer/aw_content_renderer_client.cc',
82 'renderer/aw_content_renderer_client.h', 94 'renderer/aw_content_renderer_client.h',
83 'renderer/aw_render_process_observer.cc', 95 'renderer/aw_render_process_observer.cc',
84 'renderer/aw_render_process_observer.h', 96 'renderer/aw_render_process_observer.h',
85 'renderer/aw_render_view_ext.cc', 97 'renderer/aw_render_view_ext.cc',
86 'renderer/aw_render_view_ext.h', 98 'renderer/aw_render_view_ext.h',
87 ], 99 ],
88 }, 100 },
89 { 101 {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 'additional_input_paths': [ '<@(copied_pak_files)' ], 147 'additional_input_paths': [ '<@(copied_pak_files)' ],
136 }, 148 },
137 'copies': [ 149 'copies': [
138 { 150 {
139 'destination': '<(PRODUCT_DIR)/android_webview/assets', 151 'destination': '<(PRODUCT_DIR)/android_webview/assets',
140 'files': [ '<@(input_pak_files)' ] 152 'files': [ '<@(input_pak_files)' ]
141 }, 153 },
142 ], 154 ],
143 'includes': [ '../build/java_apk.gypi' ], 155 'includes': [ '../build/java_apk.gypi' ],
144 }, 156 },
145 {
146 'target_name': 'android_webview_test_apk',
147 'type': 'none',
148 'dependencies': [
149 '../base/base.gyp:base_java',
150 '../base/base.gyp:base_java_test_support',
151 '../chrome/browser/component/components.gyp:navigation_interception_java ',
152 '../chrome/browser/component/components.gyp:web_contents_delegate_androi d_java',
153 '../chrome/chrome_resources.gyp:packed_extra_resources',
154 '../chrome/chrome_resources.gyp:packed_resources',
155 '../content/content.gyp:content_java',
156 '../content/content.gyp:content_java_test_support',
157 '../media/media.gyp:media_java',
158 '../net/net.gyp:net_java',
159 '../ui/ui.gyp:ui_java',
160 'android_webview_java',
161 'libwebviewchromium',
162 ],
163 'variables': {
164 'package_name': 'android_webview_test',
165 'apk_name': 'AndroidWebViewTest',
166 'java_in_dir': '../android_webview/javatests',
167 'resource_dir': 'res',
168 },
169 'copies': [
170 {
171 'destination': '<(PRODUCT_DIR)/android_webview_test/assets',
172 'files': [ '<!@(find <(java_in_dir)/assets -type f -name "*")' ]
173 },
174 ],
175 'includes': [ '../build/java_apk.gypi' ],
176 },
177 ], 157 ],
178 } 158 }
OLDNEW
« no previous file with comments | « no previous file | android_webview/android_webview_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698