Index: components/translate/content/common/BUILD.gn |
diff --git a/components/translate/content/common/BUILD.gn b/components/translate/content/common/BUILD.gn |
index 44affb39e6d0285ae2b94ddc9bcffe74685bc8bc..bbcdb106b3e41ca69bf6414fbd614310b89b82be 100644 |
--- a/components/translate/content/common/BUILD.gn |
+++ b/components/translate/content/common/BUILD.gn |
@@ -6,9 +6,12 @@ import("//build/config/features.gni") |
static_library("common") { |
sources = [ |
+ "cld_data_source.cc", |
+ "cld_data_source.h", |
+ "data_file_cld_data_provider_messages.cc", |
+ "data_file_cld_data_provider_messages.h", |
"translate_messages.cc", |
"translate_messages.h", |
- "cld_data_source.h", |
] |
deps = [ |
@@ -19,19 +22,4 @@ static_library("common") { |
"//ipc", |
] |
- if (cld2_data_source == "standalone" || cld2_data_source == "component") { |
- sources += [ |
- "data_file_cld_data_provider_messages.cc", |
- "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" ] |
- } |
} |