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', | 10 'target_name': 'libwebviewchromium', |
11 'type': 'shared_library', | 11 'type': 'shared_library', |
12 'android_unmangled_name': 1, | 12 'android_unmangled_name': 1, |
13 'dependencies': [ | 13 'dependencies': [ |
14 'android_webview_common', | 14 'android_webview_common', |
15 ], | 15 ], |
16 'conditions': [ | 16 'conditions': [ |
17 # Avoid clashes between the versions of this library built with | 17 # Avoid clashes between the versions of this library built with |
18 # android_webview_build==1 by using a different name prefix. | 18 # android_webview_build==1 by using a different name prefix. |
19 [ 'android_webview_build==0', { | 19 [ 'android_webview_build==0', { |
20 'product_prefix': 'libstandalone', | 20 'product_prefix': 'libstandalone', |
21 }], | 21 }], |
22 [ 'android_webview_build==1', { | 22 [ 'android_webview_build==1', { |
23 # When building inside the android tree we also need to depend on all | 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 | 24 # the java sources generated from templates which will be needed by |
25 # android_webview_java in android_webview/Android.mk. | 25 # android_webview_java in android_webview/Android.mk. |
26 'dependencies': [ | 26 'dependencies': [ |
27 '../base/base.gyp:base_java_application_state', | 27 '../base/base.gyp:base_java_application_state', |
28 '../base/base.gyp:base_java_memory_pressure_level_list', | 28 '../base/base.gyp:base_java_memory_pressure_level_list', |
| 29 '../content/content.gyp:content_strings_grd', |
29 '../content/content.gyp:gesture_event_type_java', | 30 '../content/content.gyp:gesture_event_type_java', |
30 '../content/content.gyp:page_transition_types_java', | 31 '../content/content.gyp:page_transition_types_java', |
31 '../content/content.gyp:popup_item_type_java', | 32 '../content/content.gyp:popup_item_type_java', |
32 '../content/content.gyp:result_codes_java', | 33 '../content/content.gyp:result_codes_java', |
33 '../content/content.gyp:screen_orientation_values_java', | 34 '../content/content.gyp:screen_orientation_values_java', |
34 '../content/content.gyp:speech_recognition_error_java', | 35 '../content/content.gyp:speech_recognition_error_java', |
35 '../media/media.gyp:media_android_imageformat_list', | 36 '../media/media.gyp:media_android_imageformat_list', |
| 37 '../net/net.gyp:cert_verify_status_android_java', |
36 '../net/net.gyp:certificate_mime_types_java', | 38 '../net/net.gyp:certificate_mime_types_java', |
37 '../net/net.gyp:cert_verify_status_android_java', | |
38 '../net/net.gyp:net_errors_java', | 39 '../net/net.gyp:net_errors_java', |
39 '../net/net.gyp:private_key_types_java', | 40 '../net/net.gyp:private_key_types_java', |
| 41 '../ui/android/ui_android.gyp:bitmap_format_java', |
| 42 '../ui/android/ui_android.gyp:ui_strings_grd', |
40 '../ui/android/ui_android.gyp:window_open_disposition_java', | 43 '../ui/android/ui_android.gyp:window_open_disposition_java', |
41 '../ui/android/ui_android.gyp:bitmap_format_java', | |
42 ], | 44 ], |
43 }], | 45 }], |
44 [ 'android_webview_build==1 and use_system_skia==0', { | 46 [ 'android_webview_build==1 and use_system_skia==0', { |
45 # When not using the system skia there are linker warnings about | 47 # When not using the system skia there are linker warnings about |
46 # overriden hidden symbols which there's no easy way to eliminate; | 48 # overriden hidden symbols which there's no easy way to eliminate; |
47 # disable them. http://crbug.com/157326 | 49 # disable them. http://crbug.com/157326 |
48 'ldflags': [ | 50 'ldflags': [ |
49 '-Wl,--no-fatal-warnings', | 51 '-Wl,--no-fatal-warnings', |
50 ], | 52 ], |
51 'ldflags!': [ | 53 'ldflags!': [ |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 ], | 249 ], |
248 'variables': { | 250 'variables': { |
249 'java_in_dir': '../android_webview/java', | 251 'java_in_dir': '../android_webview/java', |
250 }, | 252 }, |
251 'includes': [ '../build/java.gypi' ], | 253 'includes': [ '../build/java.gypi' ], |
252 }, | 254 }, |
253 ], | 255 ], |
254 }], | 256 }], |
255 ], | 257 ], |
256 } | 258 } |
OLD | NEW |