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("sad_tab") { | 5 source_set("sad_tab") { |
6 configs += [ "//build/config/compiler:enable_arc" ] | 6 configs += [ "//build/config/compiler:enable_arc" ] |
7 sources = [ | 7 sources = [ |
8 "sad_tab_view.h", | 8 "sad_tab_view.h", |
9 "sad_tab_view.mm", | 9 "sad_tab_view.mm", |
10 ] | 10 ] |
11 deps = [ | 11 deps = [ |
12 "//base", | 12 "//base", |
13 "//components/resources", | 13 "//components/resources", |
14 "//components/strings", | 14 "//components/strings", |
15 "//components/ui_metrics", | 15 "//components/ui_metrics", |
16 "//ios/chrome/browser", | 16 "//ios/chrome/browser", |
17 "//ios/chrome/browser/ui", | 17 "//ios/chrome/browser/ui", |
18 "//ios/chrome/browser/ui/colors", | 18 "//ios/chrome/browser/ui/colors", |
19 "//ios/chrome/browser/ui/commands", | 19 "//ios/chrome/browser/ui/commands", |
20 "//ios/chrome/browser/ui/util", | 20 "//ios/chrome/browser/ui/util", |
21 "//ios/third_party/material_components_ios", | 21 "//ios/third_party/material_components_ios", |
22 "//ios/third_party/material_roboto_font_loader_ios", | 22 "//ios/third_party/material_roboto_font_loader_ios", |
23 "//ios/web", | 23 "//ios/web", |
24 "//net", | 24 "//net", |
25 "//ui/base", | 25 "//ui/base", |
26 "//ui/gfx", | 26 "//ui/gfx", |
27 ] | 27 ] |
28 libs = [ "UIKit.framework" ] | 28 libs = [ "UIKit.framework" ] |
29 } | 29 } |
| 30 |
| 31 source_set("eg_tests") { |
| 32 configs += [ "//build/config/compiler:enable_arc" ] |
| 33 testonly = true |
| 34 sources = [ |
| 35 "sad_tab_view_egtest.mm", |
| 36 ] |
| 37 |
| 38 deps = [ |
| 39 ":sad_tab", |
| 40 "//base", |
| 41 "//components/strings", |
| 42 "//ios/chrome/app/strings", |
| 43 "//ios/chrome/browser/ui/tools_menu", |
| 44 "//ios/chrome/test/app:test_support", |
| 45 "//ios/chrome/test/earl_grey:test_support", |
| 46 "//ios/testing/earl_grey:earl_grey_support", |
| 47 "//ios/third_party/earl_grey", |
| 48 "//ios/web/public/test/http_server", |
| 49 "//ui/base", |
| 50 ] |
| 51 libs = [ "XCTest.framework" ] |
| 52 } |
OLD | NEW |