BUILD.gn 637 B

1234567891011121314151617181920212223242526
  1. # Copyright 2021 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. component("types") {
  5. output_name = "ui_base_dragdrop_types"
  6. sources = [
  7. "drag_drop_types.cc",
  8. "drag_drop_types.h",
  9. ]
  10. defines = [ "IS_UI_BASE_DRAGDROP_TYPES_IMPL" ]
  11. public_deps = [
  12. "//base",
  13. "//ui/base/dragdrop/mojom:mojom_headers",
  14. ]
  15. deps = [ "//ui/base/dragdrop/mojom" ]
  16. if (is_mac) {
  17. sources += [ "drag_drop_types_mac.mm" ]
  18. frameworks = [ "AppKit.framework" ]
  19. }
  20. if (is_win) {
  21. sources += [ "drag_drop_types_win.cc" ]
  22. }
  23. }