Revert of Refactor the avatar button/icon class (patchset #14 id:320001 of https...
[chromium-blink-merge.git] / components / cronet / cronet_static.gypi
blob9edf9823e5cfdbe23243e58729e2e86acd5398dd
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     'metrics',
16   ],
17   'sources': [
18     'android/chromium_url_request.cc',
19     'android/chromium_url_request.h',
20     'android/chromium_url_request_context.cc',
21     'android/chromium_url_request_context.h',
22     'android/chromium_url_request_error_list.h',
23     'android/chromium_url_request_priority_list.h',
24     'android/cronet_histogram_manager.cc',
25     'android/cronet_histogram_manager.h',
26     'android/cronet_library_loader.cc',
27     'android/cronet_library_loader.h',
28     'android/cronet_upload_data_stream_adapter.cc',
29     'android/cronet_upload_data_stream_adapter.h',
30     'android/cronet_upload_data_stream_delegate.cc',
31     'android/cronet_upload_data_stream_delegate.h',
32     'android/cronet_url_request_adapter.cc',
33     'android/cronet_url_request_adapter.h',
34     'android/cronet_url_request_context_adapter.cc',
35     'android/cronet_url_request_context_adapter.h',
36     'android/url_request_adapter.cc',
37     'android/url_request_adapter.h',
38     'android/url_request_context_adapter.cc',
39     'android/url_request_context_adapter.h',
40     'android/wrapped_channel_upload_element_reader.cc',
41     'android/wrapped_channel_upload_element_reader.h',
42     'histogram_manager.cc',
43     'histogram_manager.h',
44     'url_request_context_config.cc',
45     'url_request_context_config.h',
46     'url_request_context_config_list.h',
47   ],
48   'cflags': [
49     '-DLOGGING=1',
50     '-fdata-sections',
51     '-ffunction-sections',
52     '-fno-rtti',
53     '-fvisibility=hidden',
54     '-fvisibility-inlines-hidden',
55     '-Wno-sign-promo',
56     '-Wno-missing-field-initializers',
57   ],
58   'ldflags': [
59     '-llog',
60     '-landroid',
61     '-Wl,--gc-sections',
62     '-Wl,--exclude-libs,ALL'
63   ],