BUILD.gn 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. static_library("renderer_context_menu") {
  6. sources = [
  7. "context_menu_content_type.cc",
  8. "context_menu_content_type.h",
  9. "context_menu_delegate.cc",
  10. "context_menu_delegate.h",
  11. "render_view_context_menu_base.cc",
  12. "render_view_context_menu_base.h",
  13. "render_view_context_menu_observer.cc",
  14. "render_view_context_menu_observer.h",
  15. "render_view_context_menu_proxy.h",
  16. ]
  17. deps = [
  18. "//base",
  19. "//build:chromeos_buildflags",
  20. "//components/search_engines",
  21. "//content/public/browser",
  22. "//content/public/common",
  23. "//ppapi/buildflags",
  24. "//printing/buildflags",
  25. "//third_party/blink/public:blink_headers",
  26. "//ui/base",
  27. ]
  28. if (toolkit_views) {
  29. sources += [
  30. "views/toolkit_delegate_views.cc",
  31. "views/toolkit_delegate_views.h",
  32. ]
  33. deps += [ "//ui/views" ]
  34. }
  35. }