| 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 # 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 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1518 # linker does relocation unpacking, so we can enable it unconditionally. | 1518 # linker does relocation unpacking, so we can enable it unconditionally. |
| 1519 # secondary_native_libs (deprecated): The path of native libraries for secon
dary | 1519 # secondary_native_libs (deprecated): The path of native libraries for secon
dary |
| 1520 # app abi. | 1520 # app abi. |
| 1521 # run_findbugs_override: Forces run_findbugs on or off. If undefined, the | 1521 # run_findbugs_override: Forces run_findbugs on or off. If undefined, the |
| 1522 # default will use the build arg run_findbugs. | 1522 # default will use the build arg run_findbugs. |
| 1523 # proguard_jar_path: The path to proguard.jar you wish to use. If undefined, | 1523 # proguard_jar_path: The path to proguard.jar you wish to use. If undefined, |
| 1524 # the proguard used will be the checked in one in //third_party/proguard. | 1524 # the proguard used will be the checked in one in //third_party/proguard. |
| 1525 # never_incremental: If true, |incremental_apk_by_default| will be ignored. | 1525 # never_incremental: If true, |incremental_apk_by_default| will be ignored. |
| 1526 # aapt_locale_whitelist: If set, all locales not in this list will be | 1526 # aapt_locale_whitelist: If set, all locales not in this list will be |
| 1527 # stripped from resources.arsc. | 1527 # stripped from resources.arsc. |
| 1528 # exclude_xxxhdpi: Causes all drawable-xxxhdpi images to be excluded |
| 1529 # (mipmaps are still included). |
| 1530 # xxxhdpi_whitelist: A list of globs used when exclude_xxxhdpi=true. Files |
| 1531 # that match this whitelist will still be included. |
| 1528 # | 1532 # |
| 1529 # Example | 1533 # Example |
| 1530 # android_apk("foo_apk") { | 1534 # android_apk("foo_apk") { |
| 1531 # android_manifest = "AndroidManifest.xml" | 1535 # android_manifest = "AndroidManifest.xml" |
| 1532 # java_files = [ | 1536 # java_files = [ |
| 1533 # "android/org/chromium/foo/FooApplication.java", | 1537 # "android/org/chromium/foo/FooApplication.java", |
| 1534 # "android/org/chromium/foo/FooActivity.java", | 1538 # "android/org/chromium/foo/FooActivity.java", |
| 1535 # ] | 1539 # ] |
| 1536 # deps = [ | 1540 # deps = [ |
| 1537 # ":foo_support_java" | 1541 # ":foo_support_java" |
| (...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2162 | 2166 |
| 2163 _final_deps += [ ":${_template_name}__create" ] | 2167 _final_deps += [ ":${_template_name}__create" ] |
| 2164 create_apk("${_template_name}__create") { | 2168 create_apk("${_template_name}__create") { |
| 2165 forward_variables_from(invoker, | 2169 forward_variables_from(invoker, |
| 2166 [ | 2170 [ |
| 2167 "aapt_locale_whitelist", | 2171 "aapt_locale_whitelist", |
| 2168 "alternative_android_sdk_jar", | 2172 "alternative_android_sdk_jar", |
| 2169 "android_aapt_path", | 2173 "android_aapt_path", |
| 2170 "app_as_shared_lib", | 2174 "app_as_shared_lib", |
| 2171 "deps", | 2175 "deps", |
| 2176 "exclude_xxxhdpi", |
| 2172 "extensions_to_not_compress", | 2177 "extensions_to_not_compress", |
| 2173 "language_splits", | 2178 "language_splits", |
| 2174 "public_deps", | 2179 "public_deps", |
| 2175 "secondary_native_libs", | 2180 "secondary_native_libs", |
| 2176 "shared_resources", | 2181 "shared_resources", |
| 2177 "uncompress_shared_libraries", | 2182 "uncompress_shared_libraries", |
| 2178 "write_asset_list", | 2183 "write_asset_list", |
| 2184 "xxxhdpi_whitelist", |
| 2179 ]) | 2185 ]) |
| 2180 if (!defined(deps)) { | 2186 if (!defined(deps)) { |
| 2181 deps = [] | 2187 deps = [] |
| 2182 } | 2188 } |
| 2183 apk_path = _final_apk_path | 2189 apk_path = _final_apk_path |
| 2184 android_manifest = _android_manifest | 2190 android_manifest = _android_manifest |
| 2185 assets_build_config = _build_config | 2191 assets_build_config = _build_config |
| 2186 resources_zip = _all_resources_zip_path | 2192 resources_zip = _all_resources_zip_path |
| 2187 dex_path = final_dex_path | 2193 dex_path = final_dex_path |
| 2188 load_library_from_apk = _load_library_from_apk | 2194 load_library_from_apk = _load_library_from_apk |
| (...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2963 # because in practice they seem to contain classes required to be in the | 2969 # because in practice they seem to contain classes required to be in the |
| 2964 # classpath. | 2970 # classpath. |
| 2965 deps += _subjar_targets | 2971 deps += _subjar_targets |
| 2966 } | 2972 } |
| 2967 if (defined(_res_target_name)) { | 2973 if (defined(_res_target_name)) { |
| 2968 deps += [ ":$_res_target_name" ] | 2974 deps += [ ":$_res_target_name" ] |
| 2969 } | 2975 } |
| 2970 } | 2976 } |
| 2971 } | 2977 } |
| 2972 } | 2978 } |
| OLD | NEW |