diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/all.gyp | 6 | ||||
-rw-r--r-- | build/common.gypi | 14 |
2 files changed, 9 insertions, 11 deletions
diff --git a/build/all.gyp b/build/all.gyp index ebde11c..fde8461 100644 --- a/build/all.gyp +++ b/build/all.gyp @@ -51,11 +51,6 @@ '../chrome_frame/chrome_frame.gyp:*', ], }], - ['enable_gpu==1', { - 'dependencies': [ - '../gpu/gpu.gyp:*', - ], - }], ['OS=="mac" or OS=="linux" or OS=="freebsd"', { 'dependencies': [ '../third_party/yasm/yasm.gyp:*#host', @@ -100,6 +95,7 @@ '../chrome/app/locales/locales.gyp:*', '../courgette/courgette.gyp:*', '../gears/gears.gyp:*', + '../gpu/gpu.gyp:*', '../rlz/rlz.gyp:*', '../sandbox/sandbox.gyp:*', '../third_party/bsdiff/bsdiff.gyp:*', diff --git a/build/common.gypi b/build/common.gypi index a8ef21a..1d4da45 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -126,7 +126,7 @@ # JavaScript engines. 'javascript_engine%': 'v8', - # Although base/allocator lets you select a heap library via an + # Although base/allocator lets you select a heap library via an # environment variable, the libcmt shim it uses sometimes gets in # the way. To disable it entirely, and switch to normal msvcrt, do e.g. # 'win_use_allocator_shim': 0, @@ -327,9 +327,6 @@ ['chromeos==1 or toolkit_views==1', { 'defines': ['OS_CHROMEOS=1'], }], - ['enable_gpu==1', { - 'defines': ['ENABLE_GPU=1'], - }], ['fastbuild!=0', { 'conditions': [ # Finally, for Windows, we simply turn on profiling. @@ -355,6 +352,11 @@ }], ], }], + ['OS=="win"', { + 'defines': [ + 'ENABLE_GPU=1', + ], + }], ['coverage!=0', { 'conditions': [ ['OS=="mac"', { @@ -507,8 +509,8 @@ }], ['win_release_RuntimeLibrary==2', { # Visual C++ 2008 barfs when building anything with /MD (msvcrt): - # VC\include\typeinfo(139) : warning C4275: non dll-interface - # class 'stdext::exception' used as base for dll-interface + # VC\include\typeinfo(139) : warning C4275: non dll-interface + # class 'stdext::exception' used as base for dll-interface # class 'std::bad_cast' 'msvs_disabled_warnings': [4275], }], |