summaryrefslogtreecommitdiffstats
path: root/o3d/converter
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/converter
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/converter')
-rw-r--r--o3d/converter/converter.gyp90
1 files changed, 90 insertions, 0 deletions
diff --git a/o3d/converter/converter.gyp b/o3d/converter/converter.gyp
new file mode 100644
index 0000000..3b14115
--- /dev/null
+++ b/o3d/converter/converter.gyp
@@ -0,0 +1,90 @@
+# 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': [
+ '..',
+ '../..',
+ '../../<(gtestdir)',
+ ],
+ },
+ 'targets': [
+ {
+ 'target_name': 'o3dConverter',
+ 'type': 'executable',
+ 'dependencies': [
+ '../../<(antlrdir)/antlr.gyp:antlr3c',
+ '../../<(fcolladadir)/fcollada.gyp:fcollada',
+ '../../<(jpegdir)/libjpeg.gyp:libjpeg',
+ '../../<(pngdir)/libpng.gyp:libpng',
+ '../../<(zlibdir)/zlib.gyp:zlib',
+ '../../base/base.gyp:base',
+ '../../skia/skia.gyp:skia',
+ '../compiler/technique/technique.gyp:technique',
+ '../core/core.gyp:o3dCore',
+ '../core/core.gyp:o3dCorePlatform',
+ '../import/import.gyp:o3dArchive',
+ '../import/import.gyp:o3dImport',
+ '../serializer/serializer.gyp:o3dSerializer',
+ '../utils/utils.gyp:o3dUtils',
+ ],
+ 'sources': [
+ 'cross/buffer_stub.cc',
+ 'cross/buffer_stub.h',
+ 'cross/converter.cc',
+ 'cross/converter.h',
+ 'cross/converter_main.cc',
+ 'cross/draw_element_stub.h',
+ 'cross/effect_stub.h',
+ 'cross/param_cache_stub.h',
+ 'cross/primitive_stub.h',
+ 'cross/render_surface_stub.h',
+ 'cross/renderer_stub.cc',
+ 'cross/renderer_stub.h',
+ 'cross/sampler_stub.h',
+ 'cross/stream_bank_stub.h',
+ 'cross/texture_stub.cc',
+ 'cross/texture_stub.h',
+ ],
+ 'conditions' : [
+ ['OS == "mac"',
+ {
+ 'sources': [
+ 'mac/converter_main.mm',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
+ ],
+ },
+ },
+ ],
+ ['OS == "win"',
+ {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'AdditionalDependencies': [
+ 'rpcrt4.lib',
+ '"$(DXSDK_DIR)/Lib/x86/d3dx9.lib"',
+ '../../<(cgdir)/lib/cg.lib',
+ '../../<(cgdir)/lib/cgGL.lib',
+ ],
+ # Set /SUBSYSTEM:CONSOLE for converter.exe, since
+ # it is a console app.
+ 'SubSystem': '1',
+ },
+ },
+ },
+ ],
+ ],
+ },
+ ],
+}