OLD | NEW |
---|---|
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 Loading... | |
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. | |
ulan
2012/08/24 09:50:57
Please add a comment:
# TODO(2304): pass DISABLE_D
Xianzhu
2012/08/24 16:10:48
Done.
| |
351 'defines!': [ | |
352 'DEBUG', | |
353 ], | |
354 }], | |
355 ], | |
356 }], | |
344 ], | 357 ], |
345 }, # Debug | 358 }, # Debug |
346 'Release': { | 359 'Release': { |
347 'conditions': [ | 360 'conditions': [ |
348 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \ | 361 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \ |
349 or OS=="android"', { | 362 or OS=="android"', { |
350 'cflags!': [ | 363 'cflags!': [ |
351 '-O2', | 364 '-O2', |
352 '-Os', | 365 '-Os', |
353 ], | 366 ], |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
401 'OptimizeReferences': '2', | 414 'OptimizeReferences': '2', |
402 'EnableCOMDATFolding': '2', | 415 'EnableCOMDATFolding': '2', |
403 }, | 416 }, |
404 }, | 417 }, |
405 }], # OS=="win" | 418 }], # OS=="win" |
406 ], # conditions | 419 ], # conditions |
407 }, # Release | 420 }, # Release |
408 }, # configurations | 421 }, # configurations |
409 }, # target_defaults | 422 }, # target_defaults |
410 } | 423 } |
OLD | NEW |