Add InstallInRoot property to snapshot binary json file.
Bug: 215295121 Test: Generated snapshot and verified InstallInRoot property is present. Change-Id: I4f20a454477d1263e9c16e98468d659f89e1e4f1
This commit is contained in:
parent
61741e20a5
commit
c1a56bcbe9
1 changed files with 2 additions and 0 deletions
|
@ -146,6 +146,7 @@ type snapshotJsonFlags struct {
|
|||
// binary flags
|
||||
Symlinks []string `json:",omitempty"`
|
||||
StaticExecutable bool `json:",omitempty"`
|
||||
InstallInRoot bool `json:",omitempty"`
|
||||
|
||||
// dependencies
|
||||
SharedLibs []string `json:",omitempty"`
|
||||
|
@ -320,6 +321,7 @@ var ccSnapshotAction snapshot.GenerateSnapshotAction = func(s snapshot.SnapshotS
|
|||
// binary flags
|
||||
prop.Symlinks = m.Symlinks()
|
||||
prop.StaticExecutable = m.StaticExecutable()
|
||||
prop.InstallInRoot = m.InstallInRoot()
|
||||
prop.SharedLibs = m.SnapshotSharedLibs()
|
||||
// static libs dependencies are required to collect the NOTICE files.
|
||||
prop.StaticLibs = m.SnapshotStaticLibs()
|
||||
|
|
Loading…
Reference in a new issue