blob: f7cdadcf23150d684a22d6697808c44dc9378a37 [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,
Mike Kellya3ba4be2022-05-20 17:18:50 +010014 export_include_dirs: [ "flatbuffers/",
15 "flatbuffers/include",
Sadik Armaganf36e10b2021-01-11 16:34:01 +000016 ],
Mike Kellya3ba4be2022-05-20 17:18:50 +010017 local_include_dirs: ["flatbuffers/include",],
Sadik Armaganf36e10b2021-01-11 16:34:01 +000018 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: [
Mike Kellya3ba4be2022-05-20 17:18:50 +010034 "flatbuffers/src/flatc.cpp",
35 "flatbuffers/src/flatc_main.cpp",
Sadik Armaganf36e10b2021-01-11 16:34:01 +000036 ],
37}
38
telsoa015307bc12018-03-09 13:51:08 +000039subdirs = [
40 "armnn",
41]