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

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

Issue 2143383002: [Translate] Migrate IPCs to Mojo interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix trybots Created 4 years, 4 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
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",
]
}
« no previous file with comments | « components/translate/content/browser/content_translate_driver.cc ('k') | components/translate/content/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698