BUILD.gn 750 B

123456789101112131415161718192021222324252627282930313233
  1. # Copyright 2015 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. if (ozone_platform_x11 && current_cpu != "arm") {
  6. executable("compositor_model_bench") {
  7. sources = [
  8. "compositor_model_bench.cc",
  9. "forward_render_model.cc",
  10. "forward_render_model.h",
  11. "render_model_utils.cc",
  12. "render_model_utils.h",
  13. "render_models.cc",
  14. "render_models.h",
  15. "render_tree.cc",
  16. "render_tree.h",
  17. "shaders.cc",
  18. "shaders.h",
  19. ]
  20. libs = [ "GL" ]
  21. deps = [
  22. "//base",
  23. "//ui/base/x",
  24. "//ui/gfx/x",
  25. "//ui/gl",
  26. "//ui/gl/init",
  27. ]
  28. }
  29. }