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

Unified Diff: ios/chrome/browser/translate/BUILD.gn

Issue 2443373002: Split //ios/chrome/browser in multiple targets. (Closed)
Patch Set: Rebase Created 4 years, 2 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 | « ios/chrome/browser/sync/sessions/BUILD.gn ('k') | ios/chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/translate/BUILD.gn
diff --git a/ios/chrome/browser/translate/BUILD.gn b/ios/chrome/browser/translate/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..e0831b46202b8db1a7ff3bbff938e7b8fd0b057c
--- /dev/null
+++ b/ios/chrome/browser/translate/BUILD.gn
@@ -0,0 +1,60 @@
+# 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.
+
+source_set("translate") {
+ sources = [
+ "after_translate_infobar_controller.h",
+ "after_translate_infobar_controller.mm",
+ "before_translate_infobar_controller.h",
+ "before_translate_infobar_controller.mm",
+ "chrome_ios_translate_client.h",
+ "chrome_ios_translate_client.mm",
+ "never_translate_infobar_controller.h",
+ "never_translate_infobar_controller.mm",
+ "translate_accept_languages_factory.cc",
+ "translate_accept_languages_factory.h",
+ "translate_infobar_tags.h",
+ "translate_message_infobar_controller.h",
+ "translate_message_infobar_controller.mm",
+ "translate_service_ios.cc",
+ "translate_service_ios.h",
+ ]
+ deps = [
+ "//base",
+ "//components/infobars/core",
+ "//components/keyed_service/core",
+ "//components/keyed_service/ios",
+ "//components/prefs",
+ "//components/strings",
+ "//components/translate/core/browser",
+ "//components/translate/core/common",
+ "//components/translate/ios/browser",
+ "//components/web_resource",
+ "//ios/chrome/app/strings",
+ "//ios/chrome/app/theme",
+ "//ios/chrome/browser:browser_no_public_deps",
+ "//ios/chrome/browser/browser_state",
+ "//ios/chrome/browser/infobars",
+ "//ios/public/provider/chrome/browser",
+ "//ios/web",
+ "//ui/base",
+ "//ui/gfx",
+ "//url",
+ ]
+ allow_circular_includes_from = [ "//ios/chrome/browser/infobars" ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "translate_service_ios_unittest.cc",
+ ]
+ deps = [
+ ":translate",
+ "//ios/chrome/browser",
+ "//ios/public/provider/chrome/browser:test_support",
+ "//testing/gtest",
+ "//url",
+ ]
+}
« no previous file with comments | « ios/chrome/browser/sync/sessions/BUILD.gn ('k') | ios/chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698