summaryrefslogtreecommitdiffstats
path: root/o3d/import
diff options
context:
space:
mode:
authorgspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-24 01:46:45 +0000
committergspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-24 01:46:45 +0000
commit746cd5788d57799fee1e327867ab9d4e9a76d6af (patch)
treedba40e195700f6f841c9c945b8fd2519128328f7 /o3d/import
parent015c1e689f04a11f07401394da0bf13018218fe1 (diff)
downloadchromium_src-746cd5788d57799fee1e327867ab9d4e9a76d6af.zip
chromium_src-746cd5788d57799fee1e327867ab9d4e9a76d6af.tar.gz
chromium_src-746cd5788d57799fee1e327867ab9d4e9a76d6af.tar.bz2
This adds in the GYP files needed for our GYP build,
and modifies the DEPS file extensively to match. Review URL: http://codereview.chromium.org/131116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19091 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/import')
-rw-r--r--o3d/import/import.gyp130
1 files changed, 130 insertions, 0 deletions
diff --git a/o3d/import/import.gyp b/o3d/import/import.gyp
new file mode 100644
index 0000000..4ecb9c64
--- /dev/null
+++ b/o3d/import/import.gyp
@@ -0,0 +1,130 @@
+# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ 'chromium_code': 1,
+ },
+ 'includes': [
+ '../build/common.gypi',
+ ],
+ 'target_defaults': {
+ 'include_dirs': [
+ '..',
+ '../..',
+ '../../<(cgdir)/include',
+ '../../<(gtestdir)',
+ ],
+ },
+ 'targets': [
+ {
+ 'target_name': 'o3dImport',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../../<(antlrdir)/antlr.gyp:antlr3c',
+ '../../<(fcolladadir)/fcollada.gyp:fcollada',
+ '../../<(jpegdir)/libjpeg.gyp:libjpeg',
+ '../../<(pngdir)/libpng.gyp:libpng',
+ '../../<(zlibdir)/zlib.gyp:zlib',
+ '../compiler/technique/technique.gyp:technique',
+ ],
+ 'sources': [
+ 'cross/collada_conditioner.cc',
+ 'cross/collada_conditioner.h',
+ 'cross/collada.cc',
+ 'cross/collada.h',
+ 'cross/collada_zip_archive.cc',
+ 'cross/collada_zip_archive.h',
+ 'cross/file_output_stream_processor.cc',
+ 'cross/file_output_stream_processor.h',
+ 'cross/gz_compressor.cc',
+ 'cross/gz_compressor.h',
+ 'cross/precompile.h',
+ 'cross/tar_generator.cc',
+ 'cross/tar_generator.h',
+ 'cross/tar_processor.h',
+ 'cross/targz_generator.cc',
+ 'cross/targz_generator.h',
+ 'cross/targz_processor.h',
+ 'cross/zip_archive.cc',
+ 'cross/zip_archive.h',
+ ],
+ 'conditions' : [
+ ['renderer == "d3d9" and OS == "win"',
+ {
+ 'include_dirs': [
+ '$(DXSDK_DIR)/Include',
+ ],
+ }
+ ],
+ ['OS == "win"',
+ {
+ 'sources': [
+ 'win/collada_conditioner_win.cc',
+ ],
+ },
+ ],
+ ['OS == "mac"',
+ {
+ 'sources': [
+ 'mac/collada_conditioner_mac.mm',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
+ ],
+ },
+ },
+ ],
+ ['OS == "linux"',
+ {
+ 'sources': [
+ 'linux/collada_conditioner_linux.cc',
+ ],
+ },
+ ],
+ ],
+ },
+ {
+ 'target_name': 'o3dArchive',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../../<(antlrdir)/antlr.gyp:antlr3c',
+ '../../<(fcolladadir)/fcollada.gyp:fcollada',
+ '../../<(jpegdir)/libjpeg.gyp:libjpeg',
+ '../../<(pngdir)/libpng.gyp:libpng',
+ '../../<(zlibdir)/zlib.gyp:zlib',
+ ],
+ 'sources': [
+ 'cross/archive_processor.cc',
+ 'cross/archive_processor.h',
+ 'cross/archive_request.cc',
+ 'cross/archive_request.h',
+ 'cross/gz_decompressor.cc',
+ 'cross/gz_decompressor.h',
+ 'cross/iarchive_generator.h',
+ 'cross/memory_buffer.h',
+ 'cross/memory_stream.cc',
+ 'cross/memory_stream.h',
+ 'cross/raw_data.cc',
+ 'cross/raw_data.h',
+ 'cross/tar_generator.h',
+ 'cross/tar_processor.cc',
+ 'cross/tar_processor.h',
+ 'cross/targz_generator.h',
+ 'cross/targz_processor.cc',
+ 'cross/targz_processor.h',
+ ],
+ 'conditions' : [
+ ['renderer == "d3d9" and OS == "win"',
+ {
+ 'include_dirs': [
+ '$(DXSDK_DIR)/Include',
+ ],
+ }
+ ],
+ ],
+ },
+ ],
+}