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

Side by Side Diff: ios/chrome/browser/ui/dialogs/BUILD.gn

Issue 2898733003: Split up ios/web:test_support. (Closed)
Patch Set: don't break downstream clients Created 3 years, 6 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 unified diff | Download patch
OLDNEW
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
11 sources = [ 11 sources = [
12 "javascript_dialog_blocking_util.h", 12 "javascript_dialog_blocking_util.h",
13 "javascript_dialog_blocking_util.mm", 13 "javascript_dialog_blocking_util.mm",
14 ] 14 ]
15 15
16 configs += [ "//build/config/compiler:enable_arc" ] 16 configs += [ "//build/config/compiler:enable_arc" ]
17 } 17 }
18 18
19 source_set("unit_tests") { 19 source_set("unit_tests") {
20 testonly = true 20 testonly = true
21 21
22 sources = [ 22 sources = [
23 "javascript_dialog_blocking_util_unittest.mm", 23 "javascript_dialog_blocking_util_unittest.mm",
24 ] 24 ]
25 25
26 deps = [ 26 deps = [
27 ":dialogs", 27 ":dialogs",
28 "//ios/web", 28 "//ios/web",
29 "//ios/web:test_support", 29 "//ios/web/public/test/fakes",
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 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",
(...skipping 25 matching lines...) Expand all
65 "dialog_presenter_unittest.mm", 65 "dialog_presenter_unittest.mm",
66 "nsurl_protection_space_util_unittest.mm", 66 "nsurl_protection_space_util_unittest.mm",
67 ] 67 ]
68 deps = [ 68 deps = [
69 ":dialogs_internal", 69 ":dialogs_internal",
70 "//base", 70 "//base",
71 "//components/strings", 71 "//components/strings",
72 "//ios/chrome/app/strings", 72 "//ios/chrome/app/strings",
73 "//ios/chrome/browser/ui/alert_coordinator", 73 "//ios/chrome/browser/ui/alert_coordinator",
74 "//ios/web", 74 "//ios/web",
75 "//ios/web:test_support", 75 "//ios/web/public/test/fakes",
76 "//testing/gtest", 76 "//testing/gtest",
77 "//ui/base", 77 "//ui/base",
78 "//url", 78 "//url",
79 ] 79 ]
80 } 80 }
81 81
82 source_set("eg_tests") { 82 source_set("eg_tests") {
83 configs += [ "//build/config/compiler:enable_arc" ] 83 configs += [ "//build/config/compiler:enable_arc" ]
84 testonly = true 84 testonly = true
85 sources = [ 85 sources = [
86 "javascript_dialog_egtest.mm", 86 "javascript_dialog_egtest.mm",
87 ] 87 ]
88 deps = [ 88 deps = [
89 ":dialogs_internal", 89 ":dialogs_internal",
90 "//base", 90 "//base",
91 "//components/strings", 91 "//components/strings",
92 "//ios/chrome/app/strings", 92 "//ios/chrome/app/strings",
93 "//ios/chrome/browser/ui", 93 "//ios/chrome/browser/ui",
94 "//ios/chrome/browser/ui/tools_menu", 94 "//ios/chrome/browser/ui/tools_menu",
95 "//ios/chrome/test/app:test_support", 95 "//ios/chrome/test/app:test_support",
96 "//ios/chrome/test/earl_grey:test_support", 96 "//ios/chrome/test/earl_grey:test_support",
97 "//ios/testing:ios_test_support", 97 "//ios/testing:ios_test_support",
98 "//ios/testing/earl_grey:earl_grey_support", 98 "//ios/testing/earl_grey:earl_grey_support",
99 "//ios/third_party/earl_grey", 99 "//ios/third_party/earl_grey",
100 "//ios/web", 100 "//ios/web",
101 "//ios/web:test_support", 101 "//ios/web/public/test",
102 "//ios/web/public/test/http_server",
102 "//ui/base", 103 "//ui/base",
103 "//url", 104 "//url",
104 ] 105 ]
105 libs = [ 106 libs = [
106 "UIKit.framework", 107 "UIKit.framework",
107 "XCTest.framework", 108 "XCTest.framework",
108 ] 109 ]
109 } 110 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/contextual_search/BUILD.gn ('k') | ios/chrome/browser/ui/dialogs/javascript_dialog_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698