Dan Willemsen | e4376b8 | 2016-09-26 13:58:25 -0700 | [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 | |
Tri Vo | 7089aa4 | 2017-07-28 12:58:17 -0700 | [diff] [blame] | 15 | cc_library { |
Dan Willemsen | e4376b8 | 2016-09-26 13:58:25 -0700 | [diff] [blame] | 16 | name: "libhidl-gen-utils", |
| 17 | host_supported: true, |
Steven Moreland | 3ee43c8 | 2017-08-04 11:03:02 -0700 | [diff] [blame] | 18 | defaults: ["hidl-gen-defaults"], |
Dan Willemsen | e4376b8 | 2016-09-26 13:58:25 -0700 | [diff] [blame] | 19 | srcs: [ |
Yifan Hong | 6b7f070 | 2017-04-03 11:33:22 -0700 | [diff] [blame] | 20 | "FQName.cpp", |
Dan Willemsen | e4376b8 | 2016-09-26 13:58:25 -0700 | [diff] [blame] | 21 | "Formatter.cpp", |
| 22 | "StringHelper.cpp", |
Dan Willemsen | e4376b8 | 2016-09-26 13:58:25 -0700 | [diff] [blame] | 23 | ], |
| 24 | shared_libs: [ |
| 25 | "libbase", |
Steven Moreland | 5e5794b | 2017-09-18 16:05:45 -0700 | [diff] [blame] | 26 | ], |
Dan Willemsen | e4376b8 | 2016-09-26 13:58:25 -0700 | [diff] [blame] | 27 | |
| 28 | local_include_dirs: ["include/hidl-util"], |
| 29 | export_include_dirs: ["include"], |
Yuexi Ma | aae820a | 2017-04-10 11:25:02 -0700 | [diff] [blame] | 30 | compile_multilib: "both", |
Dan Willemsen | e4376b8 | 2016-09-26 13:58:25 -0700 | [diff] [blame] | 31 | } |