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 # C++ headers and sources that can be used outside ash. | 5 # C++ headers and sources that can be used outside ash. |
6 component("ash_public_cpp") { | 6 component("ash_public_cpp") { |
7 sources = [ | 7 sources = [ |
8 "ash_public_export.h", | 8 "ash_public_export.h", |
| 9 "ash_typography.cc", |
| 10 "ash_typography.h", |
9 "config.h", | 11 "config.h", |
10 "mus_property_mirror_ash.cc", | 12 "mus_property_mirror_ash.cc", |
11 "mus_property_mirror_ash.h", | 13 "mus_property_mirror_ash.h", |
12 "session_types.h", | 14 "session_types.h", |
13 "shelf_item.cc", | 15 "shelf_item.cc", |
14 "shelf_item.h", | 16 "shelf_item.h", |
15 "shelf_item_delegate.cc", | 17 "shelf_item_delegate.cc", |
16 "shelf_item_delegate.h", | 18 "shelf_item_delegate.h", |
17 "shelf_types.cc", | 19 "shelf_types.cc", |
18 "shelf_types.h", | 20 "shelf_types.h", |
19 "shell_window_ids.cc", | 21 "shell_window_ids.cc", |
20 "shell_window_ids.h", | 22 "shell_window_ids.h", |
21 "window_pin_type.cc", | 23 "window_pin_type.cc", |
22 "window_pin_type.h", | 24 "window_pin_type.h", |
23 "window_properties.cc", | 25 "window_properties.cc", |
24 "window_properties.h", | 26 "window_properties.h", |
25 "window_style.cc", | 27 "window_style.cc", |
26 "window_style.h", | 28 "window_style.h", |
27 ] | 29 ] |
28 | 30 |
29 defines = [ "ASH_PUBLIC_IMPLEMENTATION" ] | 31 defines = [ "ASH_PUBLIC_IMPLEMENTATION" ] |
30 | 32 |
31 deps = [ | 33 deps = [ |
32 "//mojo/common:common_custom_types", | 34 "//mojo/common:common_custom_types", |
33 "//skia/public/interfaces", | 35 "//skia/public/interfaces", |
34 "//ui/aura", | 36 "//ui/aura", |
| 37 "//ui/views", |
35 "//ui/views/mus", | 38 "//ui/views/mus", |
36 ] | 39 ] |
37 | 40 |
38 public_deps = [ | 41 public_deps = [ |
39 "//ash/public/interfaces:interfaces_internal", | 42 "//ash/public/interfaces:interfaces_internal", |
40 "//base", | 43 "//base", |
41 "//ui/gfx", | 44 "//ui/gfx", |
42 ] | 45 ] |
43 | 46 |
44 allow_circular_includes_from = | 47 allow_circular_includes_from = |
45 [ "//ash/public/interfaces:interfaces_internal" ] | 48 [ "//ash/public/interfaces:interfaces_internal" ] |
46 } | 49 } |
47 | 50 |
48 source_set("unit_tests") { | 51 source_set("unit_tests") { |
49 testonly = true | 52 testonly = true |
50 sources = [ | 53 sources = [ |
51 "shelf_struct_traits_unittest.cc", | 54 "shelf_struct_traits_unittest.cc", |
52 ] | 55 ] |
53 | 56 |
54 deps = [ | 57 deps = [ |
55 ":ash_public_cpp", | 58 ":ash_public_cpp", |
56 "//base", | 59 "//base", |
57 "//testing/gtest", | 60 "//testing/gtest", |
58 "//ui/gfx:test_support", | 61 "//ui/gfx:test_support", |
59 ] | 62 ] |
60 } | 63 } |
OLD | NEW |