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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'ppapi_example', | 8 'target_name': 'ppapi_example', |
9 'dependencies': [ | 9 'dependencies': [ |
10 'ppapi.gyp:ppapi_cpp' | 10 'ppapi.gyp:ppapi_cpp' |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 'proxy/plugin_resource_tracker_unittest.cc', | 184 'proxy/plugin_resource_tracker_unittest.cc', |
185 'proxy/plugin_var_tracker_unittest.cc', | 185 'proxy/plugin_var_tracker_unittest.cc', |
186 'proxy/ppapi_proxy_test.cc', | 186 'proxy/ppapi_proxy_test.cc', |
187 'proxy/ppapi_proxy_test.h', | 187 'proxy/ppapi_proxy_test.h', |
188 'proxy/serialized_var_unittest.cc', | 188 'proxy/serialized_var_unittest.cc', |
189 ], | 189 ], |
190 }, | 190 }, |
191 ], | 191 ], |
192 | 192 |
193 'conditions': [ | 193 'conditions': [ |
194 # NOTE: the PPAPI examples fail to build on mac. | 194 # NOTE: the PPAPI examples fail to build on mac & windows. |
195 # http://code.google.com/p/chromium/issues/detail?id=54005 tracks mac. | 195 # http://code.google.com/p/chromium/issues/detail?id=54005 tracks mac. |
196 ['OS!="mac"', { | 196 # TODO(ppapi authors): Make the examples build on Windows as well. In |
| 197 # particular previous attempts have failed because the Win(clobber) and |
| 198 # WinShared(dbg) builds try to build all, import *.gyp:*, and "all" becomes |
| 199 # a direct dependent of ppapi_example_skeleton, making it a shared_library, |
| 200 # and confusing the build system into failure. |
| 201 ['OS!="win" and OS!="mac"', { |
197 'targets': [ | 202 'targets': [ |
198 { | 203 { |
199 'target_name': 'ppapi_example_skeleton', | 204 'target_name': 'ppapi_example_skeleton', |
200 'type': 'none', | 205 'type': 'none', |
201 'direct_dependent_settings': { | 206 'direct_dependent_settings': { |
202 'product_name': '>(_target_name)', | 207 'product_name': '>(_target_name)', |
203 'conditions': [ | 208 'conditions': [ |
204 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"',
{ | 209 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"',
{ |
205 'cflags': ['-fvisibility=hidden'], | 210 'cflags': ['-fvisibility=hidden'], |
206 'type': 'shared_library', | 211 'type': 'shared_library', |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 ], | 325 ], |
321 'sources': [ | 326 'sources': [ |
322 'examples/gles2/gles2.cc', | 327 'examples/gles2/gles2.cc', |
323 'examples/gles2/testdata.h', | 328 'examples/gles2/testdata.h', |
324 ], | 329 ], |
325 }, | 330 }, |
326 ], | 331 ], |
327 }] | 332 }] |
328 ] | 333 ] |
329 } | 334 } |
OLD | NEW |