| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 source_set("dialogs") { | 5 source_set("dialogs") { |
| 6 deps = [ | 6 deps = [ |
| 7 "//base", | 7 "//base", |
| 8 "//ios/web:web", | 8 "//ios/web:web", |
| 9 ] | 9 ] |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 deps = [ | 26 deps = [ |
| 27 ":dialogs", | 27 ":dialogs", |
| 28 "//ios/web:test_support", | 28 "//ios/web:test_support", |
| 29 "//ios/web:web", | 29 "//ios/web:web", |
| 30 "//testing/gtest", | 30 "//testing/gtest", |
| 31 ] | 31 ] |
| 32 | 32 |
| 33 configs += [ "//build/config/compiler:enable_arc" ] | 33 configs += [ "//build/config/compiler:enable_arc" ] |
| 34 } | 34 } |
| 35 | |
| 36 source_set("dialogs_internal") { | |
| 37 sources = [ | |
| 38 "dialog_presenter.h", | |
| 39 "dialog_presenter.mm", | |
| 40 "java_script_dialog_presenter_impl.h", | |
| 41 "java_script_dialog_presenter_impl.mm", | |
| 42 "nsurl_protection_space_util.h", | |
| 43 "nsurl_protection_space_util.mm", | |
| 44 ] | |
| 45 deps = [ | |
| 46 "//base", | |
| 47 "//components/strings", | |
| 48 "//components/url_formatter", | |
| 49 "//ios/chrome/app/strings", | |
| 50 "//ios/chrome/browser/ui", | |
| 51 "//ios/chrome/browser/ui/alert_coordinator", | |
| 52 "//ios/chrome/browser/ui/dialogs", | |
| 53 "//ios/web", | |
| 54 "//ui/base", | |
| 55 "//url", | |
| 56 ] | |
| 57 libs = [ "UIKit.framework" ] | |
| 58 } | |
| 59 | |
| 60 source_set("unit_tests_internal") { | |
| 61 testonly = true | |
| 62 sources = [ | |
| 63 "dialog_presenter_unittest.mm", | |
| 64 "nsurl_protection_space_util_unittest.mm", | |
| 65 ] | |
| 66 deps = [ | |
| 67 ":dialogs_internal", | |
| 68 "//base", | |
| 69 "//components/strings", | |
| 70 "//ios/chrome/app/strings", | |
| 71 "//ios/chrome/browser/ui/alert_coordinator", | |
| 72 "//ios/web:test_support", | |
| 73 "//ios/web:web", | |
| 74 "//testing/gtest", | |
| 75 "//ui/base", | |
| 76 "//url", | |
| 77 ] | |
| 78 } | |
| 79 | |
| 80 source_set("eg_tests") { | |
| 81 configs += [ "//build/config/compiler:enable_arc" ] | |
| 82 testonly = true | |
| 83 sources = [ | |
| 84 "javascript_dialog_egtest.mm", | |
| 85 ] | |
| 86 deps = [ | |
| 87 "//base", | |
| 88 "//components/strings", | |
| 89 "//ios/chrome/app/strings", | |
| 90 "//ios/chrome/browser/ui", | |
| 91 "//ios/chrome/browser/ui/dialogs:dialogs_internal", | |
| 92 "//ios/chrome/browser/ui/tools_menu", | |
| 93 "//ios/chrome/test/app:test_support", | |
| 94 "//ios/chrome/test/earl_grey:test_support", | |
| 95 "//ios/testing:ios_test_support", | |
| 96 "//ios/testing/earl_grey:earl_grey_support", | |
| 97 "//ios/third_party/earl_grey", | |
| 98 "//ios/web", | |
| 99 "//ios/web:test_support", | |
| 100 "//ui/base", | |
| 101 "//url", | |
| 102 ] | |
| 103 libs = [ | |
| 104 "UIKit.framework", | |
| 105 "XCTest.framework", | |
| 106 ] | |
| 107 } | |
| OLD | NEW |