blob: b8826cbc8ac3497e60839cd2ab50132f6a06c417 [file] [log] [blame]
telsoa015307bc12018-03-09 13:51:08 +00001//
2// Copyright © 2017 ARM Ltd. All rights reserved.
David Beck93e48982018-09-05 13:05:09 +01003// SPDX-License-Identifier: MIT
telsoa015307bc12018-03-09 13:51:08 +00004//
5
telsoa015307bc12018-03-09 13:51:08 +00006////////////////////////////////////////////
7// //
Sadik Armaganf36e10b2021-01-11 16:34:01 +00008// flatbuffers libs //
9// //
10////////////////////////////////////////////
11cc_defaults {
12 name: "libflatbuffers-defaults",
13 proprietary: true,
14 export_include_dirs: [ "flatbuffers-1.12.0/",
15 "flatbuffers-1.12.0/include",
16 ],
17 local_include_dirs: ["flatbuffers-1.12.0/include",],
18 cflags: [
19 "-O3",
20 "-fexceptions",
21 "-Wno-unused-parameter",
22 "-DFLATBUFFERS_BUILD_FLATC=1"
23 ],
24 cppflags: [
25 "-std=c++14"
26 ],
27 rtti: true,
28}
29
30cc_library_static {
31 name: "libflatbuffers-framework",
32 defaults: ["libflatbuffers-defaults"],
33 srcs: [
34 "flatbuffers-1.12.0/src/flatc.cpp",
35 "flatbuffers-1.12.0/src/flatc_main.cpp",
36 ],
37}
38
telsoa015307bc12018-03-09 13:51:08 +000039subdirs = [
40 "armnn",
41]