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',
9 '../base/base.gyp:base',
10 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
12 'cronet_url_request_context_config_list',
13 'cronet_url_request_java',
15 'cronet_version_header',
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',
54 '-ffunction-sections',
56 '-fvisibility=hidden',
57 '-fvisibility-inlines-hidden',
59 '-Wno-missing-field-initializers',
65 '-Wl,--exclude-libs,ALL'
68 # If Data Reduction Proxy support is enabled, add the following
69 # defines and sources. Dependencies are target-specific and are
71 ['enable_data_reduction_proxy_support==1',
74 'DATA_REDUCTION_PROXY_SUPPORT'
77 'android/cronet_data_reduction_proxy.cc',
78 'android/cronet_data_reduction_proxy.h',