Merge changes I2731ef15,Ib4b03035 am: 93bf7d8506

am: b1e3684ead

Change-Id: I1a1a020e33eb79a58650d9916c2852469f30f92b
This commit is contained in:
Dan Albert
2016-07-19 18:49:27 +00:00
committed by android-build-merger
3 changed files with 9 additions and 2 deletions

View File

@@ -146,7 +146,7 @@ func translateAndroidMkModule(ctx blueprint.SingletonContext, w io.Writer, mod b
}
if data.SubName != "" {
name += "_" + data.SubName
name += data.SubName
}
if data.Custom != nil {

View File

@@ -52,6 +52,13 @@ var (
},
"cpFlags")
// A timestamp touch rule.
Touch = pctx.StaticRule("Touch",
blueprint.RuleParams{
Command: "touch $out",
Description: "touch $out",
})
// A symlink rule.
Symlink = pctx.StaticRule("Symlink",
blueprint.RuleParams{

View File

@@ -134,7 +134,7 @@ func (binary *binaryLinker) AndroidMk(ctx AndroidMkContext, ret *android.Android
func (test *testBinaryLinker) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
test.binaryLinker.AndroidMk(ctx, ret)
if Bool(test.testLinker.Properties.Test_per_src) {
ret.SubName = test.binaryLinker.Properties.Stem
ret.SubName = "_" + test.binaryLinker.Properties.Stem
}
}