Make apex_key HostAndDeviceDefault

Since apex_key is used in number of apex_test host_supported modules it
is no longer a device only module.

Test: add new device target and check that the build does not fail
Change-Id: I6402e3b622d22ee0ca0e6af71dfd71a690938e49
This commit is contained in:
dimitry 2019-04-11 17:27:11 +02:00 committed by Dimitry Ivanov
parent 9dc186f120
commit f807167023
1 changed files with 1 additions and 2 deletions

View File

@ -55,8 +55,7 @@ type apexKeyProperties struct {
func apexKeyFactory() android.Module {
module := &apexKey{}
module.AddProperties(&module.properties)
// This module is device-only
android.InitAndroidArchModule(module, android.DeviceSupported, android.MultilibCommon)
android.InitAndroidArchModule(module, android.HostAndDeviceDefault, android.MultilibCommon)
return module
}