aboutsummaryrefslogtreecommitdiff
path: root/src/armnnTfLiteParser/test/Schema.hpp
diff options
context:
space:
mode:
authorRob Hughes <robert.hughes@arm.com>2019-12-20 17:43:16 +0000
committerDerek Lamberti <derek.lamberti@arm.com>2019-12-31 09:54:23 +0000
commitff3c426ffd799abd66e4280da559384d86702721 (patch)
tree9fbee031285d57ea32afc6e2d86a5aace9466a2b /src/armnnTfLiteParser/test/Schema.hpp
parentfc6bf05e536ee352a1b304c6acff36c6b9ea0ead (diff)
downloadarmnn-ff3c426ffd799abd66e4280da559384d86702721.tar.gz
Replace Schema.s with generated .cpp file
This removes the dependency on an assembler (which must support .incbin). Instead we use xxd as a custom build command to generate a .cpp file which is included in the build. This makes it possible to build on Windows, for which you need cp.exe (from GNU Core Utils) and xxd.exe (from Vim). Change-Id: I3a929640b1fdbfc27e2c38abd05bf3a298245ba5 Signed-off-by: Robert Hughes <robert.hughes@arm.com>
Diffstat (limited to 'src/armnnTfLiteParser/test/Schema.hpp')
-rw-r--r--src/armnnTfLiteParser/test/Schema.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/armnnTfLiteParser/test/Schema.hpp b/src/armnnTfLiteParser/test/Schema.hpp
index 49ecc0e4a4..243811553f 100644
--- a/src/armnnTfLiteParser/test/Schema.hpp
+++ b/src/armnnTfLiteParser/test/Schema.hpp
@@ -3,7 +3,5 @@
// SPDX-License-Identifier: MIT
//
-extern "C" {
-extern const char tflite_schema_start;
-extern const char tflite_schema_end;
-}
+extern unsigned char g_TfLiteSchemaText[];
+extern unsigned int g_TfLiteSchemaText_len;