| Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 1 | // Copyright 2012 The Android Open Source Project | 
 | 2 |  | 
| Bob Badour | d69ad69 | 2021-02-16 19:02:14 -0800 | [diff] [blame] | 3 | package { | 
 | 4 |     default_applicable_licenses: ["Android-Apache-2.0"], | 
 | 5 | } | 
 | 6 |  | 
| Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 7 | cc_library { | 
 | 8 |     name: "libsuspend", | 
| Yifan Hong | b200c60 | 2021-10-20 22:42:35 -0700 | [diff] [blame] | 9 |     vendor_available: true, | 
| 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 | } |