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