OLD | NEW |
---|---|
1 # Copyright 2008 the V8 project authors. All rights reserved. | 1 # Copyright 2008 the V8 project authors. All rights reserved. |
Kevin Millikin (Chromium)
2010/03/30 11:26:29
2010.
mnaganov (inactive)
2010/03/30 11:35:24
Done.
| |
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 |
11 # with the distribution. | 11 # with the distribution. |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
98 'CPPPATH': [join(root_dir, 'src')], | 98 'CPPPATH': [join(root_dir, 'src')], |
99 'regexp:native': { | 99 'regexp:native': { |
100 'CPPDEFINES': ['V8_NATIVE_REGEXP'] | 100 'CPPDEFINES': ['V8_NATIVE_REGEXP'] |
101 }, | 101 }, |
102 'mode:debug': { | 102 'mode:debug': { |
103 'CPPDEFINES': ['V8_ENABLE_CHECKS'] | 103 'CPPDEFINES': ['V8_ENABLE_CHECKS'] |
104 }, | 104 }, |
105 'profilingsupport:on': { | 105 'profilingsupport:on': { |
106 'CPPDEFINES': ['ENABLE_LOGGING_AND_PROFILING'], | 106 'CPPDEFINES': ['ENABLE_LOGGING_AND_PROFILING'], |
107 }, | 107 }, |
108 'cppprofilesprocessor:on': { | |
109 'CPPDEFINES': ['ENABLE_CPP_PROFILES_PROCESSOR'], | |
110 }, | |
108 'debuggersupport:on': { | 111 'debuggersupport:on': { |
109 'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT'], | 112 'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT'], |
110 } | 113 } |
111 }, | 114 }, |
112 'gcc': { | 115 'gcc': { |
113 'all': { | 116 'all': { |
114 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], | 117 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], |
115 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], | 118 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], |
116 }, | 119 }, |
117 'visibility:hidden': { | 120 'visibility:hidden': { |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
667 'library': { | 670 'library': { |
668 'values': ['static', 'shared'], | 671 'values': ['static', 'shared'], |
669 'default': 'static', | 672 'default': 'static', |
670 'help': 'the type of library to produce' | 673 'help': 'the type of library to produce' |
671 }, | 674 }, |
672 'profilingsupport': { | 675 'profilingsupport': { |
673 'values': ['on', 'off'], | 676 'values': ['on', 'off'], |
674 'default': 'on', | 677 'default': 'on', |
675 'help': 'enable profiling of JavaScript code' | 678 'help': 'enable profiling of JavaScript code' |
676 }, | 679 }, |
680 'cppprofilesprocessor': { | |
681 'values': ['on', 'off'], | |
682 'default': 'off', | |
683 'help': 'enable C++ profiles processor' | |
684 }, | |
677 'debuggersupport': { | 685 'debuggersupport': { |
678 'values': ['on', 'off'], | 686 'values': ['on', 'off'], |
679 'default': 'on', | 687 'default': 'on', |
680 'help': 'enable debugging of JavaScript code' | 688 'help': 'enable debugging of JavaScript code' |
681 }, | 689 }, |
682 'soname': { | 690 'soname': { |
683 'values': ['on', 'off'], | 691 'values': ['on', 'off'], |
684 'default': 'off', | 692 'default': 'off', |
685 'help': 'turn on setting soname for Linux shared library' | 693 'help': 'turn on setting soname for Linux shared library' |
686 }, | 694 }, |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1096 # version of scons. Also, there's a bug in some revisions that | 1104 # version of scons. Also, there's a bug in some revisions that |
1097 # doesn't allow this flag to be set, so we swallow any exceptions. | 1105 # doesn't allow this flag to be set, so we swallow any exceptions. |
1098 # Lovely. | 1106 # Lovely. |
1099 try: | 1107 try: |
1100 SetOption('warn', 'no-deprecated') | 1108 SetOption('warn', 'no-deprecated') |
1101 except: | 1109 except: |
1102 pass | 1110 pass |
1103 | 1111 |
1104 | 1112 |
1105 Build() | 1113 Build() |
OLD | NEW |