Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'conditions': [ | 8 'conditions': [ |
| 9 # Pepper demos that are compiled as shared libraries need to be compiled | 9 # Pepper demos that are compiled as shared libraries need to be compiled |
| 10 # with -fPIC flag. All static libraries that these demos depend on must | 10 # with -fPIC flag. All static libraries that these demos depend on must |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 49 ], | 49 ], |
| 50 'conditions': [ | 50 'conditions': [ |
| 51 ['OS=="linux"', { | 51 ['OS=="linux"', { |
| 52 'dependencies': ['../../build/linux/system.gyp:gtk'], | 52 'dependencies': ['../../build/linux/system.gyp:gtk'], |
| 53 }], | 53 }], |
| 54 ], | 54 ], |
| 55 }, | 55 }, |
| 56 { | 56 { |
| 57 'target_name': 'gpu_demo_framework_pepper', | 57 'target_name': 'gpu_demo_framework_pepper', |
| 58 'type': 'static_library', | 58 'type': 'static_library', |
| 59 # This target injects a bunch of source files to direct dependents. | |
| 60 # If the dependent is a none-type target (like all.gyp), gyp will | |
| 61 # generate error due to these injected source files. Workaround this | |
| 62 # problem by preventing it from being selected by demos.gyp:*. | |
| 63 'suppress_wildcard': 1, | |
|
apatrick
2010/05/13 17:34:04
I defer to someone who knows more about gyp.
| |
| 59 'dependencies': [ | 64 'dependencies': [ |
| 60 'gpu_demo_framework', | 65 'gpu_demo_framework', |
| 61 '../gpu.gyp:pgl', | 66 '../gpu.gyp:pgl', |
| 62 ], | 67 ], |
| 63 'sources': [ | 68 'sources': [ |
| 64 'framework/plugin.cc', | 69 'framework/plugin.cc', |
| 65 'framework/plugin.h', | 70 'framework/plugin.h', |
| 66 ], | 71 ], |
| 67 'direct_dependent_settings': { | 72 'direct_dependent_settings': { |
| 68 'sources': [ | 73 'sources': [ |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 290 ], | 295 ], |
| 291 }], | 296 }], |
| 292 ], | 297 ], |
| 293 } | 298 } |
| 294 | 299 |
| 295 # Local Variables: | 300 # Local Variables: |
| 296 # tab-width:2 | 301 # tab-width:2 |
| 297 # indent-tabs-mode:nil | 302 # indent-tabs-mode:nil |
| 298 # End: | 303 # End: |
| 299 # vim: set expandtab tabstop=2 shiftwidth=2: | 304 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |