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

Side by Side Diff: build/common.gypi

Issue 10874062: Provide option to disable full DEBUG build on Android. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 3 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 }, 334 },
335 'VCLinkerTool': { 335 'VCLinkerTool': {
336 'LinkIncremental': '2', 336 'LinkIncremental': '2',
337 }, 337 },
338 }, 338 },
339 'conditions': [ 339 'conditions': [
340 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { 340 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
341 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', 341 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
342 '-Wnon-virtual-dtor', '-Woverloaded-virtual' ], 342 '-Wnon-virtual-dtor', '-Woverloaded-virtual' ],
343 }], 343 }],
344 ['OS=="android"', {
345 'variables': {
346 'android_full_debug%': 1,
347 },
348 'conditions': [
349 ['android_full_debug==0', {
350 # Disable full debug if we want a faster v8 in a debug build.
351 # TODO(2304): pass DISABLE_DEBUG_ASSERT instead of hiding DEBUG.
352 'defines!': [
353 'DEBUG',
354 ],
355 }],
356 ],
357 }],
344 ], 358 ],
345 }, # Debug 359 }, # Debug
346 'Release': { 360 'Release': {
347 'conditions': [ 361 'conditions': [
348 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \ 362 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \
349 or OS=="android"', { 363 or OS=="android"', {
350 'cflags!': [ 364 'cflags!': [
351 '-O2', 365 '-O2',
352 '-Os', 366 '-Os',
353 ], 367 ],
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 'OptimizeReferences': '2', 415 'OptimizeReferences': '2',
402 'EnableCOMDATFolding': '2', 416 'EnableCOMDATFolding': '2',
403 }, 417 },
404 }, 418 },
405 }], # OS=="win" 419 }], # OS=="win"
406 ], # conditions 420 ], # conditions
407 }, # Release 421 }, # Release
408 }, # configurations 422 }, # configurations
409 }, # target_defaults 423 }, # target_defaults
410 } 424 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698