diff options
author | Steven Moreland <smoreland@google.com> | 2022-11-03 02:04:05 +0000 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2022-11-03 20:42:12 +0000 |
commit | 2f70ccc2ff2f52bff8041c0153d7b2e2e645bc31 (patch) | |
tree | 0aa53eb9f3f1999e059ea226f9992897ac25e5cc /build/aidl_interface_defaults.go | |
parent | 2e49407f509e9318dd56cc08c2b2b14bca476559 (diff) | |
download | aidl-2f70ccc2ff2f52bff8041c0153d7b2e2e645bc31.tar.gz |
aidl_interface_defaults
Bug: 256245018
Test: m nothing
Change-Id: Iaca635245afc2859766f4e76123f11c19bdc9ff6
Diffstat (limited to 'build/aidl_interface_defaults.go')
-rw-r--r-- | build/aidl_interface_defaults.go | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/build/aidl_interface_defaults.go b/build/aidl_interface_defaults.go new file mode 100644 index 00000000..50d93e31 --- /dev/null +++ b/build/aidl_interface_defaults.go @@ -0,0 +1,32 @@ +package aidl + +import ( + "android/soong/android" +) + +func init() { + android.RegisterModuleType("aidl_interface_defaults", AidlInterfaceDefaultsFactory) +} + +type Defaults struct { + android.ModuleBase + android.DefaultsModuleBase +} + +func (d *Defaults) GenerateAndroidBuildActions(ctx android.ModuleContext) { +} + +func (d *Defaults) DepsMutator(ctx android.BottomUpMutatorContext) { +} + +func AidlInterfaceDefaultsFactory() android.Module { + module := &Defaults{} + + module.AddProperties( + &aidlInterfaceProperties{}, + ) + + android.InitDefaultsModule(module) + + return module +} |