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 "mus_property_mirror_ash.cc", | 9 "mus_property_mirror_ash.cc", |
10 "mus_property_mirror_ash.h", | 10 "mus_property_mirror_ash.h", |
11 "session_types.h", | 11 "session_types.h", |
| 12 "shelf_item.cc", |
| 13 "shelf_item.h", |
12 "shelf_types.cc", | 14 "shelf_types.cc", |
13 "shelf_types.h", | 15 "shelf_types.h", |
14 "shell_window_ids.cc", | 16 "shell_window_ids.cc", |
15 "shell_window_ids.h", | 17 "shell_window_ids.h", |
16 "window_properties.cc", | 18 "window_properties.cc", |
17 "window_properties.h", | 19 "window_properties.h", |
18 "window_style.cc", | 20 "window_style.cc", |
19 "window_style.h", | 21 "window_style.h", |
20 ] | 22 ] |
21 | 23 |
22 defines = [ "ASH_PUBLIC_IMPLEMENTATION" ] | 24 defines = [ "ASH_PUBLIC_IMPLEMENTATION" ] |
23 | 25 |
24 deps = [ | 26 deps = [ |
25 "//base", | 27 "//mojo/common:common_custom_types", |
| 28 "//skia/public/interfaces", |
26 "//ui/aura", | 29 "//ui/aura", |
27 "//ui/views/mus", | 30 "//ui/views/mus", |
28 ] | 31 ] |
29 | 32 |
30 public_deps = [ | 33 public_deps = [ |
31 "//ash/public/interfaces:interfaces_internal", | 34 "//ash/public/interfaces:interfaces_internal", |
| 35 "//base", |
| 36 "//ui/gfx", |
32 ] | 37 ] |
33 | 38 |
34 allow_circular_includes_from = | 39 allow_circular_includes_from = |
35 [ "//ash/public/interfaces:interfaces_internal" ] | 40 [ "//ash/public/interfaces:interfaces_internal" ] |
36 } | 41 } |
| 42 |
| 43 source_set("unit_tests") { |
| 44 testonly = true |
| 45 sources = [ |
| 46 "shelf_struct_traits_unittest.cc", |
| 47 ] |
| 48 |
| 49 deps = [ |
| 50 ":ash_public_cpp", |
| 51 |
| 52 # TODO(crbug.com/702397): Rely on :ash_public_cpp for this instead. |
| 53 "//ash/public/interfaces:interfaces_internal", |
| 54 "//base", |
| 55 "//testing/gtest", |
| 56 "//ui/gfx:test_support", |
| 57 ] |
| 58 } |
OLD | NEW |