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 | |
Diego Wilson | bb78e20 | 2016-11-08 10:14:08 -0800 | [diff] [blame] | 15 | subdirs = [ |
| 16 | "test", |
| 17 | ] |
| 18 | |
Dan Willemsen | e4376b8 | 2016-09-26 13:58:25 -0700 | [diff] [blame] | 19 | cc_binary_host { |
| 20 | name: "c2hal", |
Steven Moreland | 6081863 | 2017-02-04 00:33:42 -0800 | [diff] [blame] | 21 | cflags: hidl_flags, |
Dan Willemsen | e4376b8 | 2016-09-26 13:58:25 -0700 | [diff] [blame] | 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 | |
Steven Moreland | 6081863 | 2017-02-04 00:33:42 -0800 | [diff] [blame] | 46 | static_libs: ["libutils"] |
Dan Willemsen | e4376b8 | 2016-09-26 13:58:25 -0700 | [diff] [blame] | 47 | } |