Chromium Code Reviews| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 189 'proxy/ppapi_proxy_test.h', | 189 'proxy/ppapi_proxy_test.h', |
| 190 'proxy/ppp_instance_proxy_test.cc', | 190 'proxy/ppp_instance_proxy_test.cc', |
| 191 'proxy/serialized_var_unittest.cc', | 191 'proxy/serialized_var_unittest.cc', |
| 192 ], | 192 ], |
| 193 }, | 193 }, |
| 194 ], | 194 ], |
| 195 | 195 |
| 196 'conditions': [ | 196 'conditions': [ |
| 197 # NOTE: the PPAPI examples fail to build on mac & windows. | 197 # NOTE: the PPAPI examples fail to build on mac & windows. |
| 198 # http://code.google.com/p/chromium/issues/detail?id=54005 tracks mac. | 198 # http://code.google.com/p/chromium/issues/detail?id=54005 tracks mac. |
| 199 # TODO(ppapi authors): Make the examples build on Windows as well. In | 199 ['OS!="mac"', { |
| 200 # particular previous attempts have failed because the Win(clobber) and | |
| 201 # WinShared(dbg) builds try to build all, import *.gyp:*, and "all" becomes | |
| 202 # a direct dependent of ppapi_example_skeleton, making it a shared_library, | |
| 203 # and confusing the build system into failure. | |
| 204 ['OS!="win" and OS!="mac"', { | |
| 205 'targets': [ | 200 'targets': [ |
| 206 { | 201 { |
| 207 'target_name': 'ppapi_example_skeleton', | 202 'target_name': 'ppapi_example_skeleton', |
| 203 'suppress_wildcards': 1, | |
|
Ryan Sleevi
2011/07/12 00:16:26
The key is 'suppress_wildcard' - singular.
Ami GONE FROM CHROMIUM
2011/07/12 00:23:59
Done.
| |
| 208 'type': 'none', | 204 'type': 'none', |
| 209 'direct_dependent_settings': { | 205 'direct_dependent_settings': { |
| 210 'product_name': '>(_target_name)', | 206 'product_name': '>(_target_name)', |
| 211 'conditions': [ | 207 'conditions': [ |
| 212 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | 208 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
| 213 'cflags': ['-fvisibility=hidden'], | 209 'cflags': ['-fvisibility=hidden'], |
| 214 'type': 'shared_library', | 210 'type': 'shared_library', |
| 215 # -gstabs, used in the official builds, causes an ICE. Simply re move | 211 # -gstabs, used in the official builds, causes an ICE. Simply re move |
| 216 # it. | 212 # it. |
| 217 'cflags!': ['-gstabs'], | 213 'cflags!': ['-gstabs'], |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 328 ], | 324 ], |
| 329 'sources': [ | 325 'sources': [ |
| 330 'examples/gles2/gles2.cc', | 326 'examples/gles2/gles2.cc', |
| 331 'examples/gles2/testdata.h', | 327 'examples/gles2/testdata.h', |
| 332 ], | 328 ], |
| 333 }, | 329 }, |
| 334 ], | 330 ], |
| 335 }] | 331 }] |
| 336 ] | 332 ] |
| 337 } | 333 } |
| OLD | NEW |