Allow for setting a logging_parent for an Apex.
Test: go test ./... -test.v -run TestOverrideApex BUG: 148198056 Change-Id: Ib3749e59f5e31903f2dbe75f86534738147a55ec
This commit is contained in:
@@ -3230,6 +3230,7 @@ func TestOverrideApex(t *testing.T) {
|
||||
base: "myapex",
|
||||
apps: ["override_app"],
|
||||
overrides: ["unknownapex"],
|
||||
logging_parent: "com.foo.bar",
|
||||
}
|
||||
|
||||
apex_key {
|
||||
@@ -3276,6 +3277,10 @@ func TestOverrideApex(t *testing.T) {
|
||||
t.Errorf("name should be \"override_myapex\", but was %q", name)
|
||||
}
|
||||
|
||||
if apexBundle.overridableProperties.Logging_parent != "com.foo.bar" {
|
||||
t.Errorf("override_myapex should have logging parent (com.foo.bar), but was %q.", apexBundle.overridableProperties.Logging_parent)
|
||||
}
|
||||
|
||||
data := android.AndroidMkDataForTest(t, config, "", apexBundle)
|
||||
var builder strings.Builder
|
||||
data.Custom(&builder, name, "TARGET_", "", data)
|
||||
|
Reference in New Issue
Block a user