blob: 58fa517a90a8842e818bb72e5ab829d68e8de550 [file] [log] [blame]
Dan Willemsene4376b82016-09-26 13:58:25 -07001// 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
15cc_library_shared {
16 name: "libhidl-gen-utils",
17 host_supported: true,
Dan Willemsen2cf4b9a2017-04-07 13:21:11 -070018 vendor_available: true,
Steven Moreland60818632017-02-04 00:33:42 -080019 cflags: hidl_flags,
Dan Willemsene4376b82016-09-26 13:58:25 -070020 srcs: [
Yifan Hong6b7f0702017-04-03 11:33:22 -070021 "FQName.cpp",
Dan Willemsene4376b82016-09-26 13:58:25 -070022 "Formatter.cpp",
23 "StringHelper.cpp",
Dan Willemsene4376b82016-09-26 13:58:25 -070024 ],
25 shared_libs: [
26 "libbase",
27 "liblog",
28 ],
29
30 local_include_dirs: ["include/hidl-util"],
31 export_include_dirs: ["include"],
Yuexi Maaae820a2017-04-10 11:25:02 -070032 compile_multilib: "both",
Dan Willemsene4376b82016-09-26 13:58:25 -070033}