| OLD | NEW |
| 1 # Copyright 2013 the V8 project authors. All rights reserved. | 1 # Copyright 2013 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 'v8_deprecation_warnings%': 0, | 60 'v8_deprecation_warnings%': 0, |
| 61 | 61 |
| 62 # Enable compiler warnings when using V8_DEPRECATE_SOON apis. | 62 # Enable compiler warnings when using V8_DEPRECATE_SOON apis. |
| 63 'v8_imminent_deprecation_warnings%': 0, | 63 'v8_imminent_deprecation_warnings%': 0, |
| 64 | 64 |
| 65 # Set to 1 to enable DCHECKs in release builds. | 65 # Set to 1 to enable DCHECKs in release builds. |
| 66 'dcheck_always_on%': 0, | 66 'dcheck_always_on%': 0, |
| 67 | 67 |
| 68 # Set to 1 to enable building with wasm prototype. | 68 # Set to 1 to enable building with wasm prototype. |
| 69 'v8_wasm%': 0, | 69 'v8_wasm%': 0, |
| 70 |
| 71 # Enable/disable JavaScript API accessors. |
| 72 'v8_js_accessors%': 0, |
| 70 }, | 73 }, |
| 71 'target_defaults': { | 74 'target_defaults': { |
| 72 'conditions': [ | 75 'conditions': [ |
| 73 ['v8_enable_disassembler==1', { | 76 ['v8_enable_disassembler==1', { |
| 74 'defines': ['ENABLE_DISASSEMBLER',], | 77 'defines': ['ENABLE_DISASSEMBLER',], |
| 75 }], | 78 }], |
| 76 ['v8_enable_gdbjit==1', { | 79 ['v8_enable_gdbjit==1', { |
| 77 'defines': ['ENABLE_GDB_JIT_INTERFACE',], | 80 'defines': ['ENABLE_GDB_JIT_INTERFACE',], |
| 78 }], | 81 }], |
| 79 ['v8_object_print==1', { | 82 ['v8_object_print==1', { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 102 }], | 105 }], |
| 103 ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', { | 106 ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', { |
| 104 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',], | 107 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',], |
| 105 }], | 108 }], |
| 106 ['dcheck_always_on!=0', { | 109 ['dcheck_always_on!=0', { |
| 107 'defines': ['DEBUG',], | 110 'defines': ['DEBUG',], |
| 108 }], | 111 }], |
| 109 ['v8_wasm!=0', { | 112 ['v8_wasm!=0', { |
| 110 'defines': ['V8_WASM',], | 113 'defines': ['V8_WASM',], |
| 111 }], | 114 }], |
| 115 ['v8_js_accessors!=0', { |
| 116 'defines': ['V8_JS_ACCESSORS'], |
| 117 }], |
| 112 ], # conditions | 118 ], # conditions |
| 113 'configurations': { | 119 'configurations': { |
| 114 'DebugBaseCommon': { | 120 'DebugBaseCommon': { |
| 115 'abstract': 1, | 121 'abstract': 1, |
| 116 'variables': { | 122 'variables': { |
| 117 'v8_enable_handle_zapping%': 1, | 123 'v8_enable_handle_zapping%': 1, |
| 118 }, | 124 }, |
| 119 'conditions': [ | 125 'conditions': [ |
| 120 ['v8_enable_handle_zapping==1', { | 126 ['v8_enable_handle_zapping==1', { |
| 121 'defines': ['ENABLE_HANDLE_ZAPPING',], | 127 'defines': ['ENABLE_HANDLE_ZAPPING',], |
| 122 }], | 128 }], |
| 123 ], | 129 ], |
| 124 }, # Debug | 130 }, # Debug |
| 125 'Release': { | 131 'Release': { |
| 126 'variables': { | 132 'variables': { |
| 127 'v8_enable_handle_zapping%': 1, | 133 'v8_enable_handle_zapping%': 1, |
| 128 }, | 134 }, |
| 129 'conditions': [ | 135 'conditions': [ |
| 130 ['v8_enable_handle_zapping==1', { | 136 ['v8_enable_handle_zapping==1', { |
| 131 'defines': ['ENABLE_HANDLE_ZAPPING',], | 137 'defines': ['ENABLE_HANDLE_ZAPPING',], |
| 132 }], | 138 }], |
| 133 ], # conditions | 139 ], # conditions |
| 134 }, # Release | 140 }, # Release |
| 135 }, # configurations | 141 }, # configurations |
| 136 }, # target_defaults | 142 }, # target_defaults |
| 137 } | 143 } |
| OLD | NEW |