Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(635)

Side by Side Diff: build/config/android/rules.gni

Issue 1156873002: Load v8 snapshots directly from APK (and store them uncompressed) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v8initializer
Patch Set: rebase for review Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
2118 template("uiautomator_test") { 2118 template("uiautomator_test") {
2119 set_sources_assignment_filter([]) 2119 set_sources_assignment_filter([])
2120 if (defined(invoker.testonly)) { 2120 if (defined(invoker.testonly)) {
2121 testonly = invoker.testonly 2121 testonly = invoker.testonly
2122 } 2122 }
2123 assert(target_name != "") 2123 assert(target_name != "")
2124 assert(invoker.deps != [] || true) 2124 assert(invoker.deps != [] || true)
2125 group(target_name) { 2125 group(target_name) {
2126 } 2126 }
2127 } 2127 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698