summaryrefslogtreecommitdiff
path: root/chromium/ash/public/cpp/BUILD.gn
blob: 78e71442a6c2854c9750d22c1824b8016d5a25af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# C++ headers and sources that can be used outside ash.
component("ash_public_cpp") {
  sources = [
    "ash_pref_names.cc",
    "ash_pref_names.h",
    "ash_public_export.h",
    "ash_typography.cc",
    "ash_typography.h",
    "config.h",
    "mus_property_mirror_ash.cc",
    "mus_property_mirror_ash.h",
    "session_types.h",
    "shelf_item.cc",
    "shelf_item.h",
    "shelf_item_delegate.cc",
    "shelf_item_delegate.h",
    "shelf_types.cc",
    "shelf_types.h",
    "shell_window_ids.cc",
    "shell_window_ids.h",
    "window_pin_type.cc",
    "window_pin_type.h",
    "window_properties.cc",
    "window_properties.h",
    "window_style.cc",
    "window_style.h",
  ]

  defines = [ "ASH_PUBLIC_IMPLEMENTATION" ]

  deps = [
    "//mojo/common:common_custom_types",
    "//skia/public/interfaces",
    "//ui/aura",
    "//ui/views",
    "//ui/views/mus",
  ]

  public_deps = [
    "//ash/public/interfaces:interfaces_internal",
    "//base",
    "//ui/gfx",
  ]

  allow_circular_includes_from =
      [ "//ash/public/interfaces:interfaces_internal" ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "shelf_struct_traits_unittest.cc",
  ]

  deps = [
    ":ash_public_cpp",
    "//base",
    "//testing/gtest",
    "//ui/gfx:test_support",
  ]
}