1package { 2 default_applicable_licenses: ["external_lua_license"], 3} 4 5// Added automatically by a large-scale-change 6// See: http://go/android-license-faq 7license { 8 name: "external_lua_license", 9 visibility: [":__subpackages__"], 10 license_kinds: [ 11 "SPDX-license-identifier-MIT", 12 ], 13 license_text: [ 14 "LICENSE", 15 ], 16} 17 18cc_library_static { 19 name: "liblua", 20 sdk_version: "current", 21 min_sdk_version: "30", 22 cflags: [ 23 "-Werror", 24 "-Wall", 25 "-Wno-deprecated-declarations", 26 "-Wno-string-plus-int", 27 "-O2", 28 "-DLUA_USE_LINUX", 29 "-DLUA_COMPAT_5_3", 30 ], 31 export_include_dirs: ["src"], 32 srcs: [ 33 ":liblua-sources" 34 ], 35 36 apex_available: [ 37 "//apex_available:platform", 38 "com.android.extservices", 39 ], 40 visibility: [ 41 "//external/libtextclassifier:__subpackages__", 42 "//packages/services/Car/cpp/telemetry:__subpackages__", 43 ], 44} 45 46filegroup { 47 name: "liblua-sources", 48 srcs: [ 49 "src/**/*.c", 50 ], 51 exclude_srcs: [ 52 // Exclude the interpreter 53 "src/lua.c", 54 ], 55} 56