telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 ARM Ltd. All rights reserved. |
David Beck | 93e4898 | 2018-09-05 13:05:09 +0100 | [diff] [blame] | 3 | // SPDX-License-Identifier: MIT |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 4 | // |
| 5 | |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 6 | //////////////////////////////////////////// |
| 7 | // // |
Sadik Armagan | f36e10b | 2021-01-11 16:34:01 +0000 | [diff] [blame] | 8 | // flatbuffers libs // |
| 9 | // // |
| 10 | //////////////////////////////////////////// |
| 11 | cc_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 | |
| 30 | cc_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 | |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 39 | subdirs = [ |
| 40 | "armnn", |
| 41 | ] |