aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/gn_to_bp_utils.py
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2018-06-10 01:18:28 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-11 15:00:31 +0000
commit46fbf8c97a13a25876d93cb3e1683c59cc84b07f (patch)
tree7b24224d50a8f56a64b57e9ad1e8e56e99a89894 /gn/gn_to_bp_utils.py
parent4c4650150d5f40e4246e5e90baf5e5dfa7d008a5 (diff)
Disable module deps in Android Framework builds
Module-related functionality is not required in dm/bench at this point. Let's disable module deps flattening for now. As an immediate benefit we can reduce the deps visibility for some internal skjson targets. Bug: skia:8061 Change-Id: I0e09208964ca94b519121207ba1b6225059ef573 Reviewed-on: https://skia-review.googlesource.com/133822 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'gn/gn_to_bp_utils.py')
-rw-r--r--gn/gn_to_bp_utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gn/gn_to_bp_utils.py b/gn/gn_to_bp_utils.py
index 78217a79db..91fec4c288 100644
--- a/gn/gn_to_bp_utils.py
+++ b/gn/gn_to_bp_utils.py
@@ -33,6 +33,8 @@ def GrabDependentValues(js, name, value_type, list_to_extend, exclude):
# Grab the values from other targets that $name depends on (e.g. optional
# Skia components, gms, tests, etc).
for dep in js['targets'][name]['deps']:
+ if 'modules' in dep:
+ continue # Modules require special handling -- skip for now.
if 'third_party' in dep:
continue # We've handled all third-party DEPS as static or shared_libs.
if 'none' in dep: