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/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 import("//build/util/version.gni") | 7 import("//build/util/version.gni") |
8 import("//chrome/version.gni") | 8 import("//chrome/version.gni") |
9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 | 10 |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 | 445 |
446 # Maintain directory structure. Example entry: "test/sdch/index". | 446 # Maintain directory structure. Example entry: "test/sdch/index". |
447 renaming_destinations = rebase_path(renaming_sources, "test/assets") | 447 renaming_destinations = rebase_path(renaming_sources, "test/assets") |
448 } | 448 } |
449 | 449 |
450 android_apk("cronet_test_apk") { | 450 android_apk("cronet_test_apk") { |
451 testonly = true | 451 testonly = true |
452 apk_name = "CronetTest" | 452 apk_name = "CronetTest" |
453 android_manifest = "test/AndroidManifest.xml" | 453 android_manifest = "test/AndroidManifest.xml" |
454 native_libs = [ "libcronet_tests.so" ] | 454 native_libs = [ "libcronet_tests.so" ] |
| 455 loadable_modules = [ "$root_out_dir/libnetty-tcnative.so" ] |
455 | 456 |
456 deps = [ | 457 deps = [ |
457 ":cronet_test_apk_assets", | 458 ":cronet_test_apk_assets", |
458 ":cronet_test_apk_java", | 459 ":cronet_test_apk_java", |
459 ":cronet_test_apk_resources", | 460 ":cronet_test_apk_resources", |
460 ":cronet_tests", | 461 ":cronet_tests", |
461 "//base:base_java", | 462 "//base:base_java", |
| 463 "//third_party/netty-tcnative:netty-tcnative_all", |
| 464 "//third_party/netty4:netty_all", |
462 ] | 465 ] |
463 | 466 |
464 run_findbugs = true | 467 run_findbugs = true |
465 } | 468 } |
466 | 469 |
467 instrumentation_test_apk("cronet_test_instrumentation_apk") { | 470 instrumentation_test_apk("cronet_test_instrumentation_apk") { |
468 apk_name = "CronetTestInstrumentation" | 471 apk_name = "CronetTestInstrumentation" |
469 apk_under_test = ":cronet_test_apk" | 472 apk_under_test = ":cronet_test_apk" |
470 android_manifest = "test/javatests/AndroidManifest.xml" | 473 android_manifest = "test/javatests/AndroidManifest.xml" |
471 DEPRECATED_java_in_dir = "test/javatests/src" | 474 DEPRECATED_java_in_dir = "test/javatests/src" |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
676 ":cronet_package_copy_native_lib", | 679 ":cronet_package_copy_native_lib", |
677 ":cronet_package_copy_native_lib_unstripped", | 680 ":cronet_package_copy_native_lib_unstripped", |
678 ":generate_javadoc", | 681 ":generate_javadoc", |
679 ":generate_licenses", | 682 ":generate_licenses", |
680 ":jar_cronet_api_source", | 683 ":jar_cronet_api_source", |
681 ":jar_cronet_other_source", | 684 ":jar_cronet_other_source", |
682 ":jar_cronet_sample_source", | 685 ":jar_cronet_sample_source", |
683 ":repackage_extracted_jars", | 686 ":repackage_extracted_jars", |
684 ] | 687 ] |
685 } | 688 } |
OLD | NEW |