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

Unified Diff: components/translate/content/common/BUILD.gn

Issue 422843009: Add a new CldDataSource class that can be queried at runtime. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add BUILD.gn 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/translate.gypi ('k') | components/translate/content/common/cld_data_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/content/common/BUILD.gn
diff --git a/components/translate/content/common/BUILD.gn b/components/translate/content/common/BUILD.gn
index 012504610d4aa184f5b2fdf5b57bed8aa695fa58..44affb39e6d0285ae2b94ddc9bcffe74685bc8bc 100644
--- a/components/translate/content/common/BUILD.gn
+++ b/components/translate/content/common/BUILD.gn
@@ -8,6 +8,7 @@ static_library("common") {
sources = [
"translate_messages.cc",
"translate_messages.h",
+ "cld_data_source.h",
]
deps = [
@@ -24,4 +25,13 @@ static_library("common") {
"data_file_cld_data_provider_messages.h",
]
}
+ if (cld2_data_source == "standalone") {
+ sources += [ "standalone_cld_data_source.cc" ]
+ }
+ if (cld2_data_source == "component") {
+ sources += [ "component_cld_data_source.cc" ]
+ }
+ if (cld2_data_source == "static") {
+ sources += [ "static_cld_data_source.cc" ]
+ }
}
« no previous file with comments | « components/translate.gypi ('k') | components/translate/content/common/cld_data_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698