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") {
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",
23 "//components/translate/content/common",
24 "//components/translate/core/common",
25 "//components/translate/core/language_detection",
26 "//content/public/common",
27 "//content/public/renderer",
29 "//third_party/WebKit/public:blink",
34 if (cld_version == 0 || cld_version == 2) {
35 deps += [ "//third_party/cld_2" ]