Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: ui/surface/BUILD.gn

Issue 1089773003: Revert of Fix errors found in Mac gn component builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/accelerated_widget_mac/accelerated_widget_mac.gyp ('k') | ui/surface/surface.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 configs += [ "//third_party/khronos:khronos_headers" ] 18 configs += [ "//third_party/khronos:khronos_headers" ]
19 19
20 defines = [ "SURFACE_IMPLEMENTATION" ] 20 defines = [ "SURFACE_IMPLEMENTATION" ]
21 21
22 deps = [ 22 deps = [
23 "//base", 23 "//base",
24 "//base/third_party/dynamic_annotations", 24 "//base/third_party/dynamic_annotations",
25 "//skia", 25 "//skia",
26 "//ui/base", 26 "//ui/base",
27 "//ui/gfx/geometry", 27 "//ui/gfx/geometry",
28 "//ui/gl", 28 "//ui/gl",
29 ] 29 ]
30
31 if (is_mac) {
32 # Required by accelerated_surface_mac.cc.
33 libs = [
34 "IOSurface.framework",
35 "OpenGL.framework",
36 ]
37 }
38 } 30 }
OLDNEW
« no previous file with comments | « ui/accelerated_widget_mac/accelerated_widget_mac.gyp ('k') | ui/surface/surface.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698