aboutsummaryrefslogtreecommitdiffstats
path: root/cc/sabi.go
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-06-04 07:11:00 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-06-04 07:11:00 +0000
commit1f0b6c8afaa250047d74d092fa6bb75fc455fecf (patch)
tree2c6d11026a3bc1d27ec4be96162d2ac8b8e53aee /cc/sabi.go
parent7958e157c086b5e0890eff445b46503f1cd1ed44 (diff)
parent8cede07e698cc1a15257a6b5dd653488e2bbf49e (diff)
downloadbuild_soong-1f0b6c8afaa250047d74d092fa6bb75fc455fecf.tar.gz
build_soong-1f0b6c8afaa250047d74d092fa6bb75fc455fecf.tar.bz2
build_soong-1f0b6c8afaa250047d74d092fa6bb75fc455fecf.zip
release-request-777c0f47-a42e-446a-b45c-0bb1aaa9612e-for-git_oc-release-4066915 snap-temp-L92300000070444114
Change-Id: I61a281fac9baf1686d9e24094444bca8d37e2706
Diffstat (limited to 'cc/sabi.go')
-rw-r--r--cc/sabi.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/cc/sabi.go b/cc/sabi.go
index 7ae31c97..01ef737f 100644
--- a/cc/sabi.go
+++ b/cc/sabi.go
@@ -22,7 +22,8 @@ import (
)
type SAbiProperties struct {
- CreateSAbiDumps bool `blueprint:"mutated"`
+ CreateSAbiDumps bool `blueprint:"mutated"`
+ ReexportedIncludeFlags []string
}
type sabi struct {
@@ -45,7 +46,7 @@ func (sabimod *sabi) flags(ctx ModuleContext, flags Flags) Flags {
func sabiDepsMutator(mctx android.TopDownMutatorContext) {
if c, ok := mctx.Module().(*Module); ok &&
- ((inList(c.Name(), config.VndkLibraries())) || (inList(c.Name(), config.LLndkLibraries())) ||
+ (Bool(c.Properties.Vendor_available) || (inList(c.Name(), config.LLndkLibraries())) ||
(c.sabi != nil && c.sabi.Properties.CreateSAbiDumps)) {
mctx.VisitDirectDeps(func(m blueprint.Module) {
tag := mctx.OtherModuleDependencyTag(m)