Change UMA proto product field to be an int32.
[chromium-blink-merge.git] / android_webview / libwebviewchromium.gypi
blobc6df5494358eef2a734d149a5d6175e47a872f33
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   'conditions': [
11     [ 'android_webview_build==1', {
12       # When building inside the android tree we also need to depend on all
13       # the java sources generated from templates which will be needed by
14       # android_webview_java in android_webview/java_library_common.mk.
15       'dependencies': [
16         '../base/base.gyp:base_java_application_state',
17         '../base/base.gyp:base_java_memory_pressure_level_list',
18         '../content/content.gyp:content_gamepad_mapping',
19         '../content/content.gyp:gesture_event_type_java',
20         '../content/content.gyp:popup_item_type_java',
21         '../content/content.gyp:result_codes_java',
22         '../content/content.gyp:screen_orientation_values_java',
23         '../content/content.gyp:selection_event_type_java',
24         '../content/content.gyp:speech_recognition_error_java',
25         '../media/media.gyp:media_android_imageformat_list',
26         '../net/net.gyp:cert_verify_status_android_java',
27         '../net/net.gyp:certificate_mime_types_java',
28         '../net/net.gyp:net_errors_java',
29         '../net/net.gyp:private_key_types_java',
30         '../ui/android/ui_android.gyp:bitmap_format_java',
31         '../ui/android/ui_android.gyp:page_transition_types_java',
32         '../ui/android/ui_android.gyp:window_open_disposition_java',
33       ],
34       # Enable feedback-directed optimisation for the library when building in
35       # android.
36       'aosp_build_settings': {
37         'LOCAL_FDO_SUPPORT': 'true',
38       },
39     }],
40     [ 'android_webview_build==1 and use_system_skia==0', {
41       # When not using the system skia there are linker warnings about
42       # overriden hidden symbols which there's no easy way to eliminate;
43       # disable them. http://crbug.com/157326
44       'ldflags': [
45         '-Wl,--no-fatal-warnings',
46       ],
47       'ldflags!': [
48         '-Wl,--fatal-warnings',
49       ],
50     }],
51     ['android_webview_build==1 and use_system_stlport==1 and use_system_icu==0', {
52       # ICU requires RTTI, which is not present in the system's stlport, so
53       # we have to include gabi++. We can't include it in icu.gyp because
54       # link_settings cannot be used inside target_conditions. This will be
55       # removed once we stop using the system stlport.
56       # http://crbug.com/409851
57       'libraries': [
58         '-lgabi++',
59       ],
60     }],
61   ],
62   'sources': [
63     'lib/main/webview_entry_point.cc',
64   ],