diff options
Diffstat (limited to 'libs/gralloc/types/Android.bp')
-rw-r--r-- | libs/gralloc/types/Android.bp | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/libs/gralloc/types/Android.bp b/libs/gralloc/types/Android.bp index 66fb295a19..a0032aecb9 100644 --- a/libs/gralloc/types/Android.bp +++ b/libs/gralloc/types/Android.bp @@ -12,6 +12,15 @@ // See the License for the specific language governing permissions and // limitations under the License. +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_library { name: "libgralloctypes", defaults: ["libbinder_ndk_host_user"], @@ -21,6 +30,11 @@ cc_library { "-Wno-enum-compare", ], host_supported: true, + target: { + darwin: { + enabled: false, + } + }, vendor_available: true, vndk: { @@ -38,14 +52,14 @@ cc_library { ], shared_libs: [ - "android.hardware.graphics.common-ndk_platform", + "android.hardware.graphics.common-V2-ndk_platform", "android.hardware.graphics.mapper@4.0", "libhidlbase", "liblog", ], export_shared_lib_headers: [ - "android.hardware.graphics.common-ndk_platform", + "android.hardware.graphics.common-V2-ndk_platform", "android.hardware.graphics.mapper@4.0", "libhidlbase", ], |