| 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 1494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1505 } | 1505 } |
| 1506 | 1506 |
| 1507 final_deps += [ ":${_template_name}__create" ] | 1507 final_deps += [ ":${_template_name}__create" ] |
| 1508 create_apk("${_template_name}__create") { | 1508 create_apk("${_template_name}__create") { |
| 1509 apk_path = _final_apk_path | 1509 apk_path = _final_apk_path |
| 1510 android_manifest = _android_manifest | 1510 android_manifest = _android_manifest |
| 1511 resources_zip = _all_resources_zip_path | 1511 resources_zip = _all_resources_zip_path |
| 1512 dex_path = final_dex_path | 1512 dex_path = final_dex_path |
| 1513 load_library_from_apk = _load_library_from_apk | 1513 load_library_from_apk = _load_library_from_apk |
| 1514 create_density_splits = _create_density_splits | 1514 create_density_splits = _create_density_splits |
| 1515 if (defined(invoker.extensions_to_not_compress)) { |
| 1516 extensions_to_not_compress = invoker.extensions_to_not_compress |
| 1517 } else { |
| 1518 # Allow icu data to be loaded directly from the .apk. |
| 1519 extensions_to_not_compress = "dat" |
| 1520 } |
| 1515 | 1521 |
| 1516 version_code = _version_code | 1522 version_code = _version_code |
| 1517 version_name = _version_name | 1523 version_name = _version_name |
| 1518 | 1524 |
| 1519 keystore_name = _keystore_name | 1525 keystore_name = _keystore_name |
| 1520 keystore_path = _keystore_path | 1526 keystore_path = _keystore_path |
| 1521 keystore_password = _keystore_password | 1527 keystore_password = _keystore_password |
| 1522 | 1528 |
| 1523 # This target generates the input file _all_resources_zip_path. | 1529 # This target generates the input file _all_resources_zip_path. |
| 1524 deps = [ | 1530 deps = [ |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1888 template("uiautomator_test") { | 1894 template("uiautomator_test") { |
| 1889 set_sources_assignment_filter([]) | 1895 set_sources_assignment_filter([]) |
| 1890 if (defined(invoker.testonly)) { | 1896 if (defined(invoker.testonly)) { |
| 1891 testonly = invoker.testonly | 1897 testonly = invoker.testonly |
| 1892 } | 1898 } |
| 1893 assert(target_name != "") | 1899 assert(target_name != "") |
| 1894 assert(invoker.deps != [] || true) | 1900 assert(invoker.deps != [] || true) |
| 1895 group(target_name) { | 1901 group(target_name) { |
| 1896 } | 1902 } |
| 1897 } | 1903 } |
| OLD | NEW |