• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
15subdirs = [
16    "test",
17]
18
19cc_binary_host {
20    name: "c2hal",
21    cflags: hidl_flags,
22    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
46    static_libs: ["libutils"]
47}
48