Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: components/cronet/android/BUILD.gn

Issue 2029423004: QUIC/Cronet - Add Java glue layer to serialize and de-serialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cert_serialize_0526
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | components/cronet/android/api/src/org/chromium/net/CronetEngine.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 184
185 if (defined(invoker.deps)) { 185 if (defined(invoker.deps)) {
186 deps += invoker.deps 186 deps += invoker.deps
187 } 187 }
188 } 188 }
189 } 189 }
190 190
191 cronet_static_tmpl("cronet_static") { 191 cronet_static_tmpl("cronet_static") {
192 deps = [ 192 deps = [
193 "//net", 193 "//net",
194 "//net:extras",
194 "//url", 195 "//url",
195 ] 196 ]
196 197
197 if (cronet_enable_data_reduction_proxy_support) { 198 if (cronet_enable_data_reduction_proxy_support) {
198 deps += [ 199 deps += [
199 "//components/data_reduction_proxy/core/browser:browser_small", 200 "//components/data_reduction_proxy/core/browser:browser_small",
200 "//components/data_reduction_proxy/core/common", 201 "//components/data_reduction_proxy/core/common",
201 ] 202 ]
202 } 203 }
203 204
204 if (!use_platform_icu_alternatives) { 205 if (!use_platform_icu_alternatives) {
205 deps += [ "//base:i18n" ] 206 deps += [ "//base:i18n" ]
206 } 207 }
207 } 208 }
208 209
209 shared_library("cronet") { 210 shared_library("cronet") {
210 sources = [ 211 sources = [
211 "cronet_jni.cc", 212 "cronet_jni.cc",
212 ] 213 ]
213 deps = [ 214 deps = [
214 ":cronet_static", 215 ":cronet_static",
215 "//base", 216 "//base",
217 "//net:extras",
216 "//net:net", 218 "//net:net",
217 ] 219 ]
218 ldflags = [ "-Wl,--version-script=" + 220 ldflags = [ "-Wl,--version-script=" +
219 rebase_path("//components/cronet/android/only_jni_exports.lst") ] 221 rebase_path("//components/cronet/android/only_jni_exports.lst") ]
220 222
221 # Avoid hide_native_jni_exports as it adds another version script, and the 223 # Avoid hide_native_jni_exports as it adds another version script, and the
222 # ARM64 linker throws an error for multiple version scripts with anonymous 224 # ARM64 linker throws an error for multiple version scripts with anonymous
223 # version tags. 225 # version tags.
224 configs -= [ "//build/config/android:hide_native_jni_exports" ] 226 configs -= [ "//build/config/android:hide_native_jni_exports" ]
225 } 227 }
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 ] 427 ]
426 428
427 deps = [ 429 deps = [
428 ":cronet_static", 430 ":cronet_static",
429 ":cronet_tests_jni_headers", 431 ":cronet_tests_jni_headers",
430 ":cronet_version_header", 432 ":cronet_version_header",
431 "//base", 433 "//base",
432 "//base:i18n", 434 "//base:i18n",
433 "//base/test:test_support", 435 "//base/test:test_support",
434 "//net", 436 "//net",
437 "//net:extras",
435 "//net:simple_quic_tools", 438 "//net:simple_quic_tools",
436 "//net:test_support", 439 "//net:test_support",
437 "//third_party/icu", 440 "//third_party/icu",
438 ] 441 ]
439 442
440 include_dirs = [ _cronet_version_header_include_dir ] 443 include_dirs = [ _cronet_version_header_include_dir ]
441 444
442 ldflags = [ "-Wl,--version-script=" + 445 ldflags = [ "-Wl,--version-script=" +
443 rebase_path("//components/cronet/android/only_jni_exports.lst") ] 446 rebase_path("//components/cronet/android/only_jni_exports.lst") ]
444 447
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 "//components/cronet/run_all_unittests.cc", 678 "//components/cronet/run_all_unittests.cc",
676 "//components/cronet/url_request_context_config_unittest.cc", 679 "//components/cronet/url_request_context_config_unittest.cc",
677 ] 680 ]
678 681
679 deps = [ 682 deps = [
680 ":cronet_static", 683 ":cronet_static",
681 "//base", 684 "//base",
682 "//base/test:test_support", 685 "//base/test:test_support",
683 "//components/metrics", 686 "//components/metrics",
684 "//net", 687 "//net",
688 "//net:extras",
685 "//testing/gtest", 689 "//testing/gtest",
686 ] 690 ]
687 691
688 if (is_android) { 692 if (is_android) {
689 shard_timeout = 180 693 shard_timeout = 180
690 } 694 }
691 } 695 }
692 696
693 _package_dir = "$root_out_dir/cronet" 697 _package_dir = "$root_out_dir/cronet"
694 _extract_cronet_jars_dir = "$target_gen_dir/cronet_jar_extract" 698 _extract_cronet_jars_dir = "$target_gen_dir/cronet_jar_extract"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 ":cronet_package_copy_native_lib", 875 ":cronet_package_copy_native_lib",
872 ":cronet_package_copy_native_lib_unstripped", 876 ":cronet_package_copy_native_lib_unstripped",
873 ":generate_javadoc", 877 ":generate_javadoc",
874 ":generate_licenses", 878 ":generate_licenses",
875 ":jar_cronet_api_source", 879 ":jar_cronet_api_source",
876 ":jar_cronet_other_source", 880 ":jar_cronet_other_source",
877 ":jar_cronet_sample_source", 881 ":jar_cronet_sample_source",
878 ":repackage_extracted_jars", 882 ":repackage_extracted_jars",
879 ] 883 ]
880 } 884 }
OLDNEW
« no previous file with comments | « no previous file | components/cronet/android/api/src/org/chromium/net/CronetEngine.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698