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

Unified Diff: build/config/android/internal_rules.gni

Issue 2623243002: android: Create a GN template for create_dist_jar.py (Closed)
Patch Set: interface jars condition was inverted 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/gyp/write_build_config.py ('k') | build/config/android/rules.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/internal_rules.gni
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni
index a662457991889175ee89e235d28e4f293e60d545..8a3fec6acaf55f3f0a0f7a4d7596b38c985ec1c8 100644
--- a/build/config/android/internal_rules.gni
+++ b/build/config/android/internal_rules.gni
@@ -60,7 +60,7 @@ template("write_build_config") {
# Don't need to enforce naming scheme for these targets since we never
# consider them in dependency chains.
if (!_is_prebuilt_binary && type != "android_apk" && type != "java_binary" &&
- type != "resource_rewriter") {
+ type != "resource_rewriter" && type != "dist_jar") {
set_sources_assignment_filter(_java_target_whitelist)
_parent_invoker = invoker.invoker
_target_label =
@@ -87,8 +87,9 @@ template("write_build_config") {
assert(type == "android_apk" || type == "java_library" ||
type == "android_resources" || type == "deps_dex" ||
- type == "android_assets" || type == "resource_rewriter" ||
- type == "java_binary" || type == "group" || type == "java_prebuilt")
+ type == "dist_jar" || type == "android_assets" ||
+ type == "resource_rewriter" || type == "java_binary" ||
+ type == "group" || type == "java_prebuilt")
forward_variables_from(invoker,
[
« no previous file with comments | « build/android/gyp/write_build_config.py ('k') | build/config/android/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698