Todd Poynor | c7d606d | 2017-06-22 18:13:56 -0700 | [diff] [blame] | 1 | subdirs = [ |
| 2 | "libthermalcallback" |
| 3 | ] |
| 4 | |
Todd Poynor | b280352 | 2017-05-24 17:19:18 -0700 | [diff] [blame] | 5 | cc_library { |
| 6 | name: "libthermalservice", |
| 7 | |
| 8 | srcs: [ |
| 9 | "aidl/android/os/IThermalEventListener.aidl", |
| 10 | "aidl/android/os/IThermalService.aidl", |
| 11 | "aidl/android/os/Temperature.cpp", |
| 12 | ], |
| 13 | aidl: { |
| 14 | include_dirs: ["frameworks/native/services/thermalservice/aidl"], |
| 15 | export_aidl_headers: true, |
| 16 | }, |
| 17 | export_include_dirs: ["aidl"], |
| 18 | |
| 19 | shared_libs: [ |
| 20 | "libbinder", |
| 21 | "libutils", |
| 22 | ], |
| 23 | |
| 24 | cflags: [ |
| 25 | "-Wall", |
| 26 | "-Werror", |
| 27 | "-Wunused", |
| 28 | "-Wunreachable-code", |
| 29 | ], |
| 30 | } |
| 31 | |
| 32 | cc_binary { |
| 33 | name: "thermalserviced", |
| 34 | |
| 35 | srcs: [ |
| 36 | "ThermalService.cpp", |
| 37 | "thermalserviced.cpp", |
| 38 | ], |
| 39 | |
Todd Poynor | c7d606d | 2017-06-22 18:13:56 -0700 | [diff] [blame] | 40 | include_dirs: ["frameworks/native"], |
| 41 | |
Todd Poynor | b280352 | 2017-05-24 17:19:18 -0700 | [diff] [blame] | 42 | shared_libs: [ |
| 43 | "libthermalservice", |
| 44 | "libbinder", |
| 45 | "libutils", |
Todd Poynor | c7d606d | 2017-06-22 18:13:56 -0700 | [diff] [blame] | 46 | "libthermalcallback", |
| 47 | "android.hardware.thermal@1.1", |
| 48 | "libhidlbase", |
| 49 | "libhidltransport", |
| 50 | "liblog", |
Todd Poynor | b280352 | 2017-05-24 17:19:18 -0700 | [diff] [blame] | 51 | ], |
| 52 | |
| 53 | cflags: [ |
| 54 | "-Wall", |
| 55 | "-Werror", |
| 56 | "-Wunused", |
| 57 | "-Wunreachable-code", |
| 58 | ], |
| 59 | |
| 60 | init_rc: ["thermalservice.rc"], |
| 61 | } |