blob: 03987f51e8e8ad758573dafa33623ec50640fa9d [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
Diego Wilsonbb78e202016-11-08 10:14:08 -080015subdirs = [
16 "test",
17]
18
Dan Willemsene4376b82016-09-26 13:58:25 -070019cc_binary_host {
20 name: "c2hal",
Steven Moreland60818632017-02-04 00:33:42 -080021 cflags: hidl_flags,
Dan Willemsene4376b82016-09-26 13:58:25 -070022 srcs: [
23 "AST.cpp",
24 "c2hal_l.ll",
25 "c2hal_y.yy",
26 "CompositeDeclaration.cpp",
27 "Declaration.cpp",
28 "Define.cpp",
29 "EnumVarDeclaration.cpp",
30 "Expression.cpp",
31 "FunctionDeclaration.cpp",
32 "Include.cpp",
33 "main.cpp",
34 "Note.cpp",
35 "Type.cpp",
36 "TypeDef.cpp",
37 "VarDeclaration.cpp",
38 ],
39
40 shared_libs: [
41 "libbase",
42 "liblog",
43 "libhidl-gen-utils",
44 ],
45
Steven Moreland60818632017-02-04 00:33:42 -080046 static_libs: ["libutils"]
Dan Willemsene4376b82016-09-26 13:58:25 -070047}