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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 'mips_arch_variant%': 'mips32r2', | 66 'mips_arch_variant%': 'mips32r2', |
67 | 67 |
68 'v8_enable_debugger_support%': 1, | 68 'v8_enable_debugger_support%': 1, |
69 | 69 |
70 'v8_enable_disassembler%': 0, | 70 'v8_enable_disassembler%': 0, |
71 | 71 |
72 'v8_object_print%': 0, | 72 'v8_object_print%': 0, |
73 | 73 |
74 'v8_enable_gdbjit%': 0, | 74 'v8_enable_gdbjit%': 0, |
75 | 75 |
| 76 'v8_enable_vtunejit%': 0, |
| 77 |
76 # Enable profiling support. Only required on Windows. | 78 # Enable profiling support. Only required on Windows. |
77 'v8_enable_prof%': 0, | 79 'v8_enable_prof%': 0, |
78 | 80 |
79 # Some versions of GCC 4.5 seem to need -fno-strict-aliasing. | 81 # Some versions of GCC 4.5 seem to need -fno-strict-aliasing. |
80 'v8_no_strict_aliasing%': 0, | 82 'v8_no_strict_aliasing%': 0, |
81 | 83 |
82 # Chrome needs this definition unconditionally. For standalone V8 builds, | 84 # Chrome needs this definition unconditionally. For standalone V8 builds, |
83 # it's handled in build/standalone.gypi. | 85 # it's handled in build/standalone.gypi. |
84 'want_separate_host_toolset%': 1, | 86 'want_separate_host_toolset%': 1, |
85 | 87 |
86 'v8_use_snapshot%': 'true', | 88 'v8_use_snapshot%': 'true', |
87 'host_os%': '<(OS)', | 89 'host_os%': '<(OS)', |
88 'v8_use_liveobjectlist%': 'false', | 90 'v8_use_liveobjectlist%': 'false', |
| 91 #'werror%': '', |
89 'werror%': '-Werror', | 92 'werror%': '-Werror', |
90 | 93 |
91 # With post mortem support enabled, metadata is embedded into libv8 that | 94 # With post mortem support enabled, metadata is embedded into libv8 that |
92 # describes various parameters of the VM for use by debuggers. See | 95 # describes various parameters of the VM for use by debuggers. See |
93 # tools/gen-postmortem-metadata.py for details. | 96 # tools/gen-postmortem-metadata.py for details. |
94 'v8_postmortem_support%': 'false', | 97 'v8_postmortem_support%': 'false', |
95 | 98 |
96 # For a shared library build, results in "libv8-<(soname_version).so". | 99 # For a shared library build, results in "libv8-<(soname_version).so". |
97 'soname_version%': '', | 100 'soname_version%': '', |
98 | 101 |
(...skipping 11 matching lines...) Expand all Loading... |
110 }], | 113 }], |
111 ['v8_object_print==1', { | 114 ['v8_object_print==1', { |
112 'defines': ['OBJECT_PRINT',], | 115 'defines': ['OBJECT_PRINT',], |
113 }], | 116 }], |
114 ['v8_enable_gdbjit==1', { | 117 ['v8_enable_gdbjit==1', { |
115 'defines': ['ENABLE_GDB_JIT_INTERFACE',], | 118 'defines': ['ENABLE_GDB_JIT_INTERFACE',], |
116 }], | 119 }], |
117 ['v8_interpreted_regexp==1', { | 120 ['v8_interpreted_regexp==1', { |
118 'defines': ['V8_INTERPRETED_REGEXP',], | 121 'defines': ['V8_INTERPRETED_REGEXP',], |
119 }], | 122 }], |
| 123 ['v8_enable_vtunejit==1', { |
| 124 'conditions': [ |
| 125 ['v8_target_arch=="ia32" or v8_target_arch=="x64"', { |
| 126 'defines': ['ENABLE_VTUNE_JIT_INTERFACE',], |
| 127 'libraries': ['-ldl',], |
| 128 #dw -ljitprofiling',], |
| 129 }], |
| 130 ], |
| 131 }], |
120 ['v8_target_arch=="arm"', { | 132 ['v8_target_arch=="arm"', { |
121 'defines': [ | 133 'defines': [ |
122 'V8_TARGET_ARCH_ARM', | 134 'V8_TARGET_ARCH_ARM', |
123 ], | 135 ], |
124 'conditions': [ | 136 'conditions': [ |
125 [ 'v8_can_use_unaligned_accesses=="true"', { | 137 [ 'v8_can_use_unaligned_accesses=="true"', { |
126 'defines': [ | 138 'defines': [ |
127 'CAN_USE_UNALIGNED_ACCESSES=1', | 139 'CAN_USE_UNALIGNED_ACCESSES=1', |
128 ], | 140 ], |
129 }], | 141 }], |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 'OptimizeReferences': '2', | 407 'OptimizeReferences': '2', |
396 'EnableCOMDATFolding': '2', | 408 'EnableCOMDATFolding': '2', |
397 }, | 409 }, |
398 }, | 410 }, |
399 }], # OS=="win" | 411 }], # OS=="win" |
400 ], # conditions | 412 ], # conditions |
401 }, # Release | 413 }, # Release |
402 }, # configurations | 414 }, # configurations |
403 }, # target_defaults | 415 }, # target_defaults |
404 } | 416 } |
OLD | NEW |