ExtensionInstallDialogView: fix scrolling behavior on Views (Win,Linux)
[chromium-blink-merge.git] / components / cronet / cronet_static.gypi
blob9ce059effcd6a4a8f227cf324020f47f14a54142
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.
6   # This target is included into both 'cronet_static' and 'cronet_static_small'.
7   'type': 'static_library',
8   'dependencies': [
9     '../base/base.gyp:base',
10     '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
11     'cronet_jni_headers',
12     'cronet_url_request_context_config_list',
13     'cronet_url_request_java',
14     'cronet_version',
15     'cronet_version_header',
16     'metrics',
17   ],
18   'sources': [
19     'android/chromium_url_request.cc',
20     'android/chromium_url_request.h',
21     'android/chromium_url_request_context.cc',
22     'android/chromium_url_request_context.h',
23     'android/chromium_url_request_error_list.h',
24     'android/chromium_url_request_priority_list.h',
25     'android/cronet_histogram_manager.cc',
26     'android/cronet_histogram_manager.h',
27     'android/cronet_in_memory_pref_store.cc',
28     'android/cronet_in_memory_pref_store.h',
29     'android/cronet_library_loader.cc',
30     'android/cronet_library_loader.h',
31     'android/cronet_upload_data_stream.cc',
32     'android/cronet_upload_data_stream.h',
33     'android/cronet_upload_data_stream_adapter.cc',
34     'android/cronet_upload_data_stream_adapter.h',
35     'android/cronet_url_request_adapter.cc',
36     'android/cronet_url_request_adapter.h',
37     'android/cronet_url_request_context_adapter.cc',
38     'android/cronet_url_request_context_adapter.h',
39     'android/url_request_adapter.cc',
40     'android/url_request_adapter.h',
41     'android/url_request_context_adapter.cc',
42     'android/url_request_context_adapter.h',
43     'android/wrapped_channel_upload_element_reader.cc',
44     'android/wrapped_channel_upload_element_reader.h',
45     'histogram_manager.cc',
46     'histogram_manager.h',
47     'url_request_context_config.cc',
48     'url_request_context_config.h',
49     'url_request_context_config_list.h',
50   ],
51   'cflags': [
52     '-DLOGGING=1',
53     '-fdata-sections',
54     '-ffunction-sections',
55     '-fno-rtti',
56     '-fvisibility=hidden',
57     '-fvisibility-inlines-hidden',
58     '-Wno-sign-promo',
59     '-Wno-missing-field-initializers',
60   ],
61   'ldflags': [
62     '-llog',
63     '-landroid',
64     '-Wl,--gc-sections',
65     '-Wl,--exclude-libs,ALL'
66   ],
67   'conditions': [
68     # If Data Reduction Proxy support is enabled, add the following
69     # defines and sources. Dependencies are target-specific and are
70     # not included here.
71     ['enable_data_reduction_proxy_support==1',
72       {
73         'defines' : [
74           'DATA_REDUCTION_PROXY_SUPPORT'
75         ],
76         'sources': [
77           'android/cronet_data_reduction_proxy.cc',
78           'android/cronet_data_reduction_proxy.h',
79         ],
80        }
81      ],
82   ],