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("fancy_ui") { | 5 source_set("fancy_ui") { |
6 configs += [ "//build/config/compiler:enable_arc" ] | 6 configs += [ "//build/config/compiler:enable_arc" ] |
7 sources = [ | 7 sources = [ |
8 "bidi_container_view.h", | 8 "bidi_container_view.h", |
9 "bidi_container_view.mm", | 9 "bidi_container_view.mm", |
| 10 "colored_button.h", |
| 11 "colored_button.mm", |
10 "primary_action_button.h", | 12 "primary_action_button.h", |
11 "primary_action_button.mm", | 13 "primary_action_button.mm", |
12 "tinted_button.h", | |
13 "tinted_button.mm", | |
14 ] | 14 ] |
15 deps = [ | 15 deps = [ |
16 "//base", | 16 "//base", |
17 "//base:i18n", | 17 "//base:i18n", |
18 "//ios/chrome/browser/ui/colors", | 18 "//ios/chrome/browser/ui/colors", |
19 ] | 19 ] |
20 public_deps = [ | 20 public_deps = [ |
21 "//ios/third_party/material_components_ios", | 21 "//ios/third_party/material_components_ios", |
22 ] | 22 ] |
23 libs = [ "UIKit.framework" ] | 23 libs = [ "UIKit.framework" ] |
24 } | 24 } |
25 | 25 |
26 source_set("unit_tests") { | 26 source_set("unit_tests") { |
27 testonly = true | 27 testonly = true |
28 sources = [ | 28 sources = [ |
29 "bidi_container_view_unittest.mm", | 29 "bidi_container_view_unittest.mm", |
30 ] | 30 ] |
31 deps = [ | 31 deps = [ |
32 ":fancy_ui", | 32 ":fancy_ui", |
33 "//base", | 33 "//base", |
34 "//base:i18n", | 34 "//base:i18n", |
35 "//testing/gtest", | 35 "//testing/gtest", |
36 ] | 36 ] |
37 configs += [ "//build/config/compiler:enable_arc" ] | 37 configs += [ "//build/config/compiler:enable_arc" ] |
38 } | 38 } |
OLD | NEW |