[Extensions] Fix crash in developerPrivate.inspect API
[chromium-blink-merge.git] / android_webview / libwebviewchromium.gypi
blob32b1c95516969df43cfd857d1902fcb0751e79e2
1 # Copyright 2014 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.
5   'type': 'shared_library',
6   'android_unmangled_name': 1,
7   'dependencies': [
8     'android_webview_common',
9   ],
10   'variables': {
11     'use_native_jni_exports': 1,
12   },
13   'conditions': [
14     [ 'android_webview_build==1', {
15       'dependencies': [
16         # When building inside the android tree we also need to depend on all
17         # the java sources generated from templates which will be needed by
18         # android_webview_java in android_webview/java_library_common.mk.
19         '../base/base.gyp:base_java_application_state',
20         '../base/base.gyp:base_java_library_load_from_apk_status_codes',
21         '../base/base.gyp:base_java_library_process_type',
22         '../base/base.gyp:base_java_memory_pressure_level',
23         '../content/content.gyp:console_message_level_java',
24         '../content/content.gyp:content_gamepad_mapping',
25         '../content/content.gyp:gesture_event_type_java',
26         '../content/content.gyp:invalidate_types_java',
27         '../content/content.gyp:navigation_controller_java',
28         '../content/content.gyp:popup_item_type_java',
29         '../content/content.gyp:result_codes_java',
30         '../content/content.gyp:screen_orientation_values_java',
31         '../content/content.gyp:speech_recognition_error_java',
32         '../content/content.gyp:top_controls_state_java',
33         '../media/media.gyp:media_android_imageformat',
34         '../net/net.gyp:cert_verify_status_android_java',
35         '../net/net.gyp:certificate_mime_types_java',
36         '../net/net.gyp:network_change_notifier_types_java',
37         '../net/net.gyp:net_errors_java',
38         '../net/net.gyp:private_key_types_java',
39         '../third_party/WebKit/public/blink_headers.gyp:web_input_event_java',
40         '../third_party/WebKit/public/blink_headers.gyp:web_text_input_type',
41         '../ui/android/ui_android.gyp:android_resource_type_java',
42         '../ui/android/ui_android.gyp:bitmap_format_java',
43         '../ui/android/ui_android.gyp:page_transition_types_java',
44         '../ui/android/ui_android.gyp:system_ui_resource_type_java',
45         '../ui/android/ui_android.gyp:touch_device_types_java',
46         '../ui/android/ui_android.gyp:window_open_disposition_java',
47         '../ui/android/ui_android.gyp:text_input_type_java',
48         '../ui/touch_selection/ui_touch_selection.gyp:selection_event_type_java',
49         '../ui/touch_selection/ui_touch_selection.gyp:touch_handle_orientation_java',
50         # We also need to depend on the Java bindings generated from the .mojom files.
51         '../device/battery/battery.gyp:device_battery_mojo_bindings_for_webview',
52       ],
53       # Enable feedback-directed optimisation for the library when building in
54       # android.
55       'aosp_build_settings': {
56         'LOCAL_FDO_SUPPORT': 'true',
57       },
58     }],
59   ],
60   'sources': [
61     'lib/main/webview_entry_point.cc',
62   ],