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

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

Issue 2615753004: Android: Stop including unsupport locales in resources.arsc (Closed)
Patch Set: Make monochrome include all locales 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
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | chrome/android/chrome_public_apk_tmpl.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1388 matching lines...) Expand 10 before | Expand all | Expand 10 after
1399 # requires_sdk_api_level_23: If defined and true, the apk is intended for 1399 # requires_sdk_api_level_23: If defined and true, the apk is intended for
1400 # installation only on Android M or later. In these releases the system 1400 # installation only on Android M or later. In these releases the system
1401 # linker does relocation unpacking, so we can enable it unconditionally. 1401 # linker does relocation unpacking, so we can enable it unconditionally.
1402 # secondary_native_libs (deprecated): The path of native libraries for secon dary 1402 # secondary_native_libs (deprecated): The path of native libraries for secon dary
1403 # app abi. 1403 # app abi.
1404 # run_findbugs_override: Forces run_findbugs on or off. If undefined, the 1404 # run_findbugs_override: Forces run_findbugs on or off. If undefined, the
1405 # default will use the build arg run_findbugs. 1405 # default will use the build arg run_findbugs.
1406 # proguard_jar_path: The path to proguard.jar you wish to use. If undefined, 1406 # proguard_jar_path: The path to proguard.jar you wish to use. If undefined,
1407 # the proguard used will be the checked in one in //third_party/proguard. 1407 # the proguard used will be the checked in one in //third_party/proguard.
1408 # never_incremental: If true, |incremental_apk_by_default| will be ignored. 1408 # never_incremental: If true, |incremental_apk_by_default| will be ignored.
1409 # aapt_locale_whitelist: If set, all locales not in this list will be
1410 # stripped from resources.arsc.
1409 # 1411 #
1410 # Example 1412 # Example
1411 # android_apk("foo_apk") { 1413 # android_apk("foo_apk") {
1412 # android_manifest = "AndroidManifest.xml" 1414 # android_manifest = "AndroidManifest.xml"
1413 # java_files = [ 1415 # java_files = [
1414 # "android/org/chromium/foo/FooApplication.java", 1416 # "android/org/chromium/foo/FooApplication.java",
1415 # "android/org/chromium/foo/FooActivity.java", 1417 # "android/org/chromium/foo/FooActivity.java",
1416 # ] 1418 # ]
1417 # deps = [ 1419 # deps = [
1418 # ":foo_support_java" 1420 # ":foo_support_java"
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
2024 } 2026 }
2025 } 2027 }
2026 if (defined(invoker.loadable_modules) && invoker.loadable_modules != []) { 2028 if (defined(invoker.loadable_modules) && invoker.loadable_modules != []) {
2027 _extra_native_libs_even_when_incremental += invoker.loadable_modules 2029 _extra_native_libs_even_when_incremental += invoker.loadable_modules
2028 } 2030 }
2029 2031
2030 _final_deps += [ ":${_template_name}__create" ] 2032 _final_deps += [ ":${_template_name}__create" ]
2031 create_apk("${_template_name}__create") { 2033 create_apk("${_template_name}__create") {
2032 forward_variables_from(invoker, 2034 forward_variables_from(invoker,
2033 [ 2035 [
2036 "aapt_locale_whitelist",
2034 "alternative_android_sdk_jar", 2037 "alternative_android_sdk_jar",
2035 "android_aapt_path", 2038 "android_aapt_path",
2036 "app_as_shared_lib", 2039 "app_as_shared_lib",
2037 "deps", 2040 "deps",
2038 "extensions_to_not_compress", 2041 "extensions_to_not_compress",
2039 "language_splits", 2042 "language_splits",
2040 "page_align_shared_libraries", 2043 "page_align_shared_libraries",
2041 "public_deps", 2044 "public_deps",
2042 "secondary_native_libs", 2045 "secondary_native_libs",
2043 "shared_resources", 2046 "shared_resources",
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
2829 # because in practice they seem to contain classes required to be in the 2832 # because in practice they seem to contain classes required to be in the
2830 # classpath. 2833 # classpath.
2831 deps += _subjar_targets 2834 deps += _subjar_targets
2832 } 2835 }
2833 if (defined(_res_target_name)) { 2836 if (defined(_res_target_name)) {
2834 deps += [ ":$_res_target_name" ] 2837 deps += [ ":$_res_target_name" ]
2835 } 2838 }
2836 } 2839 }
2837 } 2840 }
2838 } 2841 }
OLDNEW
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | chrome/android/chrome_public_apk_tmpl.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698