Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Side by Side Diff: components/translate/content/renderer/BUILD.gn

Issue 382663002: Add components and CLD to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 import("//build/config/features.gni")
6
7 static_library("renderer") {
8 sources = [
9 "renderer_cld_data_provider.h",
10 ]
11
12 deps = [
13 "//base",
14 "//content/public/common",
15 "//ipc",
16 ]
17
18 if (cld_version == 0 || cld_version == 2) {
19 deps += [ "//third_party/cld_2" ]
20 }
21
22 if (cld2_data_source == "standalone" || cld2_data_source == "component") {
23 sources += [
24 "data_file_renderer_cld_data_provider.cc",
25 "data_file_renderer_cld_data_provider.h",
26 ]
27 } else if (cld2_data_source == "static") {
28 sources += [
29 "static_renderer_cld_data_provider.cc",
30 "static_renderer_cld_data_provider.h",
31 ]
32 }
33 }
OLDNEW
« no previous file with comments | « components/translate/content/common/BUILD.gn ('k') | components/translate/core/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698