Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: build/common.gypi

Issue 131116: This adds in the GYP files needed for our GYP build. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/build_nacl.py ('k') | build/nacl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
===================================================================
--- build/common.gypi (revision 0)
+++ build/common.gypi (revision 0)
@@ -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',
+ ],
+ },
+ },
+ ],
+ ],
+}
« no previous file with comments | « build/build_nacl.py ('k') | build/nacl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698