| 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"
|
| +}
|
|
|