Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: third_party/mesa/mesa.gyp

Issue 1226583002: clang/win: Build chromium code without -Wno-incompatible-pointer-types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clang-logical-op-parentheses
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'generated_src_dir': 'src/chromium_gensrc', 7 'generated_src_dir': 'src/chromium_gensrc',
8 }, 8 },
9 'target_defaults': { 9 'target_defaults': {
10 'defines': [ 10 'defines': [
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 # since Android's math library doesn't have sincos(). 643 # since Android's math library doesn't have sincos().
644 # Either -fno-builtin-sin or -fno-builtin-cos works. 644 # Either -fno-builtin-sin or -fno-builtin-cos works.
645 'cflags': [ 645 'cflags': [
646 '-fno-builtin-sin', 646 '-fno-builtin-sin',
647 ], 647 ],
648 }], 648 }],
649 ['OS=="win"', { 649 ['OS=="win"', {
650 'defines': [ 650 'defines': [
651 # Because we're building as a static library 651 # Because we're building as a static library
652 '_GLAPI_NO_EXPORTS', 652 '_GLAPI_NO_EXPORTS',
653 # Generated files use const only if __cplusplus or __STDC__ is
654 # defined. On Windows, neither is defined, so define YY_USE_CONST
655 # to explicitly enable const.
656 'YY_USE_CONST',
653 ], 657 ],
654 }], 658 }],
655 ], 659 ],
656 }, 660 },
657 # Building this target will hide the native OpenGL shared library and 661 # Building this target will hide the native OpenGL shared library and
658 # replace it with a slow software renderer. 662 # replace it with a slow software renderer.
659 { 663 {
660 'target_name': 'osmesa', 664 'target_name': 'osmesa',
661 'type': 'loadable_module', 665 'type': 'loadable_module',
662 'mac_bundle': 0, 666 'mac_bundle': 0,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 '<(PRODUCT_DIR)/libosmesa.so', 739 '<(PRODUCT_DIR)/libosmesa.so',
736 '<(SHARED_LIB_DIR)/libosmesa.so', 740 '<(SHARED_LIB_DIR)/libosmesa.so',
737 ], 741 ],
738 }, 742 },
739 ], 743 ],
740 }, 744 },
741 ], 745 ],
742 }], 746 }],
743 ], 747 ],
744 } 748 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698