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", | 8 "//ios/web", |
9 ] | 9 ] |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 configs += [ "//build/config/compiler:enable_arc" ] | 33 configs += [ "//build/config/compiler:enable_arc" ] |
34 } | 34 } |
35 | 35 |
36 source_set("dialogs_internal") { | 36 source_set("dialogs_internal") { |
37 configs += [ "//build/config/compiler:enable_arc" ] | 37 configs += [ "//build/config/compiler:enable_arc" ] |
38 sources = [ | 38 sources = [ |
39 "dialog_presenter.h", | 39 "dialog_presenter.h", |
40 "dialog_presenter.mm", | 40 "dialog_presenter.mm", |
41 "java_script_dialog_presenter_impl.h", | 41 "java_script_dialog_presenter_impl.h", |
42 "java_script_dialog_presenter_impl.mm", | 42 "java_script_dialog_presenter_impl.mm", |
43 "nsurl_protection_space_util.h", | |
44 "nsurl_protection_space_util.mm", | |
45 ] | 43 ] |
46 deps = [ | 44 deps = [ |
47 ":dialogs", | 45 ":dialogs", |
48 "//base", | 46 "//base", |
49 "//components/strings", | 47 "//components/strings", |
50 "//components/url_formatter", | 48 "//components/url_formatter", |
51 "//ios/chrome/app/strings", | 49 "//ios/chrome/app/strings", |
52 "//ios/chrome/browser/ui", | 50 "//ios/chrome/browser/ui", |
53 "//ios/chrome/browser/ui/alert_coordinator", | 51 "//ios/chrome/browser/ui/alert_coordinator", |
| 52 "//ios/shared/chrome/browser/ui/dialogs", |
54 "//ios/web", | 53 "//ios/web", |
55 "//ui/base", | 54 "//ui/base", |
56 "//url", | 55 "//url", |
57 ] | 56 ] |
58 libs = [ "UIKit.framework" ] | 57 libs = [ "UIKit.framework" ] |
59 } | 58 } |
60 | 59 |
61 source_set("unit_tests_internal") { | 60 source_set("unit_tests_internal") { |
62 configs += [ "//build/config/compiler:enable_arc" ] | 61 configs += [ "//build/config/compiler:enable_arc" ] |
63 testonly = true | 62 testonly = true |
64 sources = [ | 63 sources = [ |
65 "dialog_presenter_unittest.mm", | 64 "dialog_presenter_unittest.mm", |
66 "nsurl_protection_space_util_unittest.mm", | |
67 ] | 65 ] |
68 deps = [ | 66 deps = [ |
69 ":dialogs_internal", | 67 ":dialogs_internal", |
70 "//base", | 68 "//base", |
71 "//components/strings", | 69 "//components/strings", |
72 "//ios/chrome/app/strings", | 70 "//ios/chrome/app/strings", |
73 "//ios/chrome/browser/ui/alert_coordinator", | 71 "//ios/chrome/browser/ui/alert_coordinator", |
| 72 "//ios/shared/chrome/browser/ui/dialogs:unit_tests", |
74 "//ios/web", | 73 "//ios/web", |
75 "//ios/web/public/test/fakes", | 74 "//ios/web/public/test/fakes", |
76 "//testing/gtest", | 75 "//testing/gtest", |
77 "//ui/base", | 76 "//ui/base", |
78 "//url", | 77 "//url", |
79 ] | 78 ] |
80 } | 79 } |
81 | 80 |
82 source_set("eg_tests") { | 81 source_set("eg_tests") { |
83 configs += [ "//build/config/compiler:enable_arc" ] | 82 configs += [ "//build/config/compiler:enable_arc" ] |
(...skipping 17 matching lines...) Expand all Loading... |
101 "//ios/web/public/test", | 100 "//ios/web/public/test", |
102 "//ios/web/public/test/http_server", | 101 "//ios/web/public/test/http_server", |
103 "//ui/base", | 102 "//ui/base", |
104 "//url", | 103 "//url", |
105 ] | 104 ] |
106 libs = [ | 105 libs = [ |
107 "UIKit.framework", | 106 "UIKit.framework", |
108 "XCTest.framework", | 107 "XCTest.framework", |
109 ] | 108 ] |
110 } | 109 } |
OLD | NEW |