Steven Moreland | 66ac401 | 2016-12-21 15:06:10 -0800 | [diff] [blame] | 1 | // Copyright (C) 2016 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
Dan Willemsen | 376ac9b | 2016-09-13 16:32:54 -0700 | [diff] [blame] | 15 | cc_binary { |
| 16 | name: "hwservicemanager", |
Steven Moreland | d83d110 | 2016-10-25 15:01:47 -0700 | [diff] [blame] | 17 | init_rc: [ |
| 18 | "hwservicemanager.rc", |
| 19 | ], |
| 20 | srcs: [ |
Martijn Coenen | 7ce83be | 2017-04-07 16:19:32 -0700 | [diff] [blame] | 21 | "AccessControl.cpp", |
Steven Moreland | 2173d3c | 2016-11-09 15:00:58 -0800 | [diff] [blame] | 22 | "HidlService.cpp", |
Steven Moreland | d83d110 | 2016-10-25 15:01:47 -0700 | [diff] [blame] | 23 | "ServiceManager.cpp", |
| 24 | "service.cpp", |
Steven Moreland | 66ac401 | 2016-12-21 15:06:10 -0800 | [diff] [blame] | 25 | "TokenManager.cpp", |
Steven Moreland | 37aed80 | 2017-04-06 09:16:42 -0700 | [diff] [blame] | 26 | "Vintf.cpp", |
Steven Moreland | d83d110 | 2016-10-25 15:01:47 -0700 | [diff] [blame] | 27 | ], |
Dan Willemsen | 376ac9b | 2016-09-13 16:32:54 -0700 | [diff] [blame] | 28 | cflags: [ |
| 29 | "-Wall", |
| 30 | "-Wextra", |
| 31 | "-Werror", |
| 32 | ], |
| 33 | shared_libs: [ |
Steven Moreland | 66ac401 | 2016-12-21 15:06:10 -0800 | [diff] [blame] | 34 | "android.hidl.token@1.0", |
Steven Moreland | 5fb3d65 | 2016-11-03 13:45:18 -0700 | [diff] [blame] | 35 | "libbase", |
Steven Moreland | 78d1d05 | 2017-03-16 02:04:44 -0700 | [diff] [blame] | 36 | "libcrypto", // for TokenManager |
Steven Moreland | 66ac401 | 2016-12-21 15:06:10 -0800 | [diff] [blame] | 37 | "libcutils", |
Yifan Hong | 275a88c | 2016-11-16 14:16:32 -0800 | [diff] [blame] | 38 | "libhidlbase", |
Steven Moreland | dc36fb2 | 2017-05-01 10:20:05 -0700 | [diff] [blame] | 39 | "libhidltransport", |
Steven Moreland | 37aed80 | 2017-04-06 09:16:42 -0700 | [diff] [blame] | 40 | "libhidl-gen-utils", |
Steven Moreland | 66ac401 | 2016-12-21 15:06:10 -0800 | [diff] [blame] | 41 | "libhwbinder", |
Dan Willemsen | 376ac9b | 2016-09-13 16:32:54 -0700 | [diff] [blame] | 42 | "liblog", |
| 43 | "libselinux", |
Dan Willemsen | 376ac9b | 2016-09-13 16:32:54 -0700 | [diff] [blame] | 44 | "libutils", |
Steven Moreland | 37aed80 | 2017-04-06 09:16:42 -0700 | [diff] [blame] | 45 | "libvintf", |
Steven Moreland | d83d110 | 2016-10-25 15:01:47 -0700 | [diff] [blame] | 46 | ], |
Dan Willemsen | 376ac9b | 2016-09-13 16:32:54 -0700 | [diff] [blame] | 47 | product_variables: { |
| 48 | binder32bit: { |
| 49 | cflags: ["-DBINDER_IPC_32BIT=1"], |
| 50 | }, |
| 51 | }, |
| 52 | } |