Merge "neverallow: vintf to libhidltransport impl lib" into qt-dev

This commit is contained in:
Steven Moreland
2019-06-14 22:54:21 +00:00
committed by Android (Google) Code Review
2 changed files with 1 additions and 16 deletions

View File

@@ -71,7 +71,7 @@ func createTrebleRules() []*rule {
// TODO(b/67974785): always enforce the manifest
neverallow().
without("name", "libhidltransport").
without("name", "libhidltransport-impl-internal").
with("product_variables.enforce_vintf_manifest.cflags", "*").
because("manifest enforcement should be independent of ."),

View File

@@ -91,21 +91,6 @@ var neverallowTests = []struct {
},
expectedError: "manifest enforcement should be independent",
},
{
name: "libhidltransport enforce_vintf_manifest.cflags",
fs: map[string][]byte{
"Blueprints": []byte(`
cc_library {
name: "libhidltransport",
product_variables: {
enforce_vintf_manifest: {
cflags: ["-DSHOULD_NOT_EXIST"],
},
},
}`),
},
expectedError: "",
},
{
name: "no treble_linker_namespaces.cflags",