Index: components/translate/content/common/BUILD.gn |
diff --git a/components/translate/content/common/BUILD.gn b/components/translate/content/common/BUILD.gn |
index 37e271535adef1e13d0eb63f886fc396e0425cac..7e782e1d0bbbff4bb8c6d65409f5719e548fc33a 100644 |
--- a/components/translate/content/common/BUILD.gn |
+++ b/components/translate/content/common/BUILD.gn |
@@ -1,20 +1,16 @@ |
-# Copyright 2014 The Chromium Authors. All rights reserved. |
+# Copyright 2016 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") |
+import("//mojo/public/tools/bindings/mojom.gni") |
-static_library("common") { |
+mojom("common") { |
sources = [ |
- "translate_messages.cc", |
- "translate_messages.h", |
+ "translate.mojom", |
] |
- deps = [ |
- "//base", |
- "//components/translate/core/common", |
- "//components/translate/core/language_detection", |
- "//content/public/common", |
- "//ipc", |
+ public_deps = [ |
+ "//mojo/common:common_custom_types", |
+ "//url/mojo:url_mojom_gurl", |
] |
} |