Remove the implicit "_" in subnames.
The NDK stub libraries need to use subname, but should use "." instead of "_". Test: Still builds. Change-Id: Ib4b0303531e03968c55671ea167ab987adebd783
This commit is contained in:
parent
3d92b27717
commit
6a0476930a
|
@ -146,7 +146,7 @@ func translateAndroidMkModule(ctx blueprint.SingletonContext, w io.Writer, mod b
|
||||||
}
|
}
|
||||||
|
|
||||||
if data.SubName != "" {
|
if data.SubName != "" {
|
||||||
name += "_" + data.SubName
|
name += data.SubName
|
||||||
}
|
}
|
||||||
|
|
||||||
if data.Custom != nil {
|
if data.Custom != nil {
|
||||||
|
|
|
@ -134,7 +134,7 @@ func (binary *binaryLinker) AndroidMk(ctx AndroidMkContext, ret *android.Android
|
||||||
func (test *testBinaryLinker) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
|
func (test *testBinaryLinker) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
|
||||||
test.binaryLinker.AndroidMk(ctx, ret)
|
test.binaryLinker.AndroidMk(ctx, ret)
|
||||||
if Bool(test.testLinker.Properties.Test_per_src) {
|
if Bool(test.testLinker.Properties.Test_per_src) {
|
||||||
ret.SubName = test.binaryLinker.Properties.Stem
|
ret.SubName = "_" + test.binaryLinker.Properties.Stem
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue