| 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 1597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1608 create_apk("${_template_name}__create") { | 1608 create_apk("${_template_name}__create") { |
| 1609 apk_path = _final_apk_path | 1609 apk_path = _final_apk_path |
| 1610 android_manifest = _android_manifest | 1610 android_manifest = _android_manifest |
| 1611 resources_zip = _all_resources_zip_path | 1611 resources_zip = _all_resources_zip_path |
| 1612 dex_path = final_dex_path | 1612 dex_path = final_dex_path |
| 1613 load_library_from_apk = _load_library_from_apk | 1613 load_library_from_apk = _load_library_from_apk |
| 1614 create_density_splits = _create_density_splits | 1614 create_density_splits = _create_density_splits |
| 1615 if (defined(invoker.extensions_to_not_compress)) { | 1615 if (defined(invoker.extensions_to_not_compress)) { |
| 1616 extensions_to_not_compress = invoker.extensions_to_not_compress | 1616 extensions_to_not_compress = invoker.extensions_to_not_compress |
| 1617 } else { | 1617 } else { |
| 1618 # Allow icu data to be loaded directly from the .apk. | 1618 # Allow icu data and v8 snapshots to be loaded directly from the .apk. |
| 1619 extensions_to_not_compress = "dat" | 1619 extensions_to_not_compress = "dat,bin" |
| 1620 } | 1620 } |
| 1621 | 1621 |
| 1622 version_code = _version_code | 1622 version_code = _version_code |
| 1623 version_name = _version_name | 1623 version_name = _version_name |
| 1624 | 1624 |
| 1625 keystore_name = _keystore_name | 1625 keystore_name = _keystore_name |
| 1626 keystore_path = _keystore_path | 1626 keystore_path = _keystore_path |
| 1627 keystore_password = _keystore_password | 1627 keystore_password = _keystore_password |
| 1628 | 1628 |
| 1629 # This target generates the input file _all_resources_zip_path. | 1629 # This target generates the input file _all_resources_zip_path. |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2121 template("uiautomator_test") { | 2121 template("uiautomator_test") { |
| 2122 set_sources_assignment_filter([]) | 2122 set_sources_assignment_filter([]) |
| 2123 if (defined(invoker.testonly)) { | 2123 if (defined(invoker.testonly)) { |
| 2124 testonly = invoker.testonly | 2124 testonly = invoker.testonly |
| 2125 } | 2125 } |
| 2126 assert(target_name != "") | 2126 assert(target_name != "") |
| 2127 assert(invoker.deps != [] || true) | 2127 assert(invoker.deps != [] || true) |
| 2128 group(target_name) { | 2128 group(target_name) { |
| 2129 } | 2129 } |
| 2130 } | 2130 } |
| OLD | NEW |