Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71c74607 authored by Dan Willemsen's avatar Dan Willemsen
Browse files

Expose TargetFSConfigGen to DeviceConfig from Make

Bug: 118089258
Test: m oemaids_header_gen oemaids_headers
Change-Id: I2675822ae01af9bbec70f0c0413c047f36b5e024
parent 33055f64
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1048,3 +1048,7 @@ func (c *config) ProductHiddenAPIStubsSystem() []string {
func (c *config) ProductHiddenAPIStubsTest() []string {
	return c.productVariables.ProductHiddenAPIStubsTest
}

func (c *deviceConfig) TargetFSConfigGen() *string {
	return c.config.productVariables.TargetFSConfigGen
}
+2 −0
Original line number Diff line number Diff line
@@ -287,6 +287,8 @@ type productVariables struct {
	ProductHiddenAPIStubs       []string `json:",omitempty"`
	ProductHiddenAPIStubsSystem []string `json:",omitempty"`
	ProductHiddenAPIStubsTest   []string `json:",omitempty"`

	TargetFSConfigGen *string `json:",omitempty"`
}

func boolPtr(v bool) *bool {