BUILD.gn 830 B

12345678910111213141516171819202122232425262728293031
  1. # Copyright 2019 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("//mojo/public/tools/bindings/mojom.gni")
  5. # This component is for code that is to run in the app shim process.
  6. component("browser") {
  7. assert(is_mac)
  8. sources = [
  9. "application_host.h",
  10. "application_host.mm",
  11. "ns_view_ids.cc",
  12. "ns_view_ids.h",
  13. "remote_cocoa_browser_export.h",
  14. "scoped_cg_window_id.cc",
  15. "scoped_cg_window_id.h",
  16. "window.h",
  17. "window.mm",
  18. ]
  19. defines = [ "REMOTE_COCOA_BROWSER_IMPLEMENTATION" ]
  20. deps = [
  21. "//base",
  22. "//components/remote_cocoa/common:mojo",
  23. "//components/viz/common:common",
  24. "//mojo/public/cpp/bindings:bindings",
  25. "//ui/gfx",
  26. ]
  27. frameworks = [ "Cocoa.framework" ]
  28. }