| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 source_set("voice") { | 5 source_set("voice") { |
| 6 sources = [ | 6 sources = [ |
| 7 "speech_input_locale.h", | 7 "speech_input_locale.h", |
| 8 "speech_input_locale_config.h", | 8 "speech_input_locale_config.h", |
| 9 "speech_input_locale_config.mm", | 9 "speech_input_locale_config.mm", |
| 10 "speech_input_locale_config_impl.h", | 10 "speech_input_locale_config_impl.h", |
| 11 "speech_input_locale_config_impl.mm", | 11 "speech_input_locale_config_impl.mm", |
| 12 "speech_input_locale_match_config.h", | 12 "speech_input_locale_match_config.h", |
| 13 "speech_input_locale_match_config.mm", | 13 "speech_input_locale_match_config.mm", |
| 14 ] | 14 ] |
| 15 | 15 |
| 16 public_deps = [ | 16 public_deps = [ |
| 17 "//base", | 17 "//base", |
| 18 "//ios/chrome/browser", | 18 "//ios/chrome/browser", |
| 19 "//ios/public/provider/chrome/browser", | 19 "//ios/public/provider/chrome/browser", |
| 20 ] | 20 ] |
| 21 } | 21 } |
| 22 |
| 23 source_set("tts") { |
| 24 sources = [ |
| 25 "text_to_speech_listener.h", |
| 26 "text_to_speech_listener.mm", |
| 27 "text_to_speech_parser.h", |
| 28 "text_to_speech_parser.mm", |
| 29 "voice_search_url_rewriter.h", |
| 30 "voice_search_url_rewriter.mm", |
| 31 ] |
| 32 |
| 33 deps = [ |
| 34 ":voice", |
| 35 "//base", |
| 36 "//components/google/core/browser", |
| 37 "//components/prefs", |
| 38 "//ios/chrome/browser", |
| 39 "//ios/public/provider/chrome/browser", |
| 40 "//ios/web", |
| 41 "//net", |
| 42 "//third_party/google_toolbox_for_mac", |
| 43 "//url", |
| 44 ] |
| 45 } |
| 46 |
| 47 source_set("unit_tests") { |
| 48 testonly = true |
| 49 |
| 50 sources = [ |
| 51 "text_to_speech_listener_unittest.mm", |
| 52 "text_to_speech_parser_unittest.mm", |
| 53 ] |
| 54 |
| 55 deps = [ |
| 56 "//base", |
| 57 "//ios/web", |
| 58 "//ios/web:test_support", |
| 59 "//testing/gtest", |
| 60 "//third_party/google_toolbox_for_mac", |
| 61 ] |
| 62 |
| 63 public_deps = [ |
| 64 ":tts", |
| 65 ] |
| 66 } |
| OLD | NEW |