OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//base/android/linker/config.gni") | 5 import("//base/android/linker/config.gni") |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 import("//build/config/android/internal_rules.gni") | 7 import("//build/config/android/internal_rules.gni") |
8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
9 import("//tools/relocation_packer/config.gni") | 9 import("//tools/relocation_packer/config.gni") |
10 | 10 |
(...skipping 1499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1510 create_apk("${_template_name}__create") { | 1510 create_apk("${_template_name}__create") { |
1511 apk_path = _final_apk_path | 1511 apk_path = _final_apk_path |
1512 android_manifest = _android_manifest | 1512 android_manifest = _android_manifest |
1513 resources_zip = _all_resources_zip_path | 1513 resources_zip = _all_resources_zip_path |
1514 dex_path = final_dex_path | 1514 dex_path = final_dex_path |
1515 load_library_from_apk = _load_library_from_apk | 1515 load_library_from_apk = _load_library_from_apk |
1516 create_density_splits = _create_density_splits | 1516 create_density_splits = _create_density_splits |
1517 if (defined(invoker.extensions_to_not_compress)) { | 1517 if (defined(invoker.extensions_to_not_compress)) { |
1518 extensions_to_not_compress = invoker.extensions_to_not_compress | 1518 extensions_to_not_compress = invoker.extensions_to_not_compress |
1519 } else { | 1519 } else { |
1520 # Allow v8 snapshots to be loaded directly from the .apk. | 1520 # Allow v8 snapshots and icu data to be loaded directly from the .apk. |
1521 extensions_to_not_compress = "bin" | 1521 extensions_to_not_compress = "bin,dat" |
1522 } | 1522 } |
1523 | 1523 |
1524 version_code = _version_code | 1524 version_code = _version_code |
1525 version_name = _version_name | 1525 version_name = _version_name |
1526 | 1526 |
1527 keystore_name = _keystore_name | 1527 keystore_name = _keystore_name |
1528 keystore_path = _keystore_path | 1528 keystore_path = _keystore_path |
1529 keystore_password = _keystore_password | 1529 keystore_password = _keystore_password |
1530 | 1530 |
1531 # This target generates the input file _all_resources_zip_path. | 1531 # This target generates the input file _all_resources_zip_path. |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1896 template("uiautomator_test") { | 1896 template("uiautomator_test") { |
1897 set_sources_assignment_filter([]) | 1897 set_sources_assignment_filter([]) |
1898 if (defined(invoker.testonly)) { | 1898 if (defined(invoker.testonly)) { |
1899 testonly = invoker.testonly | 1899 testonly = invoker.testonly |
1900 } | 1900 } |
1901 assert(target_name != "") | 1901 assert(target_name != "") |
1902 assert(invoker.deps != [] || true) | 1902 assert(invoker.deps != [] || true) |
1903 group(target_name) { | 1903 group(target_name) { |
1904 } | 1904 } |
1905 } | 1905 } |
OLD | NEW |