Add old benchmarks back to make build (#2315) BUG=none
diff --git a/tensorflow/lite/micro/tools/make/Makefile b/tensorflow/lite/micro/tools/make/Makefile index e13c99d..08eb057 100644 --- a/tensorflow/lite/micro/tools/make/Makefile +++ b/tensorflow/lite/micro/tools/make/Makefile
@@ -293,12 +293,14 @@ MICRO_LITE_GEN_MUTABLE_OP_RESOLVER_TEST += \ $(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/tools/gen_micro_mutable_op_resolver_test/person_detect/Makefile.inc) +OLD_MICRO_LITE_BENCHMARKS := $(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/benchmarks/Makefile.inc) MICRO_LITE_BENCHMARKS := $(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/tools/benchmarking/Makefile.inc) MICRO_LITE_LAYER_BY_LAYER_OUTPUT := $(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/tools/Makefile.inc) # TODO(b/152645559): move all benchmarks to benchmarks directory. MICROLITE_BENCHMARK_SRCS := \ +$(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/benchmarks/*benchmark.cc) \ $(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/tools/benchmarking/*benchmark.cc) CODEGEN_PREPROCESSOR_PATH := $(BINDIR)codegen_preprocessor @@ -754,6 +756,7 @@ endif # Load the benchmarks. +include $(OLD_MICRO_LITE_BENCHMARKS) include $(MICRO_LITE_BENCHMARKS) # Load custom kernel tests.