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 '**/NetworkQualityRTTObserver.java', |
| 232 '**/NetworkQualityThroughputObserver.java', |
222 '**/RequestStatus.java', | 233 '**/RequestStatus.java', |
223 '**/ResponseInfo.java', | 234 '**/ResponseInfo.java', |
224 '**/ResponseTooLargeException.java', | 235 '**/ResponseTooLargeException.java', |
225 '**/StatusListener.java', | 236 '**/StatusListener.java', |
226 '**/UploadDataProvider.java', | 237 '**/UploadDataProvider.java', |
227 '**/UploadDataSink.java', | 238 '**/UploadDataSink.java', |
228 '**/UrlRequest.java', | 239 '**/UrlRequest.java', |
229 '**/UrlRequestContext.java', | 240 '**/UrlRequestContext.java', |
230 '**/UrlRequestContextConfig.java', | 241 '**/UrlRequestContextConfig.java', |
231 '**/UrlRequestContextConfigList.java', | 242 '**/UrlRequestContextConfigList.java', |
232 '**/UrlRequestException.java', | 243 '**/UrlRequestException.java', |
233 '**/UrlRequestListener.java', | 244 '**/UrlRequestListener.java', |
234 '**/UserAgent.java', | 245 '**/UserAgent.java', |
235 '**/Version.java', | 246 '**/Version.java', |
236 ], | 247 ], |
237 }, | 248 }, |
238 'includes': [ '../build/java.gypi' ], | 249 'includes': [ '../build/java.gypi' ], |
239 }, | 250 }, |
240 { # cronet.jar implements HttpUrlRequest interface using Chromium stack | 251 { # cronet.jar implements HttpUrlRequest interface using Chromium stack |
241 # in native libcronet.so library. | 252 # in native libcronet.so library. |
242 'target_name': 'cronet_java', | 253 'target_name': 'cronet_java', |
243 'type': 'none', | 254 'type': 'none', |
244 'dependencies': [ | 255 'dependencies': [ |
245 '../base/base.gyp:base', | 256 '../base/base.gyp:base', |
246 'cronet_api', | 257 'cronet_api', |
247 'cronet_url_request_java', | 258 'cronet_url_request_java', |
248 'libcronet', | 259 'libcronet', |
249 'net_request_priority_java', | 260 'net_request_priority_java', |
| 261 'network_quality_observations_java', |
250 ], | 262 ], |
251 'variables': { | 263 'variables': { |
252 'java_in_dir': 'cronet/android/java', | 264 'java_in_dir': 'cronet/android/java', |
253 'javac_includes': [ | 265 'javac_includes': [ |
254 '**/ChromiumAsyncUrlRequest.java', | 266 '**/ChromiumAsyncUrlRequest.java', |
255 '**/ChromiumUrlRequest.java', | 267 '**/ChromiumUrlRequest.java', |
256 '**/ChromiumUrlRequestContext.java', | 268 '**/ChromiumUrlRequestContext.java', |
257 '**/ChromiumUrlRequestError.java', | 269 '**/ChromiumUrlRequestError.java', |
258 '**/ChromiumUrlRequestFactory.java', | 270 '**/ChromiumUrlRequestFactory.java', |
259 '**/ChromiumUrlRequestPriority.java', | 271 '**/ChromiumUrlRequestPriority.java', |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
589 }, | 601 }, |
590 ], | 602 ], |
591 }, | 603 }, |
592 ], | 604 ], |
593 'variables': { | 605 'variables': { |
594 'enable_data_reduction_proxy_support%': 0, | 606 'enable_data_reduction_proxy_support%': 0, |
595 }, | 607 }, |
596 }], # OS=="android" | 608 }], # OS=="android" |
597 ], | 609 ], |
598 } | 610 } |
OLD | NEW |