diff options
author | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-04 17:25:00 +0000 |
---|---|---|
committer | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-04 17:25:00 +0000 |
commit | 37a625a6cefff0972bc95d2add8a797a37dbb3f9 (patch) | |
tree | 43e4b5f31e2d44b6a456fee666b3988d4b2f212d /o3d/build/libs.gyp | |
parent | e6060447254932d459c6c6fa6061c11a01432c7d (diff) | |
download | chromium_src-37a625a6cefff0972bc95d2add8a797a37dbb3f9.zip chromium_src-37a625a6cefff0972bc95d2add8a797a37dbb3f9.tar.gz chromium_src-37a625a6cefff0972bc95d2add8a797a37dbb3f9.tar.bz2 |
This adds in targets for selenium and updated several other problems,
including some problems with the samples and idl generation.
Selenium targets launch selenium on all platforms, but the tests don't
pass anywhere but Windows yet because the plugin isn't found.
I'll work on that next.
Review URL: http://codereview.chromium.org/197014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25467 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/build/libs.gyp')
-rw-r--r-- | o3d/build/libs.gyp | 135 |
1 files changed, 116 insertions, 19 deletions
diff --git a/o3d/build/libs.gyp b/o3d/build/libs.gyp index 88dba6b..0244c48 100644 --- a/o3d/build/libs.gyp +++ b/o3d/build/libs.gyp @@ -13,15 +13,99 @@ ], 'targets': [ { + 'target_name': 'gl_libs', + 'type': 'none', + 'direct_dependent_settings': { + 'include_dirs': [ + '../../<(glewdir)/include', + ], + }, + 'conditions': [ + [ 'OS=="linux"', + { + 'direct_dependent_settings': { + 'defines': [ + 'GL_GLEXT_PROTOTYPES', + ], + 'scons_variable_settings': { + 'LIBPATH': [ + '../../<(glewdir)/lib', + ], + }, + 'libraries': [ + "-lGL", + "-lGLEW", + ], + }, + }, + ], + [ 'OS=="mac"', + { + 'direct_dependent_settings': { + 'libraries': [ + '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', + ], + }, + }, + ], + ], + }, + { 'target_name': 'cg_libs', 'type': 'none', + 'direct_dependent_settings': { + 'include_dirs': [ + '../../<(cgdir)/include', + ], + }, + 'conditions': [ + [ 'OS=="linux"', + { + 'direct_dependent_settings': { + 'scons_variable_settings': { + 'LIBPATH': [ + '<(PRODUCT_DIR)', + ], + }, + 'libraries': [ + "-lCg", + "-lCgGL", + ], + }, + }, + ], + [ 'OS=="win"', + { + 'direct_dependent_settings': { + 'libraries': [ + "../../<(cgdir)/lib/cg.lib", + "../../<(cgdir)/lib/cgD3D9.lib", + "../../<(cgdir)/lib/cgGL.lib", + "../../<(cgdir)/lib/glut32.lib", + ], + }, + }, + ], + [ 'OS=="mac"', + { + 'direct_dependent_settings': { + 'libraries': [ + "<(PRODUCT_DIR)/Cg.framework", + ], + }, + } + ], + ], 'copies': [ { 'destination': '<(PRODUCT_DIR)', 'conditions' : [ - [ 'OS=="mac"', + [ 'OS=="linux"', { 'files': [ + "../../<(cgdir)/lib/libCg.so", + "../../<(cgdir)/lib/libCgGL.so", + "../../<(cgdir)/bin/cgc", ], }, ], @@ -49,25 +133,38 @@ }, ], 'conditions': [ - ['OS=="win"', { - 'targets': [ - { - 'target_name': 'dx_dll', - 'type': 'none', - 'copies': [ - { - 'destination': '<(PRODUCT_DIR)', - 'conditions' : [ - ['"<(dx_redist_exists)" == "True"', { - 'files': ['<(dx_redist_path)/d3dx9_36.dll'], - },{ - 'files': ['$(windir)/system32/d3dx9_36.dll'], - }], + ['OS=="win"', + { + 'targets': [ + { + 'target_name': 'dx_dll', + 'type': 'none', + 'direct_dependent_settings': { + 'include_dirs': [ + '$(DXSDK_DIR)/Include', + ], + 'libraries': [ + '"$(DXSDK_DIR)/Lib/x86/d3dx9.lib"', ], }, - ], - }, - ], - }], + 'copies': [ + { + 'destination': '<(PRODUCT_DIR)', + 'conditions' : [ + ['"<(dx_redist_exists)" == "True"', + { + 'files': ['<(dx_redist_path)/d3dx9_36.dll'], + }, + { + 'files': ['$(windir)/system32/d3dx9_36.dll'], + } + ], + ], + }, + ], + }, + ], + } + ], ], } |