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

Side by Side Diff: ui/gfx/gl/gl.gyp

Issue 7227009: Add chromium_code: 1 to surface.gyp and gl.gyp to pick up -Werror. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: foo Created 9 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/gfx/gl/gl_bindings_skia_in_process.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'target_defaults': { 6 'variables': {
7 'sources/': [ 7 'chromium_code': 1,
8 ['exclude', '/(cocoa|gtk|win)/'],
9 ['exclude', '_(cocoa|gtk|linux|mac|posix|win|x)\\.(cc|mm?)$'],
10 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'],
11 ],
12 'conditions': [
13 ['toolkit_uses_gtk == 1', {'sources/': [
14 ['include', '/gtk/'],
15 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'],
16 ['include', '/(gtk|x11)_[^/]*\\.cc$'],
17 ]}],
18 ['OS=="mac"', {'sources/': [
19 ['include', '/cocoa/'],
20 ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'],
21 ]}, { # else: OS != "mac"
22 'sources/': [
23 ['exclude', '\\.mm?$'],
24 ],
25 }],
26 ['OS=="win"',
27 {'sources/': [
28 ['include', '_(win)\\.cc$'],
29 ['include', '/win/'],
30 ['include', '/win_[^/]*\\.cc$'],
31 ]}],
32 ],
33 }, 8 },
9
34 'targets': [ 10 'targets': [
35 { 11 {
36 'target_name': 'gl', 12 'target_name': 'gl',
37 'type': 'static_library', 13 'type': 'static_library',
38 'dependencies': [ 14 'dependencies': [
39 '<(DEPTH)/base/base.gyp:base', 15 '<(DEPTH)/base/base.gyp:base',
40 '<(DEPTH)/skia/skia.gyp:skia', 16 '<(DEPTH)/skia/skia.gyp:skia',
41 '<(DEPTH)/ui/ui.gyp:ui_base', 17 '<(DEPTH)/ui/ui.gyp:ui_base',
42 '<(DEPTH)/ui/ui.gyp:ui_gfx', 18 '<(DEPTH)/ui/ui.gyp:ui_gfx',
43 ], 19 ],
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 ], 150 ],
175 'link_settings': { 151 'link_settings': {
176 'libraries': [ 152 'libraries': [
177 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', 153 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
178 ], 154 ],
179 }, 155 },
180 }], 156 }],
181 ], 157 ],
182 }, 158 },
183 ], 159 ],
184 } 160 }
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/gl/gl_bindings_skia_in_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698