Merge "Drop IncludeTags" into main am: 211fdd6618
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3098657 Change-Id: I7bbd91db4f4309f8a8c0e558bf901a351ed20c24 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1334,10 +1334,6 @@ func (c *config) SourceRootDirs() []string {
|
||||
return c.productVariables.SourceRootDirs
|
||||
}
|
||||
|
||||
func (c *config) IncludeTags() []string {
|
||||
return c.productVariables.IncludeTags
|
||||
}
|
||||
|
||||
func (c *config) HostStaticBinaries() bool {
|
||||
return Bool(c.productVariables.HostStaticBinaries)
|
||||
}
|
||||
|
@@ -156,7 +156,6 @@ type Context struct {
|
||||
func NewContext(config Config) *Context {
|
||||
ctx := &Context{blueprint.NewContext(), config}
|
||||
ctx.SetSrcDir(absSrcDir)
|
||||
ctx.AddIncludeTags(config.IncludeTags()...)
|
||||
ctx.AddSourceRootDirs(config.SourceRootDirs()...)
|
||||
return ctx
|
||||
}
|
||||
|
@@ -476,7 +476,6 @@ type ProductVariables struct {
|
||||
|
||||
IgnorePrefer32OnDevice bool `json:",omitempty"`
|
||||
|
||||
IncludeTags []string `json:",omitempty"`
|
||||
SourceRootDirs []string `json:",omitempty"`
|
||||
|
||||
AfdoProfiles []string `json:",omitempty"`
|
||||
|
Reference in New Issue
Block a user