chromium/chrome/services/speech/buildflags/BUILD.gn

# Copyright 2022 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/buildflag_header.gni")
import("//chrome/services/speech/buildflags/buildflags.gni")

# This target is in a separate directory so all build configs can get these
# preprocessor defines without bringing in all of the parent BUILD.gn.

buildflag_header("buildflags") {
  header = "buildflags.h"
  flags = [
    "ENABLE_SPEECH_SERVICE=$enable_speech_service",
    "ENABLE_BROWSER_SPEECH_SERVICE=$enable_browser_speech_service",
    "ENABLE_SERVER_BASED_RECOGNITION_RECOGNIZER=$enable_server_based_recognition",
  ]
}