1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29

cc / debug / BUILD.gn [blame]

# Copyright 2017 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//cc/cc.gni")
cc_component("debug") {
  output_name = "cc_debug"
  sources = [
    # For enum LCDTextDisallowedReason used in debug_colors.*.
    "../raster/lcd_text_disallowed_reason.h",
    "debug_colors.cc",
    "debug_colors.h",
    "debug_export.h",
    "layer_tree_debug_state.cc",
    "layer_tree_debug_state.h",
    "picture_debug_util.cc",
    "picture_debug_util.h",
    "rendering_stats.cc",
    "rendering_stats.h",
    "rendering_stats_instrumentation.cc",
    "rendering_stats_instrumentation.h",
  ]
  deps = [
    "//base",
    "//skia",
  ]

  defines = [ "CC_DEBUG_IMPLEMENTATION=1" ]
}