You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
729 B

// Copyright 2012 The Android Open Source Project
cc_library {
name: "libsuspend",
defaults: ["mtk_libsuspend_defaults"],
vendor_available: true,
vndk: {
enabled: true,
},
srcs: [
"autosuspend.c",
"autosuspend_wakeup_count.c",
"autosuspend_debugger.c",
],
export_include_dirs: ["include"],
local_include_dirs: ["include"],
shared_libs: [
"liblog",
"libcutils",
],
cflags: [
"-Werror",
// "-DLOG_NDEBUG=0",
],
}
mtk_cc_defaults {
name: "mtk_libsuspend_defaults",
product_variables: {
debuggable: {
cflags: [
"-DCONFIG_DEBUG_BUILD",
],
},
},
}