6a7e882316
As a VNDK module, Android.bp must have 'vndk' tag as well as
'vendor_available: true'.
The 'vndk' tag for VNDK module is formated as below:
vndk: {
enabled: true,
},
VNDK modules will be installed both in system/lib(64) as normal and
in system/lib(64)/vndk as a vendor variant.
Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Merged-In: Icecb22ed2ed0f58c3168605d4cf64815e2dda750
Change-Id: Icecb22ed2ed0f58c3168605d4cf64815e2dda750
(cherry picked from commit 9b0ed72942
)
24 lines
452 B
Text
24 lines
452 B
Text
// Copyright 2012 The Android Open Source Project
|
|
|
|
cc_library {
|
|
name: "libsuspend",
|
|
vendor_available: true,
|
|
vndk: {
|
|
enabled: true,
|
|
},
|
|
|
|
srcs: [
|
|
"autosuspend.c",
|
|
"autosuspend_wakeup_count.c",
|
|
],
|
|
export_include_dirs: ["include"],
|
|
local_include_dirs: ["include"],
|
|
shared_libs: [
|
|
"liblog",
|
|
"libcutils",
|
|
],
|
|
cflags: [
|
|
"-Werror",
|
|
// "-DLOG_NDEBUG=0",
|
|
],
|
|
}
|