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

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

Issue 2691493003: Add keep_cronet_api.xml to keep @string/CronetProviderClassName (Closed)
Patch Set: Created 3 years, 10 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/res/raw/keep_cronet_api.xml » ('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/process_version.gni") 8 import("//build/util/process_version.gni")
9 import("//build/util/version.gni") 9 import("//build/util/version.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 outputs = [ 1387 outputs = [
1388 "$_test_package_dir/assets/test_files/net/data/ssl/certificates/{{source_fil e_part}}", 1388 "$_test_package_dir/assets/test_files/net/data/ssl/certificates/{{source_fil e_part}}",
1389 ] 1389 ]
1390 deps = [ 1390 deps = [
1391 # Not really dependent, but builds can fail if these two targets attempt 1391 # Not really dependent, but builds can fail if these two targets attempt
1392 # to create the "assets" subdirectory simultaneously. 1392 # to create the "assets" subdirectory simultaneously.
1393 ":cronet_package_copy_test_assets", 1393 ":cronet_package_copy_test_assets",
1394 ] 1394 ]
1395 } 1395 }
1396 1396
1397 copy("cronet_package_copy_resources") {
1398 sources = [
1399 "api/res/raw/keep_cronet_api.xml",
1400 ]
1401 outputs = [
1402 "$_package_dir/res/raw/{{source_file_part}}",
1403 ]
1404 }
1405
1397 # Enforce that ARM Neon is not used when building for ARMv7 1406 # Enforce that ARM Neon is not used when building for ARMv7
1398 if (target_cpu == "arm" && arm_version == 7 && !arm_use_neon) { 1407 if (target_cpu == "arm" && arm_version == 7 && !arm_use_neon) {
1399 action("enforce_no_neon") { 1408 action("enforce_no_neon") {
1400 script = "//components/cronet/tools/check_no_neon.py" 1409 script = "//components/cronet/tools/check_no_neon.py"
1401 outputs = [ 1410 outputs = [
1402 "$target_gen_dir/$target_name.stamp", 1411 "$target_gen_dir/$target_name.stamp",
1403 ] 1412 ]
1404 args = [ 1413 args = [
1405 rebase_path("${android_tool_prefix}objdump", root_build_dir), 1414 rebase_path("${android_tool_prefix}objdump", root_build_dir),
1406 1415
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
1466 # Enforce building with ICU alternatives, crbug.com/611621. 1475 # Enforce building with ICU alternatives, crbug.com/611621.
1467 # Enforce that arm_use_neon==false when building for ARMv7 by 1476 # Enforce that arm_use_neon==false when building for ARMv7 by
1468 # not including any deps in cronet_package target otherwise. 1477 # not including any deps in cronet_package target otherwise.
1469 if (use_platform_icu_alternatives && 1478 if (use_platform_icu_alternatives &&
1470 (!(target_cpu == "arm" && arm_version == 7) || !arm_use_neon)) { 1479 (!(target_cpu == "arm" && arm_version == 7) || !arm_use_neon)) {
1471 deps = [ 1480 deps = [
1472 ":api_static_checks", 1481 ":api_static_checks",
1473 ":cronet_package_copy", 1482 ":cronet_package_copy",
1474 ":cronet_package_copy_native_lib", 1483 ":cronet_package_copy_native_lib",
1475 ":cronet_package_copy_native_lib_unstripped", 1484 ":cronet_package_copy_native_lib_unstripped",
1485 ":cronet_package_copy_resources",
1476 ":cronet_test_package", 1486 ":cronet_test_package",
1477 ":generate_javadoc", 1487 ":generate_javadoc",
1478 ":generate_licenses", 1488 ":generate_licenses",
1479 ":jar_cronet_api_source", 1489 ":jar_cronet_api_source",
1480 ":jar_cronet_impl_common_java_source", 1490 ":jar_cronet_impl_common_java_source",
1481 ":jar_cronet_impl_native_java_source", 1491 ":jar_cronet_impl_native_java_source",
1482 ":jar_cronet_impl_platform_java_source", 1492 ":jar_cronet_impl_platform_java_source",
1483 ":jar_cronet_sample_source", 1493 ":jar_cronet_sample_source",
1484 ":repackage_extracted_jars", 1494 ":repackage_extracted_jars",
1485 ] 1495 ]
(...skipping 11 matching lines...) Expand all
1497 deps = [ 1507 deps = [
1498 ":cronet_package_copy_native_test_lib", 1508 ":cronet_package_copy_native_test_lib",
1499 ":cronet_package_copy_native_test_lib_unstripped", 1509 ":cronet_package_copy_native_test_lib_unstripped",
1500 ":cronet_package_copy_test_assets", 1510 ":cronet_package_copy_test_assets",
1501 ":cronet_package_copy_test_files", 1511 ":cronet_package_copy_test_files",
1502 ":cronet_package_copy_test_support_apks", 1512 ":cronet_package_copy_test_support_apks",
1503 ":repackage_extracted_test_jars", 1513 ":repackage_extracted_test_jars",
1504 ] 1514 ]
1505 } 1515 }
1506 } 1516 }
OLDNEW
« no previous file with comments | « no previous file | components/cronet/android/api/res/raw/keep_cronet_api.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698