Add No_dist property

For the sysprop apis, we don't need dist. So the No_dist property is
added for it.

Bug: 132448761
Test: m -j dist
Change-Id: I51c6a6b87ab9dc90b6825c0d4d414e958dd7b265
This commit is contained in:
Sundong Ahn
2019-05-13 15:02:50 +09:00
parent 0967b34dd9
commit 80a87b3309
2 changed files with 55 additions and 45 deletions

View File

@@ -72,6 +72,7 @@ func syspropLibraryFactory() android.Module {
&m.syspropLibraryProperties,
)
m.InitSdkLibraryProperties()
m.SetNoDist()
android.InitAndroidMultiTargetsArchModule(m, android.DeviceSupported, "common")
android.AddLoadHook(m, func(ctx android.LoadHookContext) { syspropLibraryHook(ctx, m) })
android.AddLoadHook(m, func(ctx android.LoadHookContext) { m.SdkLibrary.CreateInternalModules(ctx) })