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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 GCC_EXTRA_CCFLAGS = [] | 52 GCC_EXTRA_CCFLAGS = [] |
53 GCC_DTOA_EXTRA_CCFLAGS = [] | 53 GCC_DTOA_EXTRA_CCFLAGS = [] |
54 | 54 |
55 LIBRARY_FLAGS = { | 55 LIBRARY_FLAGS = { |
56 'all': { | 56 'all': { |
57 'CPPPATH': [src_dir], | 57 'CPPPATH': [src_dir], |
58 'regexp:interpreted': { | 58 'regexp:interpreted': { |
59 'CPPDEFINES': ['V8_INTERPRETED_REGEXP'] | 59 'CPPDEFINES': ['V8_INTERPRETED_REGEXP'] |
60 }, | 60 }, |
61 'mode:debug': { | 61 'mode:debug': { |
62 'CPPDEFINES': ['V8_ENABLE_CHECKS', 'OBJECT_PRINT'] | 62 'CPPDEFINES': ['V8_ENABLE_CHECKS', 'OBJECT_PRINT', 'VERIFY_HEAP'] |
63 }, | 63 }, |
64 'objectprint:on': { | 64 'objectprint:on': { |
65 'CPPDEFINES': ['OBJECT_PRINT'], | 65 'CPPDEFINES': ['OBJECT_PRINT'], |
66 }, | 66 }, |
67 'debuggersupport:on': { | 67 'debuggersupport:on': { |
68 'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT'], | 68 'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT'], |
69 }, | 69 }, |
70 'inspector:on': { | 70 'inspector:on': { |
71 'CPPDEFINES': ['INSPECTOR'], | 71 'CPPDEFINES': ['INSPECTOR'], |
72 }, | 72 }, |
(...skipping 1535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1608 # will not work much longer. Please switch to using # | 1608 # will not work much longer. Please switch to using # |
1609 # the GYP-based build now. Instructions are at # | 1609 # the GYP-based build now. Instructions are at # |
1610 # http://code.google.com/p/v8/wiki/BuildingWithGYP. # | 1610 # http://code.google.com/p/v8/wiki/BuildingWithGYP. # |
1611 ####################################################### | 1611 ####################################################### |
1612 """ | 1612 """ |
1613 | 1613 |
1614 WarnAboutDeprecation() | 1614 WarnAboutDeprecation() |
1615 import atexit | 1615 import atexit |
1616 atexit.register(WarnAboutDeprecation) | 1616 atexit.register(WarnAboutDeprecation) |
1617 Build() | 1617 Build() |
OLD | NEW |