OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 import("//build/config/android/rules.gni") | 7 import("//build/config/android/rules.gni") |
8 import("//build/util/version.gni") | 8 import("//build/util/version.gni") |
9 import("//chrome/version.gni") | 9 import("//chrome/version.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 "//components/cronet/android/url_request_adapter.cc", | 198 "//components/cronet/android/url_request_adapter.cc", |
199 "//components/cronet/android/url_request_adapter.h", | 199 "//components/cronet/android/url_request_adapter.h", |
200 "//components/cronet/android/url_request_context_adapter.cc", | 200 "//components/cronet/android/url_request_context_adapter.cc", |
201 "//components/cronet/android/url_request_context_adapter.h", | 201 "//components/cronet/android/url_request_context_adapter.h", |
202 "//components/cronet/android/url_request_error.cc", | 202 "//components/cronet/android/url_request_error.cc", |
203 "//components/cronet/android/url_request_error.h", | 203 "//components/cronet/android/url_request_error.h", |
204 "//components/cronet/android/wrapped_channel_upload_element_reader.cc", | 204 "//components/cronet/android/wrapped_channel_upload_element_reader.cc", |
205 "//components/cronet/android/wrapped_channel_upload_element_reader.h", | 205 "//components/cronet/android/wrapped_channel_upload_element_reader.h", |
206 "//components/cronet/histogram_manager.cc", | 206 "//components/cronet/histogram_manager.cc", |
207 "//components/cronet/histogram_manager.h", | 207 "//components/cronet/histogram_manager.h", |
| 208 "//components/cronet/stale_host_resolver.cc", |
| 209 "//components/cronet/stale_host_resolver.h", |
208 "//components/cronet/url_request_context_config.cc", | 210 "//components/cronet/url_request_context_config.cc", |
209 "//components/cronet/url_request_context_config.h", | 211 "//components/cronet/url_request_context_config.h", |
210 ] | 212 ] |
211 | 213 |
212 include_dirs = [ _cronet_version_header_include_dir ] | 214 include_dirs = [ _cronet_version_header_include_dir ] |
213 | 215 |
214 cflags = [ | 216 cflags = [ |
215 "-DLOGGING=1", | 217 "-DLOGGING=1", |
216 "-Wno-sign-promo", | 218 "-Wno-sign-promo", |
217 ] | 219 ] |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 "proguard.cfg", | 719 "proguard.cfg", |
718 "test/javaperftests/proguard.cfg", | 720 "test/javaperftests/proguard.cfg", |
719 ] | 721 ] |
720 } | 722 } |
721 | 723 |
722 test("cronet_unittests") { | 724 test("cronet_unittests") { |
723 sources = [ | 725 sources = [ |
724 "//components/cronet/android/cert/cert_verifier_cache_serializer_unittest.cc
", | 726 "//components/cronet/android/cert/cert_verifier_cache_serializer_unittest.cc
", |
725 "//components/cronet/histogram_manager_unittest.cc", | 727 "//components/cronet/histogram_manager_unittest.cc", |
726 "//components/cronet/run_all_unittests.cc", | 728 "//components/cronet/run_all_unittests.cc", |
| 729 "//components/cronet/stale_host_resolver_unittest.cc", |
727 "//components/cronet/url_request_context_config_unittest.cc", | 730 "//components/cronet/url_request_context_config_unittest.cc", |
728 ] | 731 ] |
729 | 732 |
730 deps = [ | 733 deps = [ |
731 ":cronet_android_cert_proto", | 734 ":cronet_android_cert_proto", |
732 ":cronet_static", | 735 ":cronet_static", |
733 "//base", | 736 "//base", |
734 "//base/test:test_support", | 737 "//base/test:test_support", |
735 "//components/metrics", | 738 "//components/metrics", |
736 "//net", | 739 "//net", |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
969 ":jar_cronet_api_source", | 972 ":jar_cronet_api_source", |
970 ":jar_cronet_other_source", | 973 ":jar_cronet_other_source", |
971 ":jar_cronet_sample_source", | 974 ":jar_cronet_sample_source", |
972 ":repackage_extracted_jars", | 975 ":repackage_extracted_jars", |
973 ] | 976 ] |
974 if (current_cpu == "arm" && arm_version == 7) { | 977 if (current_cpu == "arm" && arm_version == 7) { |
975 deps += [ ":enforce_no_neon" ] | 978 deps += [ ":enforce_no_neon" ] |
976 } | 979 } |
977 } | 980 } |
978 } | 981 } |
OLD | NEW |