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 |
67 # Set to 1 to enable DCHECKs in release builds. | 70 # Set to 1 to enable DCHECKs in release builds. |
68 'dcheck_always_on%': 0, | 71 'dcheck_always_on%': 0, |
69 | 72 |
70 # Enable/disable JavaScript API accessors. | 73 # Enable/disable JavaScript API accessors. |
71 'v8_js_accessors%': 0, | 74 'v8_js_accessors%': 0, |
72 }, | 75 }, |
73 'target_defaults': { | 76 'target_defaults': { |
74 'conditions': [ | 77 'conditions': [ |
75 ['v8_enable_disassembler==1', { | 78 ['v8_enable_disassembler==1', { |
76 'defines': ['ENABLE_DISASSEMBLER',], | 79 'defines': ['ENABLE_DISASSEMBLER',], |
(...skipping 21 matching lines...) Expand all Loading... |
98 }], | 101 }], |
99 ['v8_imminent_deprecation_warnings==1', { | 102 ['v8_imminent_deprecation_warnings==1', { |
100 'defines': ['V8_IMMINENT_DEPRECATION_WARNINGS',], | 103 'defines': ['V8_IMMINENT_DEPRECATION_WARNINGS',], |
101 }], | 104 }], |
102 ['v8_enable_i18n_support==1', { | 105 ['v8_enable_i18n_support==1', { |
103 'defines': ['V8_I18N_SUPPORT',], | 106 'defines': ['V8_I18N_SUPPORT',], |
104 }], | 107 }], |
105 ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', { | 108 ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', { |
106 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',], | 109 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',], |
107 }], | 110 }], |
| 111 ['v8_embedder_string!=""', { |
| 112 'defines': ['V8_EMBEDDER_STRING="<(v8_embedder_string)"',], |
| 113 }], |
108 ['dcheck_always_on!=0', { | 114 ['dcheck_always_on!=0', { |
109 'defines': ['DEBUG',], | 115 'defines': ['DEBUG',], |
110 }], | 116 }], |
111 ], # conditions | 117 ], # conditions |
112 'configurations': { | 118 'configurations': { |
113 'DebugBaseCommon': { | 119 'DebugBaseCommon': { |
114 'abstract': 1, | 120 'abstract': 1, |
115 'variables': { | 121 'variables': { |
116 'v8_enable_handle_zapping%': 1, | 122 'v8_enable_handle_zapping%': 1, |
117 }, | 123 }, |
118 'conditions': [ | 124 'conditions': [ |
119 ['v8_enable_handle_zapping==1', { | 125 ['v8_enable_handle_zapping==1', { |
120 'defines': ['ENABLE_HANDLE_ZAPPING',], | 126 'defines': ['ENABLE_HANDLE_ZAPPING',], |
121 }], | 127 }], |
122 ], | 128 ], |
123 }, # Debug | 129 }, # Debug |
124 'Release': { | 130 'Release': { |
125 'variables': { | 131 'variables': { |
126 'v8_enable_handle_zapping%': 1, | 132 'v8_enable_handle_zapping%': 1, |
127 }, | 133 }, |
128 'conditions': [ | 134 'conditions': [ |
129 ['v8_enable_handle_zapping==1', { | 135 ['v8_enable_handle_zapping==1', { |
130 'defines': ['ENABLE_HANDLE_ZAPPING',], | 136 'defines': ['ENABLE_HANDLE_ZAPPING',], |
131 }], | 137 }], |
132 ], # conditions | 138 ], # conditions |
133 }, # Release | 139 }, # Release |
134 }, # configurations | 140 }, # configurations |
135 }, # target_defaults | 141 }, # target_defaults |
136 } | 142 } |
OLD | NEW |