diff options
author | Steven Moreland <smoreland@google.com> | 2019-06-05 18:27:35 -0700 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2019-06-14 22:04:53 +0000 |
commit | a1165d69580a09b42f214632d1e0056a10867679 (patch) | |
tree | 4da776bc272b79650d76018cc9b3d24f70741752 | |
parent | ea68aad696009447d2db7be5bcbba60ac6d8f7a0 (diff) | |
download | build_soong-a1165d69580a09b42f214632d1e0056a10867679.tar.gz build_soong-a1165d69580a09b42f214632d1e0056a10867679.tar.bz2 build_soong-a1165d69580a09b42f214632d1e0056a10867679.zip |
neverallow: vintf to libhidltransport impl lib
Also delete useless testcase.
Bug: 134961554
Test: build
Change-Id: Ie76492f806757b86d94d29a736773f72ce2ab104
-rw-r--r-- | android/neverallow.go | 2 | ||||
-rw-r--r-- | android/neverallow_test.go | 15 |
2 files changed, 1 insertions, 16 deletions
diff --git a/android/neverallow.go b/android/neverallow.go index 1983f0ea..b90fe43d 100644 --- a/android/neverallow.go +++ b/android/neverallow.go @@ -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 ."), diff --git a/android/neverallow_test.go b/android/neverallow_test.go index 5451620f..6fd2cd71 100644 --- a/android/neverallow_test.go +++ b/android/neverallow_test.go @@ -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", |