OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'conditions': [ | 6 'conditions': [ |
7 ['OS=="android"', { | 7 ['OS=="android"', { |
8 # TODO(mef): Figure out what needs to be done for gn script. | 8 # TODO(mef): Figure out what needs to be done for gn script. |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 23 matching lines...) Expand all Loading... |
34 }, | 34 }, |
35 { | 35 { |
36 'target_name': 'net_request_priority_java', | 36 'target_name': 'net_request_priority_java', |
37 'type': 'none', | 37 'type': 'none', |
38 'variables': { | 38 'variables': { |
39 'source_file': '../net/base/request_priority.h', | 39 'source_file': '../net/base/request_priority.h', |
40 }, | 40 }, |
41 'includes': [ '../build/android/java_cpp_enum.gypi' ], | 41 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
42 }, | 42 }, |
43 { | 43 { |
| 44 'target_name': 'network_quality_observations_java', |
| 45 'type': 'none', |
| 46 'variables': { |
| 47 'source_file': '../net/base/network_quality_estimator.h', |
| 48 }, |
| 49 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
| 50 }, |
| 51 { |
44 'target_name': 'cronet_url_request_context_config_list', | 52 'target_name': 'cronet_url_request_context_config_list', |
45 'type': 'none', | 53 'type': 'none', |
46 'sources': [ | 54 'sources': [ |
47 'cronet/android/java/src/org/chromium/net/UrlRequestContextConfigLis
t.template', | 55 'cronet/android/java/src/org/chromium/net/UrlRequestContextConfigLis
t.template', |
48 ], | 56 ], |
49 'variables': { | 57 'variables': { |
50 'package_name': 'org/chromium/cronet', | 58 'package_name': 'org/chromium/cronet', |
51 'template_deps': ['cronet/url_request_context_config_list.h'], | 59 'template_deps': ['cronet/url_request_context_config_list.h'], |
52 }, | 60 }, |
53 'includes': [ '../build/android/java_cpp_template.gypi' ], | 61 'includes': [ '../build/android/java_cpp_template.gypi' ], |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 ], | 210 ], |
203 }, | 211 }, |
204 { # cronet_api.jar defines Cronet API and provides implementation of | 212 { # cronet_api.jar defines Cronet API and provides implementation of |
205 # legacy api using HttpUrlConnection (not the Chromium stack). | 213 # legacy api using HttpUrlConnection (not the Chromium stack). |
206 'target_name': 'cronet_api', | 214 'target_name': 'cronet_api', |
207 'type': 'none', | 215 'type': 'none', |
208 'dependencies': [ | 216 'dependencies': [ |
209 'cronet_url_request_context_config_list', | 217 'cronet_url_request_context_config_list', |
210 'cronet_version', | 218 'cronet_version', |
211 'load_states_list', | 219 'load_states_list', |
| 220 'network_quality_observations_java', |
212 ], | 221 ], |
213 'variables': { | 222 'variables': { |
214 'java_in_dir': 'cronet/android/java', | 223 'java_in_dir': 'cronet/android/java', |
215 'javac_includes': [ | 224 'javac_includes': [ |
216 '**/ChunkedWritableByteChannel.java', | 225 '**/ChunkedWritableByteChannel.java', |
217 '**/ExtendedResponseInfo.java', | 226 '**/ExtendedResponseInfo.java', |
218 '**/HistogramManager.java', | 227 '**/HistogramManager.java', |
219 '**/HttpUrlConnection*.java', | 228 '**/HttpUrlConnection*.java', |
220 '**/HttpUrlRequest*.java', | 229 '**/HttpUrlRequest*.java', |
221 '**/LoadState.java', | 230 '**/LoadState.java', |
| 231 '**/NetworkQualityRttListener.java', |
| 232 '**/NetworkQualityThroughputListener.java', |
222 '**/ResponseInfo.java', | 233 '**/ResponseInfo.java', |
223 '**/ResponseTooLargeException.java', | 234 '**/ResponseTooLargeException.java', |
224 '**/UploadDataProvider.java', | 235 '**/UploadDataProvider.java', |
225 '**/UploadDataSink.java', | 236 '**/UploadDataSink.java', |
226 '**/UrlRequest.java', | 237 '**/UrlRequest.java', |
227 '**/UrlRequestContext.java', | 238 '**/UrlRequestContext.java', |
228 '**/UrlRequestContextConfig.java', | 239 '**/UrlRequestContextConfig.java', |
229 '**/UrlRequestContextConfigList.java', | 240 '**/UrlRequestContextConfigList.java', |
230 '**/UrlRequestException.java', | 241 '**/UrlRequestException.java', |
231 '**/UrlRequestListener.java', | 242 '**/UrlRequestListener.java', |
232 '**/UserAgent.java', | 243 '**/UserAgent.java', |
233 '**/Version.java', | 244 '**/Version.java', |
234 ], | 245 ], |
235 }, | 246 }, |
236 'includes': [ '../build/java.gypi' ], | 247 'includes': [ '../build/java.gypi' ], |
237 }, | 248 }, |
238 { # cronet.jar implements HttpUrlRequest interface using Chromium stack | 249 { # cronet.jar implements HttpUrlRequest interface using Chromium stack |
239 # in native libcronet.so library. | 250 # in native libcronet.so library. |
240 'target_name': 'cronet_java', | 251 'target_name': 'cronet_java', |
241 'type': 'none', | 252 'type': 'none', |
242 'dependencies': [ | 253 'dependencies': [ |
243 '../base/base.gyp:base', | 254 '../base/base.gyp:base', |
244 'cronet_api', | 255 'cronet_api', |
245 'cronet_url_request_java', | 256 'cronet_url_request_java', |
246 'libcronet', | 257 'libcronet', |
247 'net_request_priority_java', | 258 'net_request_priority_java', |
| 259 'network_quality_observations_java', |
248 ], | 260 ], |
249 'variables': { | 261 'variables': { |
250 'java_in_dir': 'cronet/android/java', | 262 'java_in_dir': 'cronet/android/java', |
251 'javac_includes': [ | 263 'javac_includes': [ |
252 '**/ChromiumAsyncUrlRequest.java', | 264 '**/ChromiumAsyncUrlRequest.java', |
253 '**/ChromiumUrlRequest.java', | 265 '**/ChromiumUrlRequest.java', |
254 '**/ChromiumUrlRequestContext.java', | 266 '**/ChromiumUrlRequestContext.java', |
255 '**/ChromiumUrlRequestError.java', | 267 '**/ChromiumUrlRequestError.java', |
256 '**/ChromiumUrlRequestFactory.java', | 268 '**/ChromiumUrlRequestFactory.java', |
257 '**/ChromiumUrlRequestPriority.java', | 269 '**/ChromiumUrlRequestPriority.java', |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 }, | 602 }, |
591 ], | 603 ], |
592 }, | 604 }, |
593 ], | 605 ], |
594 'variables': { | 606 'variables': { |
595 'enable_data_reduction_proxy_support%': 0, | 607 'enable_data_reduction_proxy_support%': 0, |
596 }, | 608 }, |
597 }], # OS=="android" | 609 }], # OS=="android" |
598 ], | 610 ], |
599 } | 611 } |
OLD | NEW |