diff options
author | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-24 01:46:45 +0000 |
---|---|---|
committer | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-24 01:46:45 +0000 |
commit | 746cd5788d57799fee1e327867ab9d4e9a76d6af (patch) | |
tree | dba40e195700f6f841c9c945b8fd2519128328f7 /o3d/build/common.gypi | |
parent | 015c1e689f04a11f07401394da0bf13018218fe1 (diff) | |
download | chromium_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/build/common.gypi')
-rw-r--r-- | o3d/build/common.gypi | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/o3d/build/common.gypi b/o3d/build/common.gypi new file mode 100644 index 0000000..471700c --- /dev/null +++ b/o3d/build/common.gypi @@ -0,0 +1,80 @@ +# 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. + +{ + 'includes': [ + '../../build/common.gypi', + ], + 'variables': { + 'antlrdir': 'third_party/antlr3', + 'breakpaddir': 'breakpad/src', + 'fcolladadir': 'third_party/fcollada/files', + 'gtestdir': 'testing/gtest/include', + 'jpegdir': 'third_party/libjpeg', + 'nacldir': 'third_party/native_client/googleclient', + 'nixysadir': 'third_party/nixysa/files', + 'npapidir': 'third_party/npapi/files', + 'pngdir': 'third_party/libpng', + 'skiadir': 'third_party/skia/include', + 'zlibdir': 'third_party/zlib', + }, + 'conditions' : [ + ['OS == "win"', + { + 'variables': { + 'renderer': 'd3d9', + 'cgdir': 'third_party/cg/files/win', + 'LIBRARY_SUFFIX': '.lib', + 'CONFIGURATION': '$(ConfigurationName)', + }, + 'target_defaults': { + 'defines': [ + '_CRT_SECURE_NO_WARNINGS', + 'RENDERER_D3D9', + 'OS_WIN', + 'NACL_WINDOWS', + ], + 'msvs_disabled_warnings': [4355], + 'msvs_settings': { + 'VCCLCompilerTool': { + 'AdditionalOptions': '/MP', + }, + }, + }, + }, + ], + ['OS == "mac"', + { + 'variables': { + 'renderer': 'gl', + 'cgdir': 'third_party/cg/files/mac', + 'LIBRARY_SUFFIX': '.a', + 'CONFIGURATION': '$(CONFIGURATION)', + }, + 'target_defaults': { + 'defines': [ + 'RENDERER_GL', + 'OS_MACOSX', + ], + }, + }, + ], + ['OS == "linux"', + { + 'variables': { + 'renderer': 'gl', + 'cgdir': 'third_party/cg/files/linux', + 'LIBRARY_SUFFIX': '.a', + 'CONFIGURATION': '$(CONFIGURATION)', + }, + 'target_defaults': { + 'defines': [ + 'RENDERER_GL', + 'OS_LINUX', + ], + }, + }, + ], + ], +} |