Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / components / translate / content / renderer / BUILD.gn
blob3a82f2a95a72a841e11fc408bbbb129bddcff02e
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     "data_file_renderer_cld_data_provider.cc",
10     "data_file_renderer_cld_data_provider.h",
11     "renderer_cld_data_provider.cc",
12     "renderer_cld_data_provider.h",
13     "renderer_cld_data_provider_factory.cc",
14     "renderer_cld_data_provider_factory.h",
15     "renderer_cld_utils.cc",
16     "renderer_cld_utils.h",
17     "translate_helper.cc",
18     "translate_helper.h",
19   ]
21   deps = [
22     "//base",
23     "//components/translate/content/common",
24     "//components/translate/core/common",
25     "//components/translate/core/language_detection",
26     "//content/public/common",
27     "//content/public/renderer",
28     "//ipc",
29     "//third_party/WebKit/public:blink",
30     "//url",
31     "//v8",
32   ]
34   if (cld_version == 0 || cld_version == 2) {
35     deps += [ "//third_party/cld_2" ]
36   }