| # 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_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", |
| "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_mock.cc", |
| "scrollbar_theme_mock.h", |
| "scrollbar_theme_overlay.cc", |
| "scrollbar_theme_overlay.h", |
| "scrollbar_theme_overlay_mock.h", |
| "smooth_scroll_sequencer.cc", |
| "smooth_scroll_sequencer.h", |
| "web_scroll_into_view_params.cc", |
| ] |
| |
| if (is_mac) { |
| sources -= [ |
| "scroll_animator.cc", |
| "scroll_animator.h", |
| ] |
| sources += [ |
| "web_scrollbar_theme.mm", |
| ] |
| } |
| |
| if (use_default_render_theme) { |
| sources += [ |
| "scrollbar_theme_aura.cc", |
| "scrollbar_theme_aura.h", |
| ] |
| } |
| } |