Roll src/third_party/WebKit eac3800:0237a66 (svn 202606:202607)
[chromium-blink-merge.git] / components / translate / content / renderer / BUILD.gn
blob54ecfd6db40a47e45cd23e61ff9268283e1aba3d
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/features.gni")
7 static_library("renderer") {
8   sources = [
9     "renderer_cld_data_provider.cc",
10     "renderer_cld_data_provider.h",
11     "renderer_cld_data_provider_factory.cc",
12     "renderer_cld_data_provider_factory.h",
13     "renderer_cld_utils.cc",
14     "renderer_cld_utils.h",
15     "translate_helper.cc",
16     "translate_helper.h",
17   ]
19   deps = [
20     "//base",
21     "//components/translate/content/common",
22     "//components/translate/core/common",
23     "//components/translate/core/language_detection",
24     "//content/public/common",
25     "//content/public/renderer",
26     "//ipc",
27     "//third_party/WebKit/public:blink",
28     "//url",
29     "//v8",
30   ]
32   if (cld_version == 2) {
33     sources += [
34       "data_file_renderer_cld_data_provider.cc",
35       "data_file_renderer_cld_data_provider.h",
36     ]
37     deps += [ "//third_party/cld_2" ]
38   }