OLD | NEW |
1 # Copyright 2009 The Chromium Authors. All rights reserved. | 1 # Copyright 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 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'libwebviewchromium', | |
11 'type': 'shared_library', | |
12 'android_unmangled_name': 1, | |
13 'dependencies': [ | |
14 'android_webview_common', | |
15 ], | |
16 'conditions': [ | |
17 # Avoid clashes between the versions of this library built with | |
18 # android_webview_build==1 by using a different name prefix. | |
19 [ 'android_webview_build==0', { | |
20 'product_prefix': 'libstandalone', | |
21 }], | |
22 [ 'android_webview_build==1', { | |
23 # When building inside the android tree we also need to depend on all | |
24 # the java sources generated from templates which will be needed by | |
25 # android_webview_java in android_webview/java_library_common.mk. | |
26 'dependencies': [ | |
27 '../base/base.gyp:base_java_application_state', | |
28 '../base/base.gyp:base_java_memory_pressure_level_list', | |
29 '../content/content.gyp:content_gamepad_mapping', | |
30 '../content/content.gyp:gesture_event_type_java', | |
31 '../content/content.gyp:page_transition_types_java', | |
32 '../content/content.gyp:popup_item_type_java', | |
33 '../content/content.gyp:result_codes_java', | |
34 '../content/content.gyp:screen_orientation_values_java', | |
35 '../content/content.gyp:selection_event_type_java', | |
36 '../content/content.gyp:speech_recognition_error_java', | |
37 '../media/media.gyp:media_android_imageformat_list', | |
38 '../net/net.gyp:cert_verify_status_android_java', | |
39 '../net/net.gyp:certificate_mime_types_java', | |
40 '../net/net.gyp:net_errors_java', | |
41 '../net/net.gyp:private_key_types_java', | |
42 '../ui/android/ui_android.gyp:bitmap_format_java', | |
43 '../ui/android/ui_android.gyp:window_open_disposition_java', | |
44 ], | |
45 }], | |
46 [ 'android_webview_build==1 and use_system_skia==0', { | |
47 # When not using the system skia there are linker warnings about | |
48 # overriden hidden symbols which there's no easy way to eliminate; | |
49 # disable them. http://crbug.com/157326 | |
50 'ldflags': [ | |
51 '-Wl,--no-fatal-warnings', | |
52 ], | |
53 'ldflags!': [ | |
54 '-Wl,--fatal-warnings', | |
55 ], | |
56 }], | |
57 ], | |
58 'sources': [ | |
59 'lib/main/webview_entry_point.cc', | |
60 ], | |
61 }, | |
62 { | |
63 'target_name': 'android_webview_pak', | 10 'target_name': 'android_webview_pak', |
64 'type': 'none', | 11 'type': 'none', |
65 'dependencies': [ | 12 'dependencies': [ |
66 '<(DEPTH)/content/app/resources/content_resources.gyp:content_resources'
, | 13 '<(DEPTH)/content/app/resources/content_resources.gyp:content_resources'
, |
67 '<(DEPTH)/net/net.gyp:net_resources', | 14 '<(DEPTH)/net/net.gyp:net_resources', |
68 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources'
, | 15 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources'
, |
69 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', | 16 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', |
70 ], | 17 ], |
71 'actions': [ | 18 'actions': [ |
72 { | 19 { |
73 'action_name': 'repack_android_webview_pack', | 20 'action_name': 'repack_android_webview_pack', |
74 'variables': { | 21 'variables': { |
75 'pak_inputs': [ | 22 'pak_inputs': [ |
76 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources
.pak', | 23 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources
.pak', |
77 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resource
s_100_percent.pak', | 24 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resource
s_100_percent.pak', |
78 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', | 25 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', |
79 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', | 26 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', |
80 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.
pak', | 27 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.
pak', |
81 ], | 28 ], |
82 'pak_output': '<(PRODUCT_DIR)/android_webview_apk/assets/webviewchro
mium.pak', | 29 'pak_output': '<(PRODUCT_DIR)/android_webview_assets/webviewchromium
.pak', |
83 }, | 30 }, |
84 'includes': [ '../build/repack_action.gypi' ], | 31 'includes': [ '../build/repack_action.gypi' ], |
85 }, | 32 }, |
86 { | 33 { |
87 'action_name': 'add_en_US_pak_locale', | 34 'action_name': 'add_en_US_pak_locale', |
88 'variables': { | 35 'variables': { |
89 'pak_inputs': ['<(SHARED_INTERMEDIATE_DIR)/content/app/strings/conte
nt_strings_en-US.pak'], | 36 'pak_inputs': ['<(SHARED_INTERMEDIATE_DIR)/content/app/strings/conte
nt_strings_en-US.pak'], |
90 'pak_output': '<(PRODUCT_DIR)/android_webview_apk/assets/en-US.pak', | 37 'pak_output': '<(PRODUCT_DIR)/android_webview_assets/en-US.pak', |
91 }, | 38 }, |
92 'includes': [ '../build/repack_action.gypi' ], | 39 'includes': [ '../build/repack_action.gypi' ], |
93 } | 40 } |
94 ], | 41 ], |
95 }, | 42 }, |
96 { | 43 { |
97 'target_name': 'android_webview_strings_grd', | 44 'target_name': 'android_webview_strings_grd', |
98 'android_unmangled_name': 1, | 45 'android_unmangled_name': 1, |
99 'type': 'none', | 46 'type': 'none', |
100 'variables': { | 47 'variables': { |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 'renderer/aw_render_view_ext.cc', | 210 'renderer/aw_render_view_ext.cc', |
264 'renderer/aw_render_view_ext.h', | 211 'renderer/aw_render_view_ext.h', |
265 'renderer/print_web_view_helper.cc', | 212 'renderer/print_web_view_helper.cc', |
266 'renderer/print_web_view_helper.h', | 213 'renderer/print_web_view_helper.h', |
267 'renderer/print_web_view_helper_android.cc', | 214 'renderer/print_web_view_helper_android.cc', |
268 'renderer/print_web_view_helper_linux.cc', | 215 'renderer/print_web_view_helper_linux.cc', |
269 'renderer/print_render_frame_observer.cc', | 216 'renderer/print_render_frame_observer.cc', |
270 'renderer/print_render_frame_observer.h', | 217 'renderer/print_render_frame_observer.h', |
271 ], | 218 ], |
272 }, | 219 }, |
| 220 { |
| 221 'target_name': 'libwebviewchromium', |
| 222 'includes': [ |
| 223 'libwebviewchromium.gypi', |
| 224 ], |
| 225 } |
273 ], | 226 ], |
274 'conditions': [ | 227 'conditions': [ |
275 ['android_webview_build==0', { | 228 ['android_webview_build==0', { |
276 'includes': [ | 229 'includes': [ |
277 'android_webview_tests.gypi', | 230 'android_webview_tests.gypi', |
| 231 '../third_party/android_webview_glue/android_webview_glue.gypi', |
278 ], | 232 ], |
279 'targets': [ | 233 'targets': [ |
280 { | 234 { |
281 'target_name': 'android_webview_java', | 235 'target_name': 'android_webview_java', |
282 'type': 'none', | 236 'type': 'none', |
283 'dependencies': [ | 237 'dependencies': [ |
284 '../components/components.gyp:navigation_interception_java', | 238 '../components/components.gyp:navigation_interception_java', |
285 '../components/components.gyp:web_contents_delegate_android_java', | 239 '../components/components.gyp:web_contents_delegate_android_java', |
286 '../content/content.gyp:content_java', | 240 '../content/content.gyp:content_java', |
287 '../ui/android/ui_android.gyp:ui_java', | 241 '../ui/android/ui_android.gyp:ui_java', |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 '../ui/android/ui_android.gyp:ui_strings_grd', | 278 '../ui/android/ui_android.gyp:ui_strings_grd', |
325 'android_webview_jarjar_content_resources', | 279 'android_webview_jarjar_content_resources', |
326 'android_webview_jarjar_ui_resources', | 280 'android_webview_jarjar_ui_resources', |
327 'android_webview_strings_grd', | 281 'android_webview_strings_grd', |
328 ], | 282 ], |
329 }, | 283 }, |
330 ], | 284 ], |
331 }], | 285 }], |
332 ], | 286 ], |
333 } | 287 } |
OLD | NEW |