OLD | NEW |
| (Empty) |
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. | |
4 | |
5 { | |
6 # Included in 'cronet_static'. | |
7 'dependencies': [ | |
8 '../base/base.gyp:base', | |
9 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann
otations', | |
10 '../url/url.gyp:url_url_features', | |
11 'chromium_url_request_java', | |
12 'cronet_android_cert_proto', | |
13 'cronet_jni_headers', | |
14 'cronet_api_version', | |
15 'cronet_impl_version', | |
16 'cronet_version_header', | |
17 'metrics', | |
18 'url_request_error_java', | |
19 ], | |
20 'sources': [ | |
21 'android/cert/cert_verifier_cache_serializer.cc', | |
22 'android/cert/cert_verifier_cache_serializer.h', | |
23 'android/chromium_url_request.cc', | |
24 'android/chromium_url_request.h', | |
25 'android/chromium_url_request_context.cc', | |
26 'android/chromium_url_request_context.h', | |
27 'android/cronet_bidirectional_stream_adapter.cc', | |
28 'android/cronet_bidirectional_stream_adapter.h', | |
29 'android/cronet_in_memory_pref_store.cc', | |
30 'android/cronet_in_memory_pref_store.h', | |
31 'android/cronet_library_loader.cc', | |
32 'android/cronet_library_loader.h', | |
33 'android/cronet_upload_data_stream.cc', | |
34 'android/cronet_upload_data_stream.h', | |
35 'android/cronet_upload_data_stream_adapter.cc', | |
36 'android/cronet_upload_data_stream_adapter.h', | |
37 'android/cronet_url_request_adapter.cc', | |
38 'android/cronet_url_request_adapter.h', | |
39 'android/cronet_url_request_context_adapter.cc', | |
40 'android/cronet_url_request_context_adapter.h', | |
41 'android/io_buffer_with_byte_buffer.cc', | |
42 'android/io_buffer_with_byte_buffer.h', | |
43 'android/url_request_adapter.cc', | |
44 'android/url_request_adapter.h', | |
45 'android/url_request_context_adapter.cc', | |
46 'android/url_request_context_adapter.h', | |
47 'android/url_request_error.cc', | |
48 'android/url_request_error.h', | |
49 'android/wrapped_channel_upload_element_reader.cc', | |
50 'android/wrapped_channel_upload_element_reader.h', | |
51 'histogram_manager.cc', | |
52 'histogram_manager.h', | |
53 'stale_host_resolver.cc', | |
54 'stale_host_resolver.h', | |
55 'url_request_context_config.cc', | |
56 'url_request_context_config.h', | |
57 ], | |
58 'cflags': [ | |
59 '-DLOGGING=1', | |
60 '-fdata-sections', | |
61 '-ffunction-sections', | |
62 '-fno-rtti', | |
63 '-fvisibility=hidden', | |
64 '-fvisibility-inlines-hidden', | |
65 '-Wno-sign-promo', | |
66 '-Wno-missing-field-initializers', | |
67 ], | |
68 'ldflags': [ | |
69 '-llog', | |
70 '-landroid', | |
71 '-Wl,--gc-sections', | |
72 '-Wl,--exclude-libs,ALL' | |
73 ], | |
74 'conditions': [ | |
75 # If Data Reduction Proxy support is enabled, add the following | |
76 # defines and sources. Dependencies are target-specific and are | |
77 # not included here. | |
78 ['enable_data_reduction_proxy_support==1', | |
79 { | |
80 'defines' : [ | |
81 'DATA_REDUCTION_PROXY_SUPPORT' | |
82 ], | |
83 'sources': [ | |
84 'android/cronet_data_reduction_proxy.cc', | |
85 'android/cronet_data_reduction_proxy.h', | |
86 ], | |
87 } | |
88 ], | |
89 ], | |
90 } | |
OLD | NEW |