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

Side by Side Diff: build/common.gypi

Issue 8159015: Add presubmit=no and werror=no flags to Makefile (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Makefile ('k') | build/standalone.gypi » ('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 2011 the V8 project authors. All rights reserved. 1 # Copyright 2011 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 # Enable profiling support. Only required on Windows. 67 # Enable profiling support. Only required on Windows.
68 'v8_enable_prof%': 0, 68 'v8_enable_prof%': 0,
69 69
70 # Chrome needs this definition unconditionally. For standalone V8 builds, 70 # Chrome needs this definition unconditionally. For standalone V8 builds,
71 # it's handled in build/standalone.gypi. 71 # it's handled in build/standalone.gypi.
72 'want_separate_host_toolset%': 1, 72 'want_separate_host_toolset%': 1,
73 73
74 'v8_use_snapshot%': 'true', 74 'v8_use_snapshot%': 'true',
75 'host_os%': '<(OS)', 75 'host_os%': '<(OS)',
76 'v8_use_liveobjectlist%': 'false', 76 'v8_use_liveobjectlist%': 'false',
77 'werror%': '-Werror',
77 78
78 # For a shared library build, results in "libv8-<(soname_version).so". 79 # For a shared library build, results in "libv8-<(soname_version).so".
79 'soname_version%': '', 80 'soname_version%': '',
80 }, 81 },
81 'target_defaults': { 82 'target_defaults': {
82 'conditions': [ 83 'conditions': [
83 ['v8_enable_debugger_support==1', { 84 ['v8_enable_debugger_support==1', {
84 'defines': ['ENABLE_DEBUGGER_SUPPORT',], 85 'defines': ['ENABLE_DEBUGGER_SUPPORT',],
85 }], 86 }],
86 ['v8_enable_disassembler==1', { 87 ['v8_enable_disassembler==1', {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 # when building for Windows 64-bit, otherwise some test cases 220 # when building for Windows 64-bit, otherwise some test cases
220 # can cause stack overflow. 221 # can cause stack overflow.
221 # 'StackReserveSize': '297152', 222 # 'StackReserveSize': '297152',
222 }, 223 },
223 }, 224 },
224 'conditions': [ 225 'conditions': [
225 ['OS=="freebsd" or OS=="openbsd"', { 226 ['OS=="freebsd" or OS=="openbsd"', {
226 'cflags': [ '-I/usr/local/include' ], 227 'cflags': [ '-I/usr/local/include' ],
227 }], 228 }],
228 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 229 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
229 'cflags': [ '-Wall', '-Werror', '-W', '-Wno-unused-parameter', 230 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
230 '-Wnon-virtual-dtor' ], 231 '-Wnon-virtual-dtor' ],
231 }], 232 }],
232 ], 233 ],
233 }, 234 },
234 'Release': { 235 'Release': {
235 'conditions': [ 236 'conditions': [
236 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 237 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
237 'cflags!': [ 238 'cflags!': [
238 '-O2', 239 '-O2',
239 '-Os', 240 '-Os',
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 # some test cases can cause stack overflow. 301 # some test cases can cause stack overflow.
301 # 'StackReserveSize': '297152', 302 # 'StackReserveSize': '297152',
302 }, 303 },
303 }, 304 },
304 }], 305 }],
305 ], 306 ],
306 }, 307 },
307 }, 308 },
308 }, 309 },
309 } 310 }
OLDNEW
« no previous file with comments | « Makefile ('k') | build/standalone.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698