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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 }, | 299 }, |
300 'conditions': [ | 300 'conditions': [ |
301 ['OS=="freebsd" or OS=="openbsd"', { | 301 ['OS=="freebsd" or OS=="openbsd"', { |
302 'cflags': [ '-I/usr/local/include' ], | 302 'cflags': [ '-I/usr/local/include' ], |
303 }], | 303 }], |
304 ['OS=="netbsd"', { | 304 ['OS=="netbsd"', { |
305 'cflags': [ '-I/usr/pkg/include' ], | 305 'cflags': [ '-I/usr/pkg/include' ], |
306 }], | 306 }], |
307 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { | 307 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { |
308 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', | 308 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', |
309 '-Wnon-virtual-dtor' ], | 309 '-Wnon-virtual-dtor', '-Woverloaded-virtual' ], |
310 }], | 310 }], |
311 ], | 311 ], |
312 }, # Debug | 312 }, # Debug |
313 'Release': { | 313 'Release': { |
314 'conditions': [ | 314 'conditions': [ |
315 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \ | 315 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \ |
316 or OS=="android"', { | 316 or OS=="android"', { |
317 'cflags!': [ | 317 'cflags!': [ |
318 '-O2', | 318 '-O2', |
319 '-Os', | 319 '-Os', |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 # some test cases can cause stack overflow. | 383 # some test cases can cause stack overflow. |
384 # 'StackReserveSize': '297152', | 384 # 'StackReserveSize': '297152', |
385 }, | 385 }, |
386 }, | 386 }, |
387 }], # OS=="win" | 387 }], # OS=="win" |
388 ], # conditions | 388 ], # conditions |
389 }, # Release | 389 }, # Release |
390 }, # configurations | 390 }, # configurations |
391 }, # target_defaults | 391 }, # target_defaults |
392 } | 392 } |
OLD | NEW |