aboutsummaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
authorNan Zhang <nanzhang@google.com>2018-02-19 18:35:36 +0000
committerandroid-build-merger <android-build-merger@google.com>2018-02-19 18:35:36 +0000
commit73ca4ec589e61743680e97b2c6fe5f1462b4f3dc (patch)
tree0393bff8140c2b0cee773f011f3954cbbc10ff94 /cc
parent12c0a1b2cfe870d42fbb65d49b2457d8bafcfb93 (diff)
parent6df794ebb40b98985b314acea2b8f07faf737ea6 (diff)
downloadbuild_soong-73ca4ec589e61743680e97b2c6fe5f1462b4f3dc.tar.gz
build_soong-73ca4ec589e61743680e97b2c6fe5f1462b4f3dc.tar.bz2
build_soong-73ca4ec589e61743680e97b2c6fe5f1462b4f3dc.zip
Merge "Revert "Revert "Support filegroup in exclude_srcs""" am: f28e32a2a5 am: 3aa79ee5f5
am: 6df794ebb4 Change-Id: If6f3707008c217dec95f991f3c8fa3585ce42b0b
Diffstat (limited to 'cc')
-rw-r--r--cc/compiler.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/compiler.go b/cc/compiler.go
index 0d8e3a16..dd1cdeed 100644
--- a/cc/compiler.go
+++ b/cc/compiler.go
@@ -202,6 +202,7 @@ func (compiler *baseCompiler) compilerDeps(ctx DepsContext, deps Deps) Deps {
deps.GeneratedHeaders = append(deps.GeneratedHeaders, compiler.Properties.Generated_headers...)
android.ExtractSourcesDeps(ctx, compiler.Properties.Srcs)
+ android.ExtractSourcesDeps(ctx, compiler.Properties.Exclude_srcs)
if compiler.hasSrcExt(".proto") {
deps = protoDeps(ctx, deps, &compiler.Proto, Bool(compiler.Properties.Proto.Static))