Merge "neverallow: vintf to libhidltransport impl lib" into qt-dev
am: 6df90831b7
Change-Id: Ibd0f318e8cbc3ee3e24f7f768b85dfafed7565d1
This commit is contained in:
commit
03cdfe1b31
|
@ -72,7 +72,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 ."),
|
||||
|
||||
|
|
|
@ -89,21 +89,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",
|
||||
|
|
Loading…
Reference in New Issue