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

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

Issue 2632283002: Use more generic approach to pack java resources into final APK. (Closed)
Patch Set: GypList->GnList Created 3 years, 11 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 # Do not add any imports to non-//build directories here. 5 # Do not add any imports to non-//build directories here.
6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in. 6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in.
7 import("//build/config/android/config.gni") 7 import("//build/config/android/config.gni")
8 import("//build/config/android/internal_rules.gni") 8 import("//build/config/android/internal_rules.gni")
9 import("//build/config/compiler/compiler.gni") 9 import("//build/config/compiler/compiler.gni")
10 import("//build/config/dcheck_always_on.gni") 10 import("//build/config/dcheck_always_on.gni")
(...skipping 2048 matching lines...) Expand 10 before | Expand all | Expand 10 after
2059 if (!defined(deps)) { 2059 if (!defined(deps)) {
2060 deps = [] 2060 deps = []
2061 } 2061 }
2062 apk_path = _final_apk_path 2062 apk_path = _final_apk_path
2063 android_manifest = _android_manifest 2063 android_manifest = _android_manifest
2064 assets_build_config = _build_config 2064 assets_build_config = _build_config
2065 resources_zip = _all_resources_zip_path 2065 resources_zip = _all_resources_zip_path
2066 dex_path = final_dex_path 2066 dex_path = final_dex_path
2067 load_library_from_apk = _load_library_from_apk 2067 load_library_from_apk = _load_library_from_apk
2068 create_density_splits = _create_density_splits 2068 create_density_splits = _create_density_splits
2069 emma_instrument = emma_coverage && !_emma_never_instrument
2070 2069
2071 if (!defined(extensions_to_not_compress)) { 2070 if (!defined(extensions_to_not_compress)) {
2072 # Allow icu data, v8 snapshots, and pak files to be loaded directly from 2071 # Allow icu data, v8 snapshots, and pak files to be loaded directly from
2073 # the .apk. 2072 # the .apk.
2074 # Note: These are actually suffix matches, not necessarily extensions. 2073 # Note: These are actually suffix matches, not necessarily extensions.
2075 extensions_to_not_compress = ".dat,.bin,.pak" 2074 extensions_to_not_compress = ".dat,.bin,.pak"
2076 } 2075 }
2077 2076
2078 version_code = _version_code 2077 version_code = _version_code
2079 version_name = _version_name 2078 version_name = _version_name
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
2841 # because in practice they seem to contain classes required to be in the 2840 # because in practice they seem to contain classes required to be in the
2842 # classpath. 2841 # classpath.
2843 deps += _subjar_targets 2842 deps += _subjar_targets
2844 } 2843 }
2845 if (defined(_res_target_name)) { 2844 if (defined(_res_target_name)) {
2846 deps += [ ":$_res_target_name" ] 2845 deps += [ ":$_res_target_name" ]
2847 } 2846 }
2848 } 2847 }
2849 } 2848 }
2850 } 2849 }
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