| 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   deps = [ |  16   deps = [ | 
|  17     "//components/pref_registry", |  17     "//components/pref_registry", | 
|  18     "//components/prefs", |  18     "//components/prefs", | 
|  19   ] |  19   ] | 
|  20  |  20  | 
|  21   public_deps = [ |  21   public_deps = [ | 
|  22     "//base", |  22     "//base", | 
|  23     "//ios/public/provider/chrome/browser", |  23     "//ios/public/provider/chrome/browser", | 
 |  24     "//ios/public/provider/chrome/browser/voice", | 
|  24   ] |  25   ] | 
|  25 } |  26 } | 
|  26  |  27  | 
|  27 source_set("prefs") { |  28 source_set("prefs") { | 
|  28   sources = [ |  29   sources = [ | 
|  29     "voice_search_prefs_registration.cc", |  30     "voice_search_prefs_registration.cc", | 
|  30     "voice_search_prefs_registration.h", |  31     "voice_search_prefs_registration.h", | 
|  31   ] |  32   ] | 
|  32  |  33  | 
|  33   deps = [ |  34   deps = [ | 
|  34     "//components/pref_registry", |  35     "//components/pref_registry", | 
|  35     "//components/prefs", |  36     "//components/prefs", | 
|  36     "//ios/public/provider/chrome/browser", |  37     "//ios/public/provider/chrome/browser/voice", | 
|  37   ] |  38   ] | 
|  38 } |  39 } | 
|  39  |  40  | 
|  40 source_set("tts") { |  41 source_set("tts") { | 
|  41   sources = [ |  42   sources = [ | 
|  42     "text_to_speech_listener.h", |  43     "text_to_speech_listener.h", | 
|  43     "text_to_speech_listener.mm", |  44     "text_to_speech_listener.mm", | 
|  44     "text_to_speech_parser.h", |  45     "text_to_speech_parser.h", | 
|  45     "text_to_speech_parser.mm", |  46     "text_to_speech_parser.mm", | 
|  46     "voice_search_url_rewriter.h", |  47     "voice_search_url_rewriter.h", | 
|  47     "voice_search_url_rewriter.mm", |  48     "voice_search_url_rewriter.mm", | 
|  48   ] |  49   ] | 
|  49  |  50  | 
|  50   deps = [ |  51   deps = [ | 
|  51     ":voice", |  52     ":voice", | 
|  52     "//base", |  53     "//base", | 
|  53     "//components/google/core/browser", |  54     "//components/google/core/browser", | 
|  54     "//components/prefs", |  55     "//components/prefs", | 
|  55     "//ios/chrome/browser", |  56     "//ios/chrome/browser", | 
|  56     "//ios/chrome/browser/browser_state", |  57     "//ios/chrome/browser/browser_state", | 
|  57     "//ios/public/provider/chrome/browser", |  58     "//ios/public/provider/chrome/browser/voice", | 
|  58     "//ios/web", |  59     "//ios/web", | 
|  59     "//net", |  60     "//net", | 
|  60     "//third_party/google_toolbox_for_mac", |  61     "//third_party/google_toolbox_for_mac", | 
|  61     "//url", |  62     "//url", | 
|  62   ] |  63   ] | 
|  63 } |  64 } | 
|  64  |  65  | 
|  65 source_set("unit_tests") { |  66 source_set("unit_tests") { | 
|  66   configs += [ "//build/config/compiler:enable_arc" ] |  67   configs += [ "//build/config/compiler:enable_arc" ] | 
|  67   testonly = true |  68   testonly = true | 
|  68  |  69  | 
|  69   sources = [ |  70   sources = [ | 
|  70     "text_to_speech_listener_unittest.mm", |  71     "text_to_speech_listener_unittest.mm", | 
|  71     "text_to_speech_parser_unittest.mm", |  72     "text_to_speech_parser_unittest.mm", | 
|  72   ] |  73   ] | 
|  73  |  74  | 
|  74   deps = [ |  75   deps = [ | 
|  75     "//base", |  76     "//base", | 
|  76     "//ios/web", |  77     "//ios/web", | 
|  77     "//ios/web:test_support", |  78     "//ios/web:test_support", | 
|  78     "//testing/gtest", |  79     "//testing/gtest", | 
|  79     "//third_party/google_toolbox_for_mac", |  80     "//third_party/google_toolbox_for_mac", | 
|  80   ] |  81   ] | 
|  81  |  82  | 
|  82   public_deps = [ |  83   public_deps = [ | 
|  83     ":tts", |  84     ":tts", | 
|  84   ] |  85   ] | 
|  85 } |  86 } | 
| OLD | NEW |