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.
53 lines
1.0 KiB
53 lines
1.0 KiB
// Copyright 2012 The Android Open Source Project
|
|
|
|
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
//----rk-code----
|
|
soong_config_module_type {
|
|
name: "rk_ebook_soong_cc_defaults",
|
|
module_type: "cc_defaults",
|
|
config_namespace: "rk_ebook",
|
|
bool_variables: ["rk_ebook_en"],
|
|
properties: ["cflags"],
|
|
}
|
|
|
|
rk_ebook_soong_cc_defaults {
|
|
name: "rk_ebook_cc_defaults",
|
|
|
|
soong_config_variables: {
|
|
rk_ebook_en: {
|
|
cflags: [
|
|
"-DRK_EBOOK",
|
|
],
|
|
},
|
|
},
|
|
}
|
|
//---------------
|
|
|
|
cc_library {
|
|
name: "libsuspend",
|
|
vendor_available: true,
|
|
srcs: [
|
|
"autosuspend.c",
|
|
"autosuspend_wakeup_count.cpp",
|
|
],
|
|
export_include_dirs: ["include"],
|
|
local_include_dirs: ["include"],
|
|
shared_libs: [
|
|
"libbase",
|
|
"liblog",
|
|
"libcutils",
|
|
],
|
|
cflags: [
|
|
"-Werror",
|
|
// "-DLOG_NDEBUG=0",
|
|
],
|
|
//----rk-code----
|
|
defaults: [
|
|
"rk_ebook_cc_defaults"
|
|
],
|
|
//---------------
|
|
}
|