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

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

Issue 2082453003: 🎅 Use GN's dependency info for native libraries in write_build_config.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix osmesa on non-android 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
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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 ":cronet_sample_apk_resources", 323 ":cronet_sample_apk_resources",
324 "//base:base_java", 324 "//base:base_java",
325 ] 325 ]
326 326
327 run_findbugs_override = true 327 run_findbugs_override = true
328 } 328 }
329 329
330 android_apk("cronet_sample_apk") { 330 android_apk("cronet_sample_apk") {
331 apk_name = "CronetSample" 331 apk_name = "CronetSample"
332 android_manifest = "sample/AndroidManifest.xml" 332 android_manifest = "sample/AndroidManifest.xml"
333 native_libs = [ "libcronet.so" ] 333 shared_libraries = [ ":cronet" ]
334 334
335 deps = [ 335 deps = [
336 ":cronet",
337 ":cronet_sample_apk_java", 336 ":cronet_sample_apk_java",
338 ":cronet_sample_apk_resources", 337 ":cronet_sample_apk_resources",
339 "//base:base_java", 338 "//base:base_java",
340 "//third_party/jsr-305:jsr_305_javalib", 339 "//third_party/jsr-305:jsr_305_javalib",
341 ] 340 ]
342 341
343 run_findbugs_override = true 342 run_findbugs_override = true
344 if (!is_java_debug) { 343 if (!is_java_debug) {
345 proguard_enabled = true 344 proguard_enabled = true
346 proguard_configs = [ 345 proguard_configs = [
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 ] 525 ]
527 526
528 # Maintain directory structure. Example entry: "test/sdch/index". 527 # Maintain directory structure. Example entry: "test/sdch/index".
529 renaming_destinations = rebase_path(renaming_sources, "test/assets") 528 renaming_destinations = rebase_path(renaming_sources, "test/assets")
530 } 529 }
531 530
532 android_apk("cronet_test_apk") { 531 android_apk("cronet_test_apk") {
533 testonly = true 532 testonly = true
534 apk_name = "CronetTest" 533 apk_name = "CronetTest"
535 android_manifest = "test/AndroidManifest.xml" 534 android_manifest = "test/AndroidManifest.xml"
536 native_libs = [ "libcronet_tests.so" ] 535 shared_libraries = [ ":cronet_tests" ]
537 loadable_modules = [ "$root_out_dir/libnetty-tcnative.so" ] 536 loadable_modules = [ "$root_out_dir/libnetty-tcnative.so" ]
538 537
539 deps = [ 538 deps = [
540 ":cronet_test_apk_assets", 539 ":cronet_test_apk_assets",
541 ":cronet_test_apk_java", 540 ":cronet_test_apk_java",
542 ":cronet_test_apk_resources", 541 ":cronet_test_apk_resources",
543 ":cronet_tests",
544 "//base:base_java", 542 "//base:base_java",
545 "//third_party/netty-tcnative:netty-tcnative_all", 543 "//third_party/netty-tcnative:netty-tcnative_all",
546 ] 544 ]
547 545
548 run_findbugs_override = true 546 run_findbugs_override = true
549 } 547 }
550 548
551 android_library("cronet_javatests") { 549 android_library("cronet_javatests") {
552 testonly = true 550 testonly = true
553 551
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 "//base:base_java", 643 "//base:base_java",
646 ] 644 ]
647 645
648 run_findbugs_override = true 646 run_findbugs_override = true
649 } 647 }
650 648
651 android_apk("cronet_perf_test_apk") { 649 android_apk("cronet_perf_test_apk") {
652 testonly = true 650 testonly = true
653 apk_name = "CronetPerfTest" 651 apk_name = "CronetPerfTest"
654 android_manifest = "test/javaperftests/AndroidManifest.xml" 652 android_manifest = "test/javaperftests/AndroidManifest.xml"
655 native_libs = [ "libcronet_tests.so" ] 653 shared_libraries = [ ":cronet_tests" ]
656 654
657 deps = [ 655 deps = [
658 ":cronet_perf_test_apk_java", 656 ":cronet_perf_test_apk_java",
659 ":cronet_test_apk_java", 657 ":cronet_test_apk_java",
660 ":cronet_tests",
661 "//base:base_java", 658 "//base:base_java",
662 ] 659 ]
663 660
664 run_findbugs_override = true 661 run_findbugs_override = true
665 proguard_enabled = true 662 proguard_enabled = true
666 proguard_configs = [ 663 proguard_configs = [
667 "proguard.cfg", 664 "proguard.cfg",
668 "test/javaperftests/proguard.cfg", 665 "test/javaperftests/proguard.cfg",
669 ] 666 ]
670 } 667 }
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 ":cronet_package_copy_native_lib", 868 ":cronet_package_copy_native_lib",
872 ":cronet_package_copy_native_lib_unstripped", 869 ":cronet_package_copy_native_lib_unstripped",
873 ":generate_javadoc", 870 ":generate_javadoc",
874 ":generate_licenses", 871 ":generate_licenses",
875 ":jar_cronet_api_source", 872 ":jar_cronet_api_source",
876 ":jar_cronet_other_source", 873 ":jar_cronet_other_source",
877 ":jar_cronet_sample_source", 874 ":jar_cronet_sample_source",
878 ":repackage_extracted_jars", 875 ":repackage_extracted_jars",
879 ] 876 ]
880 } 877 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698