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

Commit 7243ae57 authored by Colin Cross's avatar Colin Cross Committed by android-build-merger
Browse files

Merge changes from topic 'refactor_register'

am: b2bdc7b7

Change-Id: Ib9198bb482da3b67dcbeb1b517374643c14f4b45
parents 6cb6bf9b b2bdc7b7
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -18,19 +18,17 @@ import (

	"android/soong/android"
	"android/soong/cc"

	"github.com/google/blueprint"
)

func init() {
	android.RegisterModuleType("fluoride_defaults", fluorideDefaultsFactory)
}

func fluorideDefaultsFactory() (blueprint.Module, []interface{}) {
	module, props := cc.DefaultsFactory()
func fluorideDefaultsFactory() android.Module {
	module := cc.DefaultsFactory()
	android.AddLoadHook(module, fluorideDefaults)

	return module, props
	return module
}

func fluorideDefaults(ctx android.LoadHookContext) {