| 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 25 matching lines...) Expand all Loading... |
| 36 }, | 36 }, |
| 37 { | 37 { |
| 38 'target_name': 'gpu_demo_framework_exe', | 38 'target_name': 'gpu_demo_framework_exe', |
| 39 'type': 'static_library', | 39 'type': 'static_library', |
| 40 'dependencies': [ | 40 'dependencies': [ |
| 41 'gpu_demo_framework', | 41 'gpu_demo_framework', |
| 42 '../gpu.gyp:command_buffer_client', | 42 '../gpu.gyp:command_buffer_client', |
| 43 '../gpu.gyp:command_buffer_service', | 43 '../gpu.gyp:command_buffer_service', |
| 44 ], | 44 ], |
| 45 'sources': [ | 45 'sources': [ |
| 46 'framework/main_exe.cc', |
| 46 'framework/window.cc', | 47 'framework/window.cc', |
| 47 'framework/window.h', | 48 'framework/window.h', |
| 48 ], | 49 ], |
| 49 'conditions': [ | 50 'conditions': [ |
| 50 ['OS=="linux"', {'sources': ['framework/window_linux.cc']}], | 51 ['OS=="linux"', { |
| 51 ['OS=="mac"', {'sources': ['framework/window_mac.mm']}], | 52 'sources': ['framework/window_linux.cc'], |
| 52 ['OS=="win"', {'sources': ['framework/window_win.cc']}], | 53 'dependencies': ['../../build/linux/system.gyp:gtk'], |
| 54 }], |
| 55 ['OS=="mac"', { |
| 56 'sources': ['framework/window_mac.mm'], |
| 57 }], |
| 58 ['OS=="win"', { |
| 59 'sources': ['framework/window_win.cc'], |
| 60 }], |
| 53 ], | 61 ], |
| 54 'direct_dependent_settings': { | |
| 55 'sources': ['framework/main_exe.cc'], | |
| 56 }, | |
| 57 }, | 62 }, |
| 58 { | 63 { |
| 59 'target_name': 'gpu_demo_framework_pepper', | 64 'target_name': 'gpu_demo_framework_pepper', |
| 60 'type': 'static_library', | 65 'type': 'static_library', |
| 61 'dependencies': [ | 66 'dependencies': [ |
| 62 'gpu_demo_framework', | 67 'gpu_demo_framework', |
| 63 '../gpu.gyp:pgl', | 68 '../gpu.gyp:pgl', |
| 64 ], | 69 ], |
| 65 'sources': [ | 70 'sources': [ |
| 66 'framework/plugin.cc', | 71 'framework/plugin.cc', |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 ], | 274 ], |
| 270 }], | 275 }], |
| 271 ], | 276 ], |
| 272 } | 277 } |
| 273 | 278 |
| 274 # Local Variables: | 279 # Local Variables: |
| 275 # tab-width:2 | 280 # tab-width:2 |
| 276 # indent-tabs-mode:nil | 281 # indent-tabs-mode:nil |
| 277 # End: | 282 # End: |
| 278 # vim: set expandtab tabstop=2 shiftwidth=2: | 283 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |