diff options
Diffstat (limited to 'chrome/chrome_exe.gypi')
-rw-r--r-- | chrome/chrome_exe.gypi | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/chrome/chrome_exe.gypi b/chrome/chrome_exe.gypi index 00be5df..ebea4b5 100644 --- a/chrome/chrome_exe.gypi +++ b/chrome/chrome_exe.gypi @@ -461,6 +461,27 @@ }, ], 'conditions': [ + # http://code.google.com/p/chromium/issues/detail?id=18337 + ['target_arch!="x64" and target_arch!="arm"', { + 'targets': [ + { + 'target_name': 'chrome_mesa', + 'type': 'none', + 'dependencies': [ + 'chrome', + '../third_party/mesa/mesa.gyp:osmesa', + ], + 'conditions': [ + ['OS=="mac"', { + 'copies': [{ + 'destination': '<(PRODUCT_DIR)/<(branding).app/Contents/Versions/<(version_full)/<(branding) Helper.app/Contents/MacOS/', + 'files': ['<(PRODUCT_DIR)/osmesa.so'], + }], + }], + ], + }, + ], + }], ['OS=="win"', { 'targets': [ { |