blob: e6d20d9623ee05f15f9d297b4757d2fdddb1f561 [file] [log] [blame]
import("//build/buildflag_header.gni")
import("//components/optimization_guide/features.gni")
import("//third_party/mediapipe/features.gni")
import("//third_party/tflite/features.gni")
buildflag_header("machine_learning_tflite_buildflags") {
header = "machine_learning_tflite_buildflags.h"
flags = [
"BUILD_WITH_MEDIAPIPE_LIB=$build_with_mediapipe_lib",
"BUILD_WITH_TFLITE_LIB=$build_with_tflite_lib",
"BUILD_TFLITE_WITH_XNNPACK=$build_tflite_with_xnnpack",
]
}
buildflag_header("optimization_guide_buildflags") {
header = "optimization_guide_buildflags.h"
flags = [ "BUILD_WITH_INTERNAL_OPTIMIZATION_GUIDE=$build_with_internal_optimization_guide" ]
}