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

Unified Diff: ios/chrome/browser/ui/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/translate/BUILD.gn ('k') | ios/chrome/browser/ui/alert_coordinator/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/BUILD.gn
diff --git a/ios/chrome/browser/ui/BUILD.gn b/ios/chrome/browser/ui/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..0f061806e861dbf438f4409ec83dad3d031f7213
--- /dev/null
+++ b/ios/chrome/browser/ui/BUILD.gn
@@ -0,0 +1,84 @@
+# 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/ios/rules.gni")
+
+source_set("ui") {
+ sources = [
+ "UIView+SizeClassSupport.h",
+ "UIView+SizeClassSupport.mm",
+ "animation_util.h",
+ "animation_util.mm",
+ "background_generator.h",
+ "background_generator.mm",
+ "browser_otr_state.h",
+ "browser_otr_state.mm",
+ "favicon_view.h",
+ "favicon_view.mm",
+ "file_locations.h",
+ "file_locations.mm",
+ "image_util.h",
+ "image_util.mm",
+ "native_content_controller.h",
+ "native_content_controller.mm",
+ "orientation_limiting_navigation_controller.h",
+ "orientation_limiting_navigation_controller.mm",
+ "prerender_final_status.h",
+ "reversed_animation.h",
+ "reversed_animation.mm",
+ "rtl_geometry.h",
+ "rtl_geometry.mm",
+ "show_mail_composer_util.h",
+ "show_mail_composer_util.mm",
+ "show_privacy_settings_util.h",
+ "show_privacy_settings_util.mm",
+ "side_swipe_gesture_recognizer.h",
+ "side_swipe_gesture_recognizer.mm",
+ "ui_util.h",
+ "ui_util.mm",
+ "uikit_ui_util.h",
+ "uikit_ui_util.mm",
+ "url_loader.h",
+ ]
+ deps = [
+ "//base",
+ "//base:i18n",
+ "//ios/chrome/browser:browser_no_public_deps",
+ "//ios/chrome/browser/favicon",
+ "//ios/chrome/browser/ui/commands",
+ "//ios/public/provider/chrome/browser",
+ "//ios/web",
+ "//ui/base",
+ "//ui/gfx",
+ ]
+ allow_circular_includes_from = [ "//ios/chrome/browser/ui/commands" ]
+ libs = [
+ "Accelerate.framework",
+ "CoreGraphics.framework",
+ "QuartzCore.framework",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "native_content_controller_unittest.mm",
+ "ui_util_unittest.mm",
+ "uikit_ui_util_unittest.mm",
+ ]
+ deps = [
+ ":native_content_controller_test_xib",
+ ":ui",
+ "//base",
+ "//testing/gtest",
+ "//third_party/ocmock",
+ "//url",
+ ]
+}
+
+bundle_data_xib("native_content_controller_test_xib") {
+ visibility = [ ":unit_tests" ]
+ testonly = true
+ source = "native_content_controller_test.xib"
+}
« no previous file with comments | « ios/chrome/browser/translate/BUILD.gn ('k') | ios/chrome/browser/ui/alert_coordinator/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698