From edbbb076d1424f74d366fbfcbedf7698753bfa99 Mon Sep 17 00:00:00 2001 From: "gspencer@google.com" Date: Mon, 5 Oct 2009 21:22:12 +0000 Subject: This fixes the GL build so it works. Just add "-Drenderer=gl" to the hooks args. Review URL: http://codereview.chromium.org/242145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28048 0039d316-1c4b-4281-b951-d872f2087c98 --- o3d/build/libs.gyp | 10 ++++++++++ o3d/core/core.gyp | 3 +++ o3d/plugin/plugin.gyp | 4 ++-- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/o3d/build/libs.gyp b/o3d/build/libs.gyp index 0244c48..2d53b5d 100644 --- a/o3d/build/libs.gyp +++ b/o3d/build/libs.gyp @@ -48,6 +48,16 @@ }, }, ], + [ 'OS=="win"', + { + 'direct_dependent_settings': { + 'libraries': [ + '-lOpenGL32.lib', + '../../<(glewdir)/lib/glew32.lib', + ], + }, + }, + ], ], }, { diff --git a/o3d/core/core.gyp b/o3d/core/core.gyp index 13f50a1..c1224d1 100644 --- a/o3d/core/core.gyp +++ b/o3d/core/core.gyp @@ -359,6 +359,9 @@ 'cross/gl/utils_gl.cc', 'cross/gl/utils_gl.h', ], + 'dependencies': [ + '../build/libs.gyp:gl_libs', + ], }, ], ['renderer == "d3d9" and OS == "win"', diff --git a/o3d/plugin/plugin.gyp b/o3d/plugin/plugin.gyp index 397dceb..fdd4f09 100644 --- a/o3d/plugin/plugin.gyp +++ b/o3d/plugin/plugin.gyp @@ -36,7 +36,6 @@ '../core/core.gyp:o3dCore', '../core/core.gyp:o3dCorePlatform', '../import/archive.gyp:o3dArchive', - '../serializer/serializer.gyp:o3dSerializer', '../utils/utils.gyp:o3dUtils', '../../native_client/src/shared/imc/imc.gyp:google_nacl_imc', 'idl/idl.gyp:o3dPluginIdl', @@ -76,6 +75,7 @@ ['renderer == "gl"', { 'dependencies': [ + '../build/libs.gyp:gl_libs', '../build/libs.gyp:cg_libs', ], }, @@ -237,7 +237,7 @@ }, ], 'conditions': [ - ['o3d_in_chrome != 0', + ['o3d_in_chrome == "True"', { 'variables': { 'o3d_main_lib_type': 'static_library', -- cgit v1.1