OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
| 9 'includes': [ |
| 10 '../build/common.gypi', |
| 11 ], |
| 12 'target_defaults': { |
| 13 'include_dirs': [ |
| 14 '..', |
| 15 '../..', |
| 16 '../../<(gtestdir)', |
| 17 ], |
| 18 }, |
| 19 'targets': [ |
| 20 { |
| 21 'target_name': 'o3dConverter', |
| 22 'type': 'executable', |
| 23 'dependencies': [ |
| 24 '../../<(antlrdir)/antlr.gyp:antlr3c', |
| 25 '../../<(fcolladadir)/fcollada.gyp:fcollada', |
| 26 '../../<(jpegdir)/libjpeg.gyp:libjpeg', |
| 27 '../../<(pngdir)/libpng.gyp:libpng', |
| 28 '../../<(zlibdir)/zlib.gyp:zlib', |
| 29 '../../base/base.gyp:base', |
| 30 '../../skia/skia.gyp:skia', |
| 31 '../compiler/technique/technique.gyp:technique', |
| 32 '../core/core.gyp:o3dCore', |
| 33 '../core/core.gyp:o3dCorePlatform', |
| 34 '../import/import.gyp:o3dArchive', |
| 35 '../import/import.gyp:o3dImport', |
| 36 '../serializer/serializer.gyp:o3dSerializer', |
| 37 '../utils/utils.gyp:o3dUtils', |
| 38 ], |
| 39 'sources': [ |
| 40 'cross/buffer_stub.cc', |
| 41 'cross/buffer_stub.h', |
| 42 'cross/converter.cc', |
| 43 'cross/converter.h', |
| 44 'cross/converter_main.cc', |
| 45 'cross/draw_element_stub.h', |
| 46 'cross/effect_stub.h', |
| 47 'cross/param_cache_stub.h', |
| 48 'cross/primitive_stub.h', |
| 49 'cross/render_surface_stub.h', |
| 50 'cross/renderer_stub.cc', |
| 51 'cross/renderer_stub.h', |
| 52 'cross/sampler_stub.h', |
| 53 'cross/stream_bank_stub.h', |
| 54 'cross/texture_stub.cc', |
| 55 'cross/texture_stub.h', |
| 56 ], |
| 57 'conditions' : [ |
| 58 ['OS == "mac"', |
| 59 { |
| 60 'sources': [ |
| 61 'mac/converter_main.mm', |
| 62 ], |
| 63 'link_settings': { |
| 64 'libraries': [ |
| 65 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 66 ], |
| 67 }, |
| 68 }, |
| 69 ], |
| 70 ['OS == "win"', |
| 71 { |
| 72 'msvs_settings': { |
| 73 'VCLinkerTool': { |
| 74 'AdditionalDependencies': [ |
| 75 'rpcrt4.lib', |
| 76 '"$(DXSDK_DIR)/Lib/x86/d3dx9.lib"', |
| 77 '../../<(cgdir)/lib/cg.lib', |
| 78 '../../<(cgdir)/lib/cgGL.lib', |
| 79 ], |
| 80 # Set /SUBSYSTEM:CONSOLE for converter.exe, since |
| 81 # it is a console app. |
| 82 'SubSystem': '1', |
| 83 }, |
| 84 }, |
| 85 }, |
| 86 ], |
| 87 ], |
| 88 }, |
| 89 ], |
| 90 } |
OLD | NEW |