OLD | NEW |
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 'target_defaults': { |
7 'sources/': [ | 7 'sources/': [ |
8 ['exclude', '/(cocoa|gtk|win)/'], | 8 ['exclude', '/(cocoa|gtk|win)/'], |
9 ['exclude', '_(cocoa|gtk|linux|mac|posix|win|x)\\.(cc|mm?)$'], | 9 ['exclude', '_(cocoa|gtk|linux|mac|posix|win|x)\\.(cc|mm?)$'], |
10 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], | 10 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], |
(...skipping 20 matching lines...) Expand all Loading... |
31 ]}], | 31 ]}], |
32 ], | 32 ], |
33 }, | 33 }, |
34 'targets': [ | 34 'targets': [ |
35 { | 35 { |
36 'target_name': 'gl', | 36 'target_name': 'gl', |
37 'type': 'static_library', | 37 'type': 'static_library', |
38 'dependencies': [ | 38 'dependencies': [ |
39 '<(DEPTH)/base/base.gyp:base', | 39 '<(DEPTH)/base/base.gyp:base', |
40 '<(DEPTH)/skia/skia.gyp:skia', | 40 '<(DEPTH)/skia/skia.gyp:skia', |
41 '<(DEPTH)/ui/ui.gyp:ui_base', | 41 '<(DEPTH)/ui/ui.gyp:ui', |
42 '<(DEPTH)/ui/ui.gyp:ui_gfx', | |
43 ], | 42 ], |
44 'variables': { | 43 'variables': { |
45 'gl_binding_output_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gl', | 44 'gl_binding_output_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gl', |
46 }, | 45 }, |
47 'include_dirs': [ | 46 'include_dirs': [ |
48 '<(DEPTH)/third_party/mesa/MesaLib/include', | 47 '<(DEPTH)/third_party/mesa/MesaLib/include', |
49 '<(gl_binding_output_dir)', | 48 '<(gl_binding_output_dir)', |
50 ], | 49 ], |
51 'direct_dependent_settings': { | 50 'direct_dependent_settings': { |
52 'include_dirs': [ | 51 'include_dirs': [ |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 ], | 173 ], |
175 'link_settings': { | 174 'link_settings': { |
176 'libraries': [ | 175 'libraries': [ |
177 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 176 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
178 ], | 177 ], |
179 }, | 178 }, |
180 }], | 179 }], |
181 ], | 180 ], |
182 }, | 181 }, |
183 ], | 182 ], |
184 } | 183 } |
OLD | NEW |