Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 1 | // Copyright 2012 The Android Open Source Project |
| 2 | |
| 3 | cc_library { |
| 4 | name: "libsuspend", |
Jayant Chowdhary | e37259e | 2017-05-16 15:04:53 -0700 | [diff] [blame] | 5 | vendor_available: true, |
Justin Yun | 9b0ed72 | 2017-07-24 15:19:45 +0900 | [diff] [blame] | 6 | vndk: { |
| 7 | enabled: true, |
| 8 | }, |
Jayant Chowdhary | e37259e | 2017-05-16 15:04:53 -0700 | [diff] [blame] | 9 | |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 10 | srcs: [ |
| 11 | "autosuspend.c", |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 12 | "autosuspend_wakeup_count.c", |
| 13 | ], |
| 14 | export_include_dirs: ["include"], |
| 15 | local_include_dirs: ["include"], |
| 16 | shared_libs: [ |
| 17 | "liblog", |
| 18 | "libcutils", |
| 19 | ], |
| 20 | cflags: [ |
| 21 | "-Werror", |
| 22 | // "-DLOG_NDEBUG=0", |
| 23 | ], |
| 24 | } |