1// Copyright (C) 2015 The Android Open Source Project 2 3package { 4 default_applicable_licenses: ["external_lz4_lib_license"], 5} 6 7// Added automatically by a large-scale-change 8license { 9 name: "external_lz4_lib_license", 10 visibility: [":__subpackages__"], 11 license_kinds: [ 12 "SPDX-license-identifier-BSD", 13 ], 14 license_text: [ 15 "LICENSE", 16 ], 17} 18 19cc_library { 20 name: "liblz4", 21 apex_available: [ 22 "//apex_available:platform", 23 "com.android.adbd", 24 "com.android.art", // from libartbase 25 "com.android.art.debug", 26 ], 27 recovery_available: true, 28 vendor_available: true, 29 product_available: true, 30 vndk: { 31 enabled: true, 32 }, 33 host_supported: true, 34 // TODO(b/153609531): remove when no longer needed. 35 native_bridge_supported: true, 36 target: { 37 windows: { 38 enabled: true, 39 shared: { 40 enabled: false, 41 }, 42 }, 43 }, 44 srcs: [ 45 "lz4.c", 46 "lz4hc.c", 47 "lz4frame.c", 48 "xxhash.c", 49 ], 50 cflags: ["-Wall", "-Werror"], 51 export_include_dirs: ["."], 52} 53