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.
5 source_set("surface_id") {
15 component("surfaces") {
16 output_name = "cc_surfaces"
21 "display_scheduler.cc",
22 "display_scheduler.h",
23 "onscreen_display_client.cc",
24 "onscreen_display_client.h",
27 "surface_aggregator.cc",
28 "surface_aggregator.h",
29 "surface_display_output_surface.cc",
30 "surface_display_output_surface.h",
33 "surface_factory_client.h",
34 "surface_id_allocator.cc",
35 "surface_id_allocator.h",
38 "surface_resource_holder.cc",
39 "surface_resource_holder.h",
43 defines = [ "CC_SURFACES_IMPLEMENTATION=1" ]
48 "//base/third_party/dynamic_annotations",
50 "//gpu/command_buffer/client:gles2_interface",
52 "//ui/events:events_base",
57 if (is_android && !is_debug) {
58 configs -= [ "//build/config/compiler:optimize" ]
59 configs += [ "//build/config/compiler:optimize_max" ]