From d18bfdc01d0691126ab7d6edd07d926701b6db58 Mon Sep 17 00:00:00 2001 From: "gspencer@google.com" Date: Wed, 5 Aug 2009 15:04:06 +0000 Subject: Putting some stubs in so that gyp generation doesn't fail on Mac and so that it doesn't fail when the internal repository isn't available. Review URL: http://codereview.chromium.org/159848 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22476 0039d316-1c4b-4281-b951-d872f2087c98 --- o3d/build/libs.gyp | 7 +++++++ o3d/documentation/documentation.gyp | 24 +++++++++++++++++++----- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/o3d/build/libs.gyp b/o3d/build/libs.gyp index 64e597a..765afbb 100644 --- a/o3d/build/libs.gyp +++ b/o3d/build/libs.gyp @@ -28,6 +28,13 @@ ], }, ], + [ 'OS=="mac"', + { + 'files': [ + "../../<(cgdir)/Cg.framework", + ] + } + ], ], }, ], diff --git a/o3d/documentation/documentation.gyp b/o3d/documentation/documentation.gyp index f7f92a1..b8db20b 100644 --- a/o3d/documentation/documentation.gyp +++ b/o3d/documentation/documentation.gyp @@ -5,6 +5,9 @@ { 'variables': { 'chromium_code': 1, + # We only want the documentation targets to be defined if the JS + # Compiler is available, so we use python to find out if it's + # available. 'jscomp_exists': '