BUILD.gn 729 B

123456789101112131415161718192021222324252627
  1. # Copyright 2014 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. import("//build/config/ui.gni")
  5. component("platform") {
  6. sources = [
  7. # Allow this target to include events_export.h without depending on the
  8. # events target (which would be circular).
  9. "../events_export.h",
  10. "platform_event_dispatcher.h",
  11. "platform_event_observer.h",
  12. "platform_event_source.cc",
  13. "platform_event_source.h",
  14. "platform_event_source_stub.cc",
  15. "scoped_event_dispatcher.cc",
  16. "scoped_event_dispatcher.h",
  17. ]
  18. defines = [ "EVENTS_IMPLEMENTATION" ]
  19. deps = [
  20. "//base",
  21. "//ui/events:platform_event",
  22. ]
  23. }