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

Side by Side Diff: ui/surface/surface.gyp

Issue 1087873003: Fix errors found in Mac gn component builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try to fix sandbox_mac_unittests 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/surface/BUILD.gn ('k') | ui/views/BUILD.gn » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'target_defaults': { 9 'target_defaults': {
10 'conditions': [ 10 'conditions': [
11 ['use_x11 == 1', { 11 ['use_x11 == 1', {
12 'include_dirs': [ 12 'include_dirs': [
13 '../../third_party/khronos', 13 '../../third_party/khronos',
14 ], 14 ],
15 }], 15 }],
16 ['OS == "mac"', { 16 ['OS == "mac"', {
17 # Required by accelerated_surface_mac.cc.
17 'link_settings': { 18 'link_settings': {
18 'libraries': [ 19 'libraries': [
19 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework', 20 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework',
21 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
20 ], 22 ],
21 }, 23 },
22 }], 24 }],
23 ], 25 ],
24 }, 26 },
25 'targets': [ 27 'targets': [
26 { 28 {
27 'target_name': 'surface', 29 'target_name': 'surface',
28 'type': '<(component)', 30 'type': '<(component)',
29 'dependencies': [ 31 'dependencies': [
(...skipping 12 matching lines...) Expand all
42 'transport_dib.h', 44 'transport_dib.h',
43 'transport_dib_posix.cc', 45 'transport_dib_posix.cc',
44 'transport_dib_win.cc', 46 'transport_dib_win.cc',
45 ], 47 ],
46 'defines': [ 48 'defines': [
47 'SURFACE_IMPLEMENTATION', 49 'SURFACE_IMPLEMENTATION',
48 ], 50 ],
49 }, 51 },
50 ], 52 ],
51 } 53 }
OLDNEW
« no previous file with comments | « ui/surface/BUILD.gn ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698