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 | 6a7e882 | 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", |
Steve Paik | db88774 | 2017-12-20 15:09:21 -0800 | [diff] [blame] | 12 | "autosuspend_wakeup_count.cpp", |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 13 | ], |
| 14 | export_include_dirs: ["include"], |
| 15 | local_include_dirs: ["include"], |
| 16 | shared_libs: [ |
Steve Paik | d5dc807 | 2017-12-21 12:44:46 -0800 | [diff] [blame] | 17 | "libbase", |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 18 | "liblog", |
| 19 | "libcutils", |
| 20 | ], |
| 21 | cflags: [ |
| 22 | "-Werror", |
| 23 | // "-DLOG_NDEBUG=0", |
| 24 | ], |
| 25 | } |