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

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

Issue 2113943002: 🎒 Rework Android resource linting to exclude third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/config/android/internal_rules.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/rules.gni
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni
index 4b851beebbda8ef03e0772f5bb313b1bdcbd2665..a2aede720410b2b4a409c6fbf9c310ff9470211a 100644
--- a/build/config/android/rules.gni
+++ b/build/config/android/rules.gni
@@ -752,8 +752,14 @@ if (enable_java_templates) {
[
"android_manifest",
"custom_package",
- "resource_dirs",
])
+ resource_dirs = []
+ if (defined(invoker.resource_dirs)) {
+ resource_dirs += invoker.resource_dirs
+ }
+ if (defined(invoker.generated_resource_dirs)) {
+ resource_dirs += invoker.generated_resource_dirs
+ }
if (defined(invoker.deps)) {
possible_config_deps = invoker.deps
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698