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

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

Issue 2623243002: android: Create a GN template for create_dist_jar.py (Closed)
Patch Set: 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
Index: build/config/android/internal_rules.gni
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni
index b7a42d34657803380fb6e7f4c2cb7913b202f196..4b7bd3dd1e8b85745dae1004b102c81e61515861 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,
[

Powered by Google App Engine
This is Rietveld 408576698