summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/scroll/BUILD.gn
blob: 071ac501f436b4fefe9afdcf56388252b4dea6e2 (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
# Copyright 2018 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.

import("//third_party/blink/renderer/core/core.gni")

blink_core_sources("scroll") {
  sources = [
    "ns_scroller_imp_details.h",
    "programmatic_scroll_animator.cc",
    "programmatic_scroll_animator.h",
    "scroll_alignment.cc",
    "scroll_alignment.h",
    "scroll_animator.cc",
    "scroll_animator.h",
    "scroll_animator_base.cc",
    "scroll_animator_base.h",
    "scroll_animator_compositor_coordinator.cc",
    "scroll_animator_compositor_coordinator.h",
    "scroll_animator_mac.h",
    "scroll_animator_mac.mm",
    "scroll_customization.cc",
    "scroll_customization.h",
    "scroll_state_data.h",
    "scroll_types.h",
    "scrollable_area.cc",
    "scrollable_area.h",
    "scrollbar.cc",
    "scrollbar.h",
    "scrollbar_layer_delegate.cc",
    "scrollbar_layer_delegate.h",
    "scrollbar_test_suite.h",
    "scrollbar_theme.cc",
    "scrollbar_theme.h",
    "scrollbar_theme_android.cc",
    "scrollbar_theme_mac.h",
    "scrollbar_theme_mac.mm",
    "scrollbar_theme_overlay.cc",
    "scrollbar_theme_overlay.h",
    "scrollbar_theme_overlay_mobile.cc",
    "scrollbar_theme_overlay_mobile.h",
    "scrollbar_theme_overlay_mock.h",
    "smooth_scroll_sequencer.cc",
    "smooth_scroll_sequencer.h",
  ]

  if (is_mac) {
    sources -= [
      "scroll_animator.cc",
      "scroll_animator.h",
    ]
    sources += [ "web_scrollbar_theme.mm" ]
  }

  if (use_aura) {
    sources += [
      "scrollbar_theme_aura.cc",
      "scrollbar_theme_aura.h",
    ]
  }
}