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

Side by Side Diff: gyp/common_conditions.gypi

Issue 1789663002: sRGB support in Ganesh. Several pieces: (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Squelch clang warnings about GrPixelConfig < kGrPixelConfigCnt Created 4 years, 9 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
« no previous file with comments | « example/HelloWorld.cpp ('k') | gyp/core.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # conditions used in both common.gypi and skia.gyp in chromium 6 # conditions used in both common.gypi and skia.gyp in chromium
7 # 7 #
8 { 8 {
9 'defines': [ 9 'defines': [
10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', 10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)',
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 '-fno-exceptions', 225 '-fno-exceptions',
226 '-fstrict-aliasing', 226 '-fstrict-aliasing',
227 227
228 '-Wall', 228 '-Wall',
229 '-Wextra', 229 '-Wextra',
230 '-Winit-self', 230 '-Winit-self',
231 '-Wpointer-arith', 231 '-Wpointer-arith',
232 '-Wsign-compare', 232 '-Wsign-compare',
233 233
234 '-Wno-unused-parameter', 234 '-Wno-unused-parameter',
235 '-Wno-tautological-compare',
Brian Osman 2016/03/17 18:07:03 Is this okay? Without this, clang is warning on co
235 ], 236 ],
236 'cflags_cc': [ 237 'cflags_cc': [
237 '-std=c++11', 238 '-std=c++11',
238 '-fno-rtti', 239 '-fno-rtti',
239 '-fno-threadsafe-statics', 240 '-fno-threadsafe-statics',
240 '-Wnon-virtual-dtor', 241 '-Wnon-virtual-dtor',
241 ], 242 ],
242 'ldflags': [ '-rdynamic' ], 243 'ldflags': [ '-rdynamic' ],
243 'conditions': [ 244 'conditions': [
244 [ 'skia_fast', { 'cflags': [ '<@(skia_fast_flags)' ] }], 245 [ 'skia_fast', { 'cflags': [ '<@(skia_fast_flags)' ] }],
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 ], 655 ],
655 }], 656 }],
656 [ 'skia_profile_enabled == 1', { 657 [ 'skia_profile_enabled == 1', {
657 'cflags': ['-g', '-fno-omit-frame-pointer', '-marm', '-mapcs'], 658 'cflags': ['-g', '-fno-omit-frame-pointer', '-marm', '-mapcs'],
658 }], 659 }],
659 [ 'skia_clang_build', { 660 [ 'skia_clang_build', {
660 'cflags': [ 661 'cflags': [
661 '-Wno-unknown-warning-option', # Allows unknown warnings 662 '-Wno-unknown-warning-option', # Allows unknown warnings
662 # These flags that are on by default for only the android 663 # These flags that are on by default for only the android
663 # toolchain and no other platforms. 664 # toolchain and no other platforms.
664 '-Wno-tautological-compare',
665 '-Wno-unused-command-line-argument', 665 '-Wno-unused-command-line-argument',
666 ], 666 ],
667 }], 667 }],
668 ], 668 ],
669 }, 669 },
670 ], 670 ],
671 671
672 [ 'skia_moz2d', { 672 [ 'skia_moz2d', {
673 'defines': [ 673 'defines': [
674 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d 674 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d
(...skipping 11 matching lines...) Expand all
686 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], 686 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'],
687 }, 687 },
688 }], 688 }],
689 689
690 ], # end 'conditions' 690 ], # end 'conditions'
691 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details 691 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details
692 'xcode_settings': { 692 'xcode_settings': {
693 'SYMROOT': '<(DEPTH)/xcodebuild', 693 'SYMROOT': '<(DEPTH)/xcodebuild',
694 }, 694 },
695 } 695 }
OLDNEW
« no previous file with comments | « example/HelloWorld.cpp ('k') | gyp/core.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698