OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 component("surface") { | 7 component("surface") { |
8 sources = [ | 8 sources = [ |
9 "accelerated_surface_mac.cc", | 9 "accelerated_surface_mac.cc", |
10 "accelerated_surface_mac.h", | 10 "accelerated_surface_mac.h", |
11 "surface_export.h", | 11 "surface_export.h", |
12 "transport_dib.cc", | 12 "transport_dib.cc", |
13 "transport_dib.h", | 13 "transport_dib.h", |
14 "transport_dib_posix.cc", | 14 "transport_dib_posix.cc", |
15 "transport_dib_win.cc", | 15 "transport_dib_win.cc", |
16 ] | 16 ] |
17 | 17 |
18 defines = [ "SURFACE_IMPLEMENTATION" ] | 18 defines = [ "SURFACE_IMPLEMENTATION" ] |
19 | 19 |
20 deps = [ | 20 deps = [ |
21 "//base", | 21 "//base", |
22 "//base/third_party/dynamic_annotations", | 22 "//base/third_party/dynamic_annotations", |
23 "//skia", | 23 "//skia", |
24 "//ui/base:ui_base", | 24 "//ui/base", |
25 "//ui/gfx/geometry", | 25 "//ui/gfx/geometry", |
26 "//ui/gl", | 26 "//ui/gl", |
27 ] | 27 ] |
28 | 28 |
29 if (use_x11) { | 29 if (use_x11) { |
30 include_dirs = [ "//third_party/khronos" ] | 30 include_dirs = [ "//third_party/khronos" ] |
31 } | 31 } |
32 } | 32 } |
OLD | NEW |