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 '../../<(cgdir)/include', |
| 17 '../../<(gtestdir)', |
| 18 ], |
| 19 }, |
| 20 'targets': [ |
| 21 { |
| 22 'target_name': 'o3dImport', |
| 23 'type': 'static_library', |
| 24 'dependencies': [ |
| 25 '../../<(antlrdir)/antlr.gyp:antlr3c', |
| 26 '../../<(fcolladadir)/fcollada.gyp:fcollada', |
| 27 '../../<(jpegdir)/libjpeg.gyp:libjpeg', |
| 28 '../../<(pngdir)/libpng.gyp:libpng', |
| 29 '../../<(zlibdir)/zlib.gyp:zlib', |
| 30 '../compiler/technique/technique.gyp:technique', |
| 31 ], |
| 32 'sources': [ |
| 33 'cross/collada_conditioner.cc', |
| 34 'cross/collada_conditioner.h', |
| 35 'cross/collada.cc', |
| 36 'cross/collada.h', |
| 37 'cross/collada_zip_archive.cc', |
| 38 'cross/collada_zip_archive.h', |
| 39 'cross/file_output_stream_processor.cc', |
| 40 'cross/file_output_stream_processor.h', |
| 41 'cross/gz_compressor.cc', |
| 42 'cross/gz_compressor.h', |
| 43 'cross/precompile.h', |
| 44 'cross/tar_generator.cc', |
| 45 'cross/tar_generator.h', |
| 46 'cross/tar_processor.h', |
| 47 'cross/targz_generator.cc', |
| 48 'cross/targz_generator.h', |
| 49 'cross/targz_processor.h', |
| 50 'cross/zip_archive.cc', |
| 51 'cross/zip_archive.h', |
| 52 ], |
| 53 'conditions' : [ |
| 54 ['renderer == "d3d9" and OS == "win"', |
| 55 { |
| 56 'include_dirs': [ |
| 57 '$(DXSDK_DIR)/Include', |
| 58 ], |
| 59 } |
| 60 ], |
| 61 ['OS == "win"', |
| 62 { |
| 63 'sources': [ |
| 64 'win/collada_conditioner_win.cc', |
| 65 ], |
| 66 }, |
| 67 ], |
| 68 ['OS == "mac"', |
| 69 { |
| 70 'sources': [ |
| 71 'mac/collada_conditioner_mac.mm', |
| 72 ], |
| 73 'link_settings': { |
| 74 'libraries': [ |
| 75 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 76 ], |
| 77 }, |
| 78 }, |
| 79 ], |
| 80 ['OS == "linux"', |
| 81 { |
| 82 'sources': [ |
| 83 'linux/collada_conditioner_linux.cc', |
| 84 ], |
| 85 }, |
| 86 ], |
| 87 ], |
| 88 }, |
| 89 { |
| 90 'target_name': 'o3dArchive', |
| 91 'type': 'static_library', |
| 92 'dependencies': [ |
| 93 '../../<(antlrdir)/antlr.gyp:antlr3c', |
| 94 '../../<(fcolladadir)/fcollada.gyp:fcollada', |
| 95 '../../<(jpegdir)/libjpeg.gyp:libjpeg', |
| 96 '../../<(pngdir)/libpng.gyp:libpng', |
| 97 '../../<(zlibdir)/zlib.gyp:zlib', |
| 98 ], |
| 99 'sources': [ |
| 100 'cross/archive_processor.cc', |
| 101 'cross/archive_processor.h', |
| 102 'cross/archive_request.cc', |
| 103 'cross/archive_request.h', |
| 104 'cross/gz_decompressor.cc', |
| 105 'cross/gz_decompressor.h', |
| 106 'cross/iarchive_generator.h', |
| 107 'cross/memory_buffer.h', |
| 108 'cross/memory_stream.cc', |
| 109 'cross/memory_stream.h', |
| 110 'cross/raw_data.cc', |
| 111 'cross/raw_data.h', |
| 112 'cross/tar_generator.h', |
| 113 'cross/tar_processor.cc', |
| 114 'cross/tar_processor.h', |
| 115 'cross/targz_generator.h', |
| 116 'cross/targz_processor.cc', |
| 117 'cross/targz_processor.h', |
| 118 ], |
| 119 'conditions' : [ |
| 120 ['renderer == "d3d9" and OS == "win"', |
| 121 { |
| 122 'include_dirs': [ |
| 123 '$(DXSDK_DIR)/Include', |
| 124 ], |
| 125 } |
| 126 ], |
| 127 ], |
| 128 }, |
| 129 ], |
| 130 } |
OLD | NEW |