| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 ], | 125 ], |
| 126 'direct_dependent_settings': { | 126 'direct_dependent_settings': { |
| 127 'defines': [ | 127 'defines': [ |
| 128 'V8_SHARED', | 128 'V8_SHARED', |
| 129 'USING_V8_SHARED', | 129 'USING_V8_SHARED', |
| 130 ], | 130 ], |
| 131 }, | 131 }, |
| 132 }], | 132 }], |
| 133 ], | 133 ], |
| 134 'dependencies': [ | 134 'dependencies': [ |
| 135 'generate_trig_table', | |
| 136 'v8_base.<(v8_target_arch)', | 135 'v8_base.<(v8_target_arch)', |
| 137 ], | 136 ], |
| 138 'include_dirs+': [ | 137 'include_dirs+': [ |
| 139 '../../src', | 138 '../../src', |
| 140 ], | 139 ], |
| 141 'sources': [ | 140 'sources': [ |
| 142 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 141 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 143 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 142 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 144 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | 143 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', |
| 145 '<(INTERMEDIATE_DIR)/snapshot.cc', | 144 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| (...skipping 23 matching lines...) Expand all Loading... |
| 169 '<@(mksnapshot_flags)', | 168 '<@(mksnapshot_flags)', |
| 170 '<@(_outputs)' | 169 '<@(_outputs)' |
| 171 ], | 170 ], |
| 172 }, | 171 }, |
| 173 ], | 172 ], |
| 174 }, | 173 }, |
| 175 { | 174 { |
| 176 'target_name': 'v8_nosnapshot.<(v8_target_arch)', | 175 'target_name': 'v8_nosnapshot.<(v8_target_arch)', |
| 177 'type': 'static_library', | 176 'type': 'static_library', |
| 178 'dependencies': [ | 177 'dependencies': [ |
| 179 'generate_trig_table', | |
| 180 'v8_base.<(v8_target_arch)', | 178 'v8_base.<(v8_target_arch)', |
| 181 ], | 179 ], |
| 182 'include_dirs+': [ | 180 'include_dirs+': [ |
| 183 '../../src', | 181 '../../src', |
| 184 ], | 182 ], |
| 185 'sources': [ | 183 'sources': [ |
| 186 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 184 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 187 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 185 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 188 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | 186 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', |
| 189 '../../src/snapshot-empty.cc', | 187 '../../src/snapshot-empty.cc', |
| 190 ], | 188 ], |
| 191 'conditions': [ | 189 'conditions': [ |
| 192 ['want_separate_host_toolset==1', { | 190 ['want_separate_host_toolset==1', { |
| 193 'toolsets': ['host', 'target'], | 191 'toolsets': ['host', 'target'], |
| 194 'dependencies': ['js2c#host'], | 192 'dependencies': ['js2c#host'], |
| 195 }, { | 193 }, { |
| 196 'toolsets': ['target'], | 194 'toolsets': ['target'], |
| 197 'dependencies': ['js2c'], | 195 'dependencies': ['js2c'], |
| 198 }], | 196 }], |
| 199 ['component=="shared_library"', { | 197 ['component=="shared_library"', { |
| 200 'defines': [ | 198 'defines': [ |
| 201 'BUILDING_V8_SHARED', | 199 'BUILDING_V8_SHARED', |
| 202 'V8_SHARED', | 200 'V8_SHARED', |
| 203 ], | 201 ], |
| 204 }], | 202 }], |
| 205 ] | 203 ] |
| 206 }, | 204 }, |
| 207 { 'target_name': 'generate_trig_table', | 205 { 'target_name': 'generate_trig_table', |
| 208 'type': 'none', | 206 'type': 'none', |
| 207 'conditions': [ |
| 208 ['want_separate_host_toolset==1', { |
| 209 'toolsets': ['host', 'target'], |
| 210 }, { |
| 211 'toolsets': ['target'], |
| 212 }], |
| 213 ], |
| 209 'actions': [ | 214 'actions': [ |
| 210 { | 215 { |
| 211 'action_name': 'generate', | 216 'action_name': 'generate', |
| 212 'inputs': [ | 217 'inputs': [ |
| 213 '../../tools/generate-trig-table.py', | 218 '../../tools/generate-trig-table.py', |
| 214 ], | 219 ], |
| 215 'outputs': [ | 220 'outputs': [ |
| 216 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | 221 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', |
| 217 ], | 222 ], |
| 218 'action': [ | 223 'action': [ |
| 219 'python', | 224 'python', |
| 220 '../../tools/generate-trig-table.py', | 225 '../../tools/generate-trig-table.py', |
| 221 '<@(_outputs)', | 226 '<@(_outputs)', |
| 222 ], | 227 ], |
| 223 }, | 228 }, |
| 224 ] | 229 ] |
| 225 }, | 230 }, |
| 226 { | 231 { |
| 227 'target_name': 'v8_base.<(v8_target_arch)', | 232 'target_name': 'v8_base.<(v8_target_arch)', |
| 228 'type': 'static_library', | 233 'type': 'static_library', |
| 234 'dependencies': [ |
| 235 'generate_trig_table', |
| 236 ], |
| 229 'variables': { | 237 'variables': { |
| 230 'optimize': 'max', | 238 'optimize': 'max', |
| 231 }, | 239 }, |
| 232 'include_dirs+': [ | 240 'include_dirs+': [ |
| 233 '../../src', | 241 '../../src', |
| 234 ], | 242 ], |
| 235 'sources': [ ### gcmole(all) ### | 243 'sources': [ ### gcmole(all) ### |
| 236 '../../src/accessors.cc', | 244 '../../src/accessors.cc', |
| 237 '../../src/accessors.h', | 245 '../../src/accessors.h', |
| 238 '../../src/allocation.cc', | 246 '../../src/allocation.cc', |
| (...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1081 }], | 1089 }], |
| 1082 ['v8_compress_startup_data=="bz2"', { | 1090 ['v8_compress_startup_data=="bz2"', { |
| 1083 'libraries': [ | 1091 'libraries': [ |
| 1084 '-lbz2', | 1092 '-lbz2', |
| 1085 ] | 1093 ] |
| 1086 }], | 1094 }], |
| 1087 ], | 1095 ], |
| 1088 }, | 1096 }, |
| 1089 ], | 1097 ], |
| 1090 } | 1098 } |
| OLD | NEW |