| Index: components/translate/content/common/BUILD.gn
|
| diff --git a/components/translate/content/common/BUILD.gn b/components/translate/content/common/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..012504610d4aa184f5b2fdf5b57bed8aa695fa58
|
| --- /dev/null
|
| +++ b/components/translate/content/common/BUILD.gn
|
| @@ -0,0 +1,27 @@
|
| +# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +import("//build/config/features.gni")
|
| +
|
| +static_library("common") {
|
| + sources = [
|
| + "translate_messages.cc",
|
| + "translate_messages.h",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base",
|
| + "//components/translate/core/common",
|
| + "//components/translate/core/language_detection",
|
| + "//content/public/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",
|
| + ]
|
| + }
|
| +}
|
|
|