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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 ], | 208 ], |
201 }, | 209 }, |
202 { # cronet_api.jar defines Cronet API and provides implementation of | 210 { # cronet_api.jar defines Cronet API and provides implementation of |
203 # legacy api using HttpUrlConnection (not the Chromium stack). | 211 # legacy api using HttpUrlConnection (not the Chromium stack). |
204 'target_name': 'cronet_api', | 212 'target_name': 'cronet_api', |
205 'type': 'none', | 213 'type': 'none', |
206 'dependencies': [ | 214 'dependencies': [ |
207 'cronet_url_request_context_config_list', | 215 'cronet_url_request_context_config_list', |
208 'cronet_version', | 216 'cronet_version', |
209 'load_states_list', | 217 'load_states_list', |
| 218 'network_quality_observations_java', |
210 ], | 219 ], |
211 'variables': { | 220 'variables': { |
212 'java_in_dir': 'cronet/android/java', | 221 'java_in_dir': 'cronet/android/java', |
213 'javac_includes': [ | 222 'javac_includes': [ |
| 223 '**/BandwidthObserver.java', |
214 '**/ChunkedWritableByteChannel.java', | 224 '**/ChunkedWritableByteChannel.java', |
215 '**/ExtendedResponseInfo.java', | 225 '**/ExtendedResponseInfo.java', |
216 '**/HistogramManager.java', | 226 '**/HistogramManager.java', |
217 '**/HttpUrlConnection*.java', | 227 '**/HttpUrlConnection*.java', |
218 '**/HttpUrlRequest*.java', | 228 '**/HttpUrlRequest*.java', |
219 '**/LoadState.java', | 229 '**/LoadState.java', |
220 '**/RequestStatus.java', | 230 '**/RequestStatus.java', |
221 '**/ResponseInfo.java', | 231 '**/ResponseInfo.java', |
222 '**/ResponseTooLargeException.java', | 232 '**/ResponseTooLargeException.java', |
| 233 '**/RTTObserver.java', |
223 '**/StatusListener.java', | 234 '**/StatusListener.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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 }, | 595 }, |
584 ], | 596 ], |
585 }, | 597 }, |
586 ], | 598 ], |
587 'variables': { | 599 'variables': { |
588 'enable_data_reduction_proxy_support%': 0, | 600 'enable_data_reduction_proxy_support%': 0, |
589 }, | 601 }, |
590 }], # OS=="android" | 602 }], # OS=="android" |
591 ], | 603 ], |
592 } | 604 } |
OLD | NEW |