summaryrefslogtreecommitdiffstats
path: root/o3d/build/o3d_in_chrome.gyp
diff options
context:
space:
mode:
authorapatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-19 20:58:39 +0000
committerapatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-19 20:58:39 +0000
commit59ddd8324123953384ed97fa1d346bbebb273b83 (patch)
tree73af7d9ab328e090763a2554d62b7e0b93e6c783 /o3d/build/o3d_in_chrome.gyp
parent8f9fe77995a9351668e32d5ed6dd76f048e95a85 (diff)
downloadchromium_src-59ddd8324123953384ed97fa1d346bbebb273b83.zip
chromium_src-59ddd8324123953384ed97fa1d346bbebb273b83.tar.gz
chromium_src-59ddd8324123953384ed97fa1d346bbebb273b83.tar.bz2
Fixed gpu_plugin to build in the Chrome tree.
TEST=none BUG=none Review URL: http://codereview.chromium.org/302009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29455 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/build/o3d_in_chrome.gyp')
-rw-r--r--o3d/build/o3d_in_chrome.gyp29
1 files changed, 29 insertions, 0 deletions
diff --git a/o3d/build/o3d_in_chrome.gyp b/o3d/build/o3d_in_chrome.gyp
new file mode 100644
index 0000000..08f2e59
--- /dev/null
+++ b/o3d/build/o3d_in_chrome.gyp
@@ -0,0 +1,29 @@
+# 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': [
+ 'common.gypi',
+ ],
+ 'targets': [
+ # Depend on this target to set the O3D_IN_CHROME macro. This also works for
+ # indirectly dependent Chromium projects that do not include the O3D
+ # common.gypi.
+ {
+ 'target_name': 'o3d_in_chrome',
+ 'type': 'none',
+ 'conditions': [
+ ['o3d_in_chrome == "True"',
+ {
+ 'all_dependent_settings': {
+ 'defines': [
+ 'O3D_IN_CHROME',
+ ], # 'defines'
+ }, # 'all_dependent_settings'
+ },
+ ],
+ ], # 'conditions'
+ },
+ ],
+}