From f09cb56f1906893f7bc365ee06f01b9712ddcb14 Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Thu, 17 Jan 2019 23:56:21 +0530 Subject: [PATCH] Refactors TtsPlatform and most platform implementations to content. https://chromium-review.googlesource.com/c/chromium/src/+/1352055 --- chromium_src/BUILD.gn | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/chromium_src/BUILD.gn b/chromium_src/BUILD.gn index 208fea0420..cf86fe1974 100644 --- a/chromium_src/BUILD.gn +++ b/chromium_src/BUILD.gn @@ -112,30 +112,21 @@ static_library("chrome") { "//chrome/browser/ui/views/color_chooser_win.cc", ] } + + if (is_linux) { + sources += [ "//chrome/browser/media/webrtc/window_icon_util_x11.cc" ] + } } if (enable_tts) { sources += [ "//chrome/browser/speech/tts_controller_delegate_impl.cc", "//chrome/browser/speech/tts_controller_delegate_impl.h", - "//chrome/browser/speech/tts_mac.mm", "//chrome/browser/speech/tts_message_filter.cc", "//chrome/browser/speech/tts_message_filter.h", - "//chrome/browser/speech/tts_platform.h ", - "//chrome/browser/speech/tts_platform_impl.cc", - "//chrome/browser/speech/tts_platform_impl.h", - "//chrome/browser/speech/tts_win.cc", "//chrome/renderer/tts_dispatcher.cc", "//chrome/renderer/tts_dispatcher.h", ] - - if (is_linux) { - sources += [ - "//chrome/browser/media/webrtc/window_icon_util_x11.cc", - "//chrome/browser/speech/tts_linux.cc", - ] - deps += [ "//third_party/speech-dispatcher" ] - } } if (enable_widevine) {