| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 # Enable ECMAScript Internationalization API. Enabling this feature will | 57 # Enable ECMAScript Internationalization API. Enabling this feature will |
| 58 # add a dependency on the ICU library. | 58 # add a dependency on the ICU library. |
| 59 'v8_enable_i18n_support%': 1, | 59 'v8_enable_i18n_support%': 1, |
| 60 | 60 |
| 61 # Enable compiler warnings when using V8_DEPRECATED apis. | 61 # Enable compiler warnings when using V8_DEPRECATED apis. |
| 62 'v8_deprecation_warnings%': 0, | 62 'v8_deprecation_warnings%': 0, |
| 63 | 63 |
| 64 # Enable compiler warnings when using V8_DEPRECATE_SOON apis. | 64 # Enable compiler warnings when using V8_DEPRECATE_SOON apis. |
| 65 'v8_imminent_deprecation_warnings%': 0, | 65 'v8_imminent_deprecation_warnings%': 0, |
| 66 | 66 |
| 67 # Allow the embedder to add a custom suffix to the version string. | |
| 68 'v8_embedder_string%': '', | |
| 69 | |
| 70 # Set to 1 to enable DCHECKs in release builds. | 67 # Set to 1 to enable DCHECKs in release builds. |
| 71 'dcheck_always_on%': 0, | 68 'dcheck_always_on%': 0, |
| 72 | 69 |
| 73 # Enable/disable JavaScript API accessors. | 70 # Enable/disable JavaScript API accessors. |
| 74 'v8_js_accessors%': 0, | 71 'v8_js_accessors%': 0, |
| 75 }, | 72 }, |
| 76 'target_defaults': { | 73 'target_defaults': { |
| 77 'conditions': [ | 74 'conditions': [ |
| 78 ['v8_enable_disassembler==1', { | 75 ['v8_enable_disassembler==1', { |
| 79 'defines': ['ENABLE_DISASSEMBLER',], | 76 'defines': ['ENABLE_DISASSEMBLER',], |
| (...skipping 21 matching lines...) Expand all Loading... |
| 101 }], | 98 }], |
| 102 ['v8_imminent_deprecation_warnings==1', { | 99 ['v8_imminent_deprecation_warnings==1', { |
| 103 'defines': ['V8_IMMINENT_DEPRECATION_WARNINGS',], | 100 'defines': ['V8_IMMINENT_DEPRECATION_WARNINGS',], |
| 104 }], | 101 }], |
| 105 ['v8_enable_i18n_support==1', { | 102 ['v8_enable_i18n_support==1', { |
| 106 'defines': ['V8_I18N_SUPPORT',], | 103 'defines': ['V8_I18N_SUPPORT',], |
| 107 }], | 104 }], |
| 108 ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', { | 105 ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', { |
| 109 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',], | 106 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',], |
| 110 }], | 107 }], |
| 111 ['v8_embedder_string!=""', { | |
| 112 'defines': ['V8_EMBEDDER_STRING="<(v8_embedder_string)"',], | |
| 113 }], | |
| 114 ['dcheck_always_on!=0', { | 108 ['dcheck_always_on!=0', { |
| 115 'defines': ['DEBUG',], | 109 'defines': ['DEBUG',], |
| 116 }], | 110 }], |
| 117 ], # conditions | 111 ], # conditions |
| 118 'configurations': { | 112 'configurations': { |
| 119 'DebugBaseCommon': { | 113 'DebugBaseCommon': { |
| 120 'abstract': 1, | 114 'abstract': 1, |
| 121 'variables': { | 115 'variables': { |
| 122 'v8_enable_handle_zapping%': 1, | 116 'v8_enable_handle_zapping%': 1, |
| 123 }, | 117 }, |
| 124 'conditions': [ | 118 'conditions': [ |
| 125 ['v8_enable_handle_zapping==1', { | 119 ['v8_enable_handle_zapping==1', { |
| 126 'defines': ['ENABLE_HANDLE_ZAPPING',], | 120 'defines': ['ENABLE_HANDLE_ZAPPING',], |
| 127 }], | 121 }], |
| 128 ], | 122 ], |
| 129 }, # Debug | 123 }, # Debug |
| 130 'Release': { | 124 'Release': { |
| 131 'variables': { | 125 'variables': { |
| 132 'v8_enable_handle_zapping%': 1, | 126 'v8_enable_handle_zapping%': 1, |
| 133 }, | 127 }, |
| 134 'conditions': [ | 128 'conditions': [ |
| 135 ['v8_enable_handle_zapping==1', { | 129 ['v8_enable_handle_zapping==1', { |
| 136 'defines': ['ENABLE_HANDLE_ZAPPING',], | 130 'defines': ['ENABLE_HANDLE_ZAPPING',], |
| 137 }], | 131 }], |
| 138 ], # conditions | 132 ], # conditions |
| 139 }, # Release | 133 }, # Release |
| 140 }, # configurations | 134 }, # configurations |
| 141 }, # target_defaults | 135 }, # target_defaults |
| 142 } | 136 } |
| OLD | NEW |