| 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("//third_party/android_platform/config.gni") | 8 import("//third_party/android_platform/config.gni") |
| 9 import("//tools/grit/grit_rule.gni") | 9 import("//tools/grit/grit_rule.gni") |
| 10 | 10 |
| (...skipping 1651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1662 create_apk("${_template_name}__create") { | 1662 create_apk("${_template_name}__create") { |
| 1663 apk_path = _final_apk_path | 1663 apk_path = _final_apk_path |
| 1664 android_manifest = _android_manifest | 1664 android_manifest = _android_manifest |
| 1665 resources_zip = _all_resources_zip_path | 1665 resources_zip = _all_resources_zip_path |
| 1666 dex_path = final_dex_path | 1666 dex_path = final_dex_path |
| 1667 load_library_from_apk = _load_library_from_apk | 1667 load_library_from_apk = _load_library_from_apk |
| 1668 create_density_splits = _create_density_splits | 1668 create_density_splits = _create_density_splits |
| 1669 if (defined(invoker.extensions_to_not_compress)) { | 1669 if (defined(invoker.extensions_to_not_compress)) { |
| 1670 extensions_to_not_compress = invoker.extensions_to_not_compress | 1670 extensions_to_not_compress = invoker.extensions_to_not_compress |
| 1671 } else { | 1671 } else { |
| 1672 # Allow icu data and v8 snapshots to be loaded directly from the .apk. | 1672 # Allow icu data, v8 snapshots, and pak files to be loaded directly from |
| 1673 extensions_to_not_compress = "dat,bin" | 1673 # the .apk. |
| 1674 # Note: These are actually suffix matches, not necessarily extensions. |
| 1675 extensions_to_not_compress = ".dat,.bin,.pak" |
| 1674 } | 1676 } |
| 1675 | 1677 |
| 1676 version_code = _version_code | 1678 version_code = _version_code |
| 1677 version_name = _version_name | 1679 version_name = _version_name |
| 1678 | 1680 |
| 1679 keystore_name = _keystore_name | 1681 keystore_name = _keystore_name |
| 1680 keystore_path = _keystore_path | 1682 keystore_path = _keystore_path |
| 1681 keystore_password = _keystore_password | 1683 keystore_password = _keystore_password |
| 1682 | 1684 |
| 1683 # This target generates the input file _all_resources_zip_path. | 1685 # This target generates the input file _all_resources_zip_path. |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2176 template("uiautomator_test") { | 2178 template("uiautomator_test") { |
| 2177 set_sources_assignment_filter([]) | 2179 set_sources_assignment_filter([]) |
| 2178 if (defined(invoker.testonly)) { | 2180 if (defined(invoker.testonly)) { |
| 2179 testonly = invoker.testonly | 2181 testonly = invoker.testonly |
| 2180 } | 2182 } |
| 2181 assert(target_name != "") | 2183 assert(target_name != "") |
| 2182 assert(invoker.deps != [] || true) | 2184 assert(invoker.deps != [] || true) |
| 2183 group(target_name) { | 2185 group(target_name) { |
| 2184 } | 2186 } |
| 2185 } | 2187 } |
| OLD | NEW |