platform_system_core/libsuspend/Android.bp
Justin Yun 6a7e882316 Mark the modules as VNDK in Android.bp
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)
2017-09-14 08:35:16 +00:00

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",
],
}