BUILD.gn 798 B

123456789101112131415161718192021222324252627282930
  1. # Copyright 2017 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("//cc/cc.gni")
  5. cc_component("debug") {
  6. output_name = "cc_debug"
  7. sources = [
  8. # For enum LCDTextDisallowedReason used in debug_colors.*.
  9. "../raster/lcd_text_disallowed_reason.h",
  10. "debug_colors.cc",
  11. "debug_colors.h",
  12. "debug_export.h",
  13. "layer_tree_debug_state.cc",
  14. "layer_tree_debug_state.h",
  15. "picture_debug_util.cc",
  16. "picture_debug_util.h",
  17. "rendering_stats.cc",
  18. "rendering_stats.h",
  19. "rendering_stats_instrumentation.cc",
  20. "rendering_stats_instrumentation.h",
  21. ]
  22. deps = [
  23. "//base",
  24. "//skia",
  25. "//ui/gfx/codec",
  26. ]
  27. defines = [ "CC_DEBUG_IMPLEMENTATION=1" ]
  28. }