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

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

Issue 2212443002: Use more generic approach to pack java resources into final APK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use the original JAR as the source of resources. Created 4 years, 4 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("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/android/internal_rules.gni") 6 import("//build/config/android/internal_rules.gni")
7 import("//build/config/dcheck_always_on.gni") 7 import("//build/config/dcheck_always_on.gni")
8 import("//build/toolchain/toolchain.gni") 8 import("//build/toolchain/toolchain.gni")
9 9
10 assert(is_android) 10 assert(is_android)
(...skipping 1995 matching lines...) Expand 10 before | Expand all | Expand 10 after
2006 if (!defined(deps)) { 2006 if (!defined(deps)) {
2007 deps = [] 2007 deps = []
2008 } 2008 }
2009 apk_path = _final_apk_path 2009 apk_path = _final_apk_path
2010 android_manifest = _android_manifest 2010 android_manifest = _android_manifest
2011 assets_build_config = _build_config 2011 assets_build_config = _build_config
2012 resources_zip = _all_resources_zip_path 2012 resources_zip = _all_resources_zip_path
2013 dex_path = final_dex_path 2013 dex_path = final_dex_path
2014 load_library_from_apk = _load_library_from_apk 2014 load_library_from_apk = _load_library_from_apk
2015 create_density_splits = _create_density_splits 2015 create_density_splits = _create_density_splits
2016 emma_instrument = emma_coverage && !_emma_never_instrument
2017 2016
2018 if (!defined(extensions_to_not_compress)) { 2017 if (!defined(extensions_to_not_compress)) {
2019 # Allow icu data, v8 snapshots, and pak files to be loaded directly from 2018 # Allow icu data, v8 snapshots, and pak files to be loaded directly from
2020 # the .apk. 2019 # the .apk.
2021 # Note: These are actually suffix matches, not necessarily extensions. 2020 # Note: These are actually suffix matches, not necessarily extensions.
2022 extensions_to_not_compress = ".dat,.bin,.pak" 2021 extensions_to_not_compress = ".dat,.bin,.pak"
2023 } 2022 }
2024 2023
2025 version_code = _version_code 2024 version_code = _version_code
2026 version_name = _version_name 2025 version_name = _version_name
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
2666 supports_android = true 2665 supports_android = true
2667 jar_path = "${_output_path}/$jar" 2666 jar_path = "${_output_path}/$jar"
2668 } 2667 }
2669 } 2668 }
2670 2669
2671 java_group(target_name) { 2670 java_group(target_name) {
2672 deps = _resource_targets + _jar_targets 2671 deps = _resource_targets + _jar_targets
2673 } 2672 }
2674 } 2673 }
2675 } 2674 }
OLDNEW
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | build/secondary/third_party/android_tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698