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,
8 'android_webview_common',
11 [ 'android_webview_build==1', {
13 # When building inside the android tree we also need to depend on all
14 # the java sources generated from templates which will be needed by
15 # android_webview_java in android_webview/java_library_common.mk.
16 '../base/base.gyp:base_java_application_state',
17 '../base/base.gyp:base_java_library_load_from_apk_status_codes',
18 '../base/base.gyp:base_java_library_process_type',
19 '../base/base.gyp:base_java_memory_pressure_level',
20 '../content/content.gyp:console_message_level_java',
21 '../content/content.gyp:content_gamepad_mapping',
22 '../content/content.gyp:gesture_event_type_java',
23 '../content/content.gyp:navigation_controller_java',
24 '../content/content.gyp:popup_item_type_java',
25 '../content/content.gyp:result_codes_java',
26 '../content/content.gyp:screen_orientation_values_java',
27 '../content/content.gyp:speech_recognition_error_java',
28 '../content/content.gyp:top_controls_state_java',
29 '../media/media.gyp:media_android_imageformat',
30 '../net/net.gyp:cert_verify_status_android_java',
31 '../net/net.gyp:certificate_mime_types_java',
32 '../net/net.gyp:network_change_notifier_types_java',
33 '../net/net.gyp:net_errors_java',
34 '../net/net.gyp:private_key_types_java',
35 '../third_party/WebKit/public/blink_headers.gyp:web_input_event_java',
36 '../third_party/WebKit/public/blink_headers.gyp:web_text_input_type',
37 '../ui/android/ui_android.gyp:android_resource_type_java',
38 '../ui/android/ui_android.gyp:bitmap_format_java',
39 '../ui/android/ui_android.gyp:page_transition_types_java',
40 '../ui/android/ui_android.gyp:system_ui_resource_type_java',
41 '../ui/android/ui_android.gyp:touch_device_types_java',
42 '../ui/android/ui_android.gyp:window_open_disposition_java',
43 '../ui/android/ui_android.gyp:text_input_type_java',
44 '../ui/touch_selection/ui_touch_selection.gyp:selection_event_type_java',
45 # We also need to depend on the Java bindings generated from the .mojom files.
46 '../device/battery/battery.gyp:device_battery_mojo_bindings_for_webview',
48 # Enable feedback-directed optimisation for the library when building in
50 'aosp_build_settings': {
51 'LOCAL_FDO_SUPPORT': 'true',
56 'lib/main/webview_entry_point.cc',