| OLD | NEW |
| (Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/config/ios/rules.gni") |
| 6 |
| 7 source_set("ui") { |
| 8 sources = [ |
| 9 "UIView+SizeClassSupport.h", |
| 10 "UIView+SizeClassSupport.mm", |
| 11 "animation_util.h", |
| 12 "animation_util.mm", |
| 13 "background_generator.h", |
| 14 "background_generator.mm", |
| 15 "browser_otr_state.h", |
| 16 "browser_otr_state.mm", |
| 17 "favicon_view.h", |
| 18 "favicon_view.mm", |
| 19 "file_locations.h", |
| 20 "file_locations.mm", |
| 21 "image_util.h", |
| 22 "image_util.mm", |
| 23 "native_content_controller.h", |
| 24 "native_content_controller.mm", |
| 25 "orientation_limiting_navigation_controller.h", |
| 26 "orientation_limiting_navigation_controller.mm", |
| 27 "prerender_final_status.h", |
| 28 "reversed_animation.h", |
| 29 "reversed_animation.mm", |
| 30 "rtl_geometry.h", |
| 31 "rtl_geometry.mm", |
| 32 "show_mail_composer_util.h", |
| 33 "show_mail_composer_util.mm", |
| 34 "show_privacy_settings_util.h", |
| 35 "show_privacy_settings_util.mm", |
| 36 "side_swipe_gesture_recognizer.h", |
| 37 "side_swipe_gesture_recognizer.mm", |
| 38 "ui_util.h", |
| 39 "ui_util.mm", |
| 40 "uikit_ui_util.h", |
| 41 "uikit_ui_util.mm", |
| 42 "url_loader.h", |
| 43 ] |
| 44 deps = [ |
| 45 "//base", |
| 46 "//base:i18n", |
| 47 "//ios/chrome/browser:browser_no_public_deps", |
| 48 "//ios/chrome/browser/favicon", |
| 49 "//ios/chrome/browser/ui/commands", |
| 50 "//ios/public/provider/chrome/browser", |
| 51 "//ios/web", |
| 52 "//ui/base", |
| 53 "//ui/gfx", |
| 54 ] |
| 55 allow_circular_includes_from = [ "//ios/chrome/browser/ui/commands" ] |
| 56 libs = [ |
| 57 "Accelerate.framework", |
| 58 "CoreGraphics.framework", |
| 59 "QuartzCore.framework", |
| 60 ] |
| 61 } |
| 62 |
| 63 source_set("unit_tests") { |
| 64 testonly = true |
| 65 sources = [ |
| 66 "native_content_controller_unittest.mm", |
| 67 "ui_util_unittest.mm", |
| 68 "uikit_ui_util_unittest.mm", |
| 69 ] |
| 70 deps = [ |
| 71 ":native_content_controller_test_xib", |
| 72 ":ui", |
| 73 "//base", |
| 74 "//testing/gtest", |
| 75 "//third_party/ocmock", |
| 76 "//url", |
| 77 ] |
| 78 } |
| 79 |
| 80 bundle_data_xib("native_content_controller_test_xib") { |
| 81 visibility = [ ":unit_tests" ] |
| 82 testonly = true |
| 83 source = "native_content_controller_test.xib" |
| 84 } |
| OLD | NEW |