mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
53 lines
1.1 KiB
Plaintext
53 lines
1.1 KiB
Plaintext
|
# Copyright 2015 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.
|
||
|
|
||
|
source_set("voice") {
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
sources = [
|
||
|
"text_to_speech_player+subclassing.h",
|
||
|
"text_to_speech_player.h",
|
||
|
"text_to_speech_player.mm",
|
||
|
"voice_search_notification_names.h",
|
||
|
"voice_search_notification_names.mm",
|
||
|
]
|
||
|
|
||
|
deps = [
|
||
|
"//base",
|
||
|
]
|
||
|
|
||
|
libs = [ "AVFoundation.framework" ]
|
||
|
}
|
||
|
|
||
|
source_set("unit_tests") {
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
testonly = true
|
||
|
|
||
|
sources = [
|
||
|
"text_to_speech_player_unittest.mm",
|
||
|
]
|
||
|
|
||
|
deps = [
|
||
|
":voice",
|
||
|
":voice_unit_tests_bundle_data",
|
||
|
"//base",
|
||
|
"//base/test:test_support",
|
||
|
"//ios/web",
|
||
|
"//ios/web/public/test",
|
||
|
"//testing/gtest",
|
||
|
"//url",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
bundle_data("voice_unit_tests_bundle_data") {
|
||
|
visibility = [ ":unit_tests" ]
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"//ios/chrome/test/data/voice/test_sound.m4a",
|
||
|
]
|
||
|
outputs = [
|
||
|
"{{bundle_resources_dir}}/{{source_root_relative_dir}}/" +
|
||
|
"{{source_file_part}}",
|
||
|
]
|
||
|
}
|