diff options
Diffstat (limited to 'chromium/cc/surfaces/BUILD.gn')
-rw-r--r-- | chromium/cc/surfaces/BUILD.gn | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/chromium/cc/surfaces/BUILD.gn b/chromium/cc/surfaces/BUILD.gn new file mode 100644 index 00000000000..a45e786e17c --- /dev/null +++ b/chromium/cc/surfaces/BUILD.gn @@ -0,0 +1,45 @@ +# Copyright 2014 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +component("surfaces") { + output_name = "cc_surfaces" + sources = [ + "display.cc", + "display.h", + "display_client.h", + "surface.cc", + "surface.h", + "surface_aggregator.cc", + "surface_aggregator.h", + "surface_factory.cc", + "surface_factory.h", + "surface_factory_client.h", + "surface_id.h", + "surface_id_allocator.cc", + "surface_id_allocator.h", + "surface_manager.cc", + "surface_manager.h", + "surface_resource_holder.cc", + "surface_resource_holder.h", + "surfaces_export.h", + ] + + defines = [ "CC_SURFACES_IMPLEMENTATION=1" ] + + deps = [ + "//base", + "//base/third_party/dynamic_annotations", + "//cc", + "//skia", + "//ui/events:events_base", + "//ui/gfx", + "//ui/gfx/geometry", + ] + + if (is_android && !is_debug) { + configs -= [ "//build/config/compiler:optimize" ] + configs += [ "//build/config/compiler:optimize_max" ] + } +} + |