| # Copyright 2020 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/chromeos/ui_mode.gni") |
| |
| source_set("lib") { |
| sources = [ |
| "audio_source_fetcher_impl.cc", |
| "audio_source_fetcher_impl.h", |
| "speech_recognition_recognizer_impl.cc", |
| "speech_recognition_recognizer_impl.h", |
| "speech_recognition_service_impl.cc", |
| "speech_recognition_service_impl.h", |
| ] |
| |
| if (is_chromeos_ash) { |
| sources += [ |
| "cros_speech_recognition_recognizer_impl.cc", |
| "cros_speech_recognition_recognizer_impl.h", |
| ] |
| } |
| |
| public_deps = [ |
| "//media/mojo/mojom", |
| "//mojo/public/cpp/bindings", |
| "//mojo/public/mojom/base", |
| ] |
| |
| deps = [ |
| "//base", |
| "//build:chromeos_buildflags", |
| "//chrome/services/speech/soda", |
| "//chrome/services/speech/soda:soda_api_proto", |
| "//components/soda:constants", |
| "//components/speech", |
| "//content/public/browser:proto", |
| "//google_apis", |
| "//media/mojo/common", |
| "//mojo/public/cpp/bindings", |
| "//net", |
| "//services/audio/public/cpp", |
| ] |
| } |