Add a "license" property to ndk_headers.
This field points to the license file for the headers being shipped. Test: make ndk && less $SOONG_OUT/ndk/NOTICE Bug: None Change-Id: I386f4e6f6d9776f422ffc09b8dab69e1911b08a4
This commit is contained in:
@@ -170,6 +170,7 @@ type HostOrDeviceSupported int
|
||||
const (
|
||||
_ HostOrDeviceSupported = iota
|
||||
HostSupported
|
||||
HostSupportedNoCross
|
||||
DeviceSupported
|
||||
HostAndDeviceSupported
|
||||
HostAndDeviceDefault
|
||||
@@ -326,8 +327,9 @@ func (a *ModuleBase) ArchSpecific() bool {
|
||||
func (a *ModuleBase) OsClassSupported() []OsClass {
|
||||
switch a.commonProperties.HostOrDeviceSupported {
|
||||
case HostSupported:
|
||||
// TODO(ccross): explicitly mark host cross support
|
||||
return []OsClass{Host, HostCross}
|
||||
case HostSupportedNoCross:
|
||||
return []OsClass{Host}
|
||||
case DeviceSupported:
|
||||
return []OsClass{Device}
|
||||
case HostAndDeviceSupported:
|
||||
|
Reference in New Issue
Block a user