| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 }], | 195 }], |
| 196 ['component=="shared_library"', { | 196 ['component=="shared_library"', { |
| 197 'defines': [ | 197 'defines': [ |
| 198 'BUILDING_V8_SHARED', | 198 'BUILDING_V8_SHARED', |
| 199 'V8_SHARED', | 199 'V8_SHARED', |
| 200 ], | 200 ], |
| 201 }], | 201 }], |
| 202 ] | 202 ] |
| 203 }, | 203 }, |
| 204 { | 204 { |
| 205 'target_name': 'generated-lexer', |
| 206 'type': 'none', |
| 207 'actions': [ |
| 208 { |
| 209 'action_name': 'codegen_8', |
| 210 'inputs': [ |
| 211 '../../src/lexer/lexer_py.re', |
| 212 '../../tools/lexer_generator/*.py', |
| 213 '../../tools/lexer_generator/*.jinja', |
| 214 ], |
| 215 'outputs': [ |
| 216 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_latin1.cc', |
| 217 ], |
| 218 'action': [ |
| 219 'python', |
| 220 '../../tools/lexer_generator/generator.py', |
| 221 '--re=../../src/lexer/lexer_py.re', |
| 222 '--code=<(SHARED_INTERMEDIATE_DIR)/generated_lexer_latin1.cc', |
| 223 '--encoding=latin1', |
| 224 ], |
| 225 }, |
| 226 { |
| 227 'action_name': 'codegen_16', |
| 228 'inputs': [ |
| 229 '../../src/lexer/lexer_py.re', |
| 230 '../../tools/lexer_generator/*.py', |
| 231 '../../tools/lexer_generator/*.jinja', |
| 232 ], |
| 233 'outputs': [ |
| 234 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc', |
| 235 ], |
| 236 'action': [ |
| 237 'python', |
| 238 '../../tools/lexer_generator/generator.py', |
| 239 '--re=../../src/lexer/lexer_py.re', |
| 240 '--code=<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc', |
| 241 '--encoding=utf16', |
| 242 ], |
| 243 }, |
| 244 { |
| 245 'action_name': 'codegen_utf8', |
| 246 'inputs': [ |
| 247 '../../src/lexer/lexer_py.re', |
| 248 '../../tools/lexer_generator/*.py', |
| 249 '../../tools/lexer_generator/*.jinja', |
| 250 ], |
| 251 'outputs': [ |
| 252 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf8.cc', |
| 253 ], |
| 254 'action': [ |
| 255 'python', |
| 256 '../../tools/lexer_generator/generator.py', |
| 257 '--re=../../src/lexer/lexer_py.re', |
| 258 '--code=<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf8.cc', |
| 259 '--encoding=utf8', |
| 260 ], |
| 261 }, |
| 262 ], |
| 263 }, |
| 264 { |
| 205 'target_name': 'v8_base.<(v8_target_arch)', | 265 'target_name': 'v8_base.<(v8_target_arch)', |
| 206 'type': 'static_library', | 266 'type': 'static_library', |
| 267 'dependencies': [ |
| 268 'generated-lexer', |
| 269 ], |
| 207 'variables': { | 270 'variables': { |
| 208 'optimize': 'max', | 271 'optimize': 'max', |
| 209 }, | 272 }, |
| 210 'include_dirs+': [ | 273 'include_dirs+': [ |
| 211 '../../src', | 274 '../../src', |
| 275 '../../include', |
| 212 ], | 276 ], |
| 213 'sources': [ ### gcmole(all) ### | 277 'sources': [ ### gcmole(all) ### |
| 214 '../../src/accessors.cc', | 278 '../../src/accessors.cc', |
| 215 '../../src/accessors.h', | 279 '../../src/accessors.h', |
| 216 '../../src/allocation.cc', | 280 '../../src/allocation.cc', |
| 217 '../../src/allocation.h', | 281 '../../src/allocation.h', |
| 218 '../../src/allocation-site-scopes.cc', | 282 '../../src/allocation-site-scopes.cc', |
| 219 '../../src/allocation-site-scopes.h', | 283 '../../src/allocation-site-scopes.h', |
| 220 '../../src/api.cc', | 284 '../../src/api.cc', |
| 221 '../../src/api.h', | 285 '../../src/api.h', |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 '../../src/interpreter-irregexp.cc', | 463 '../../src/interpreter-irregexp.cc', |
| 400 '../../src/interpreter-irregexp.h', | 464 '../../src/interpreter-irregexp.h', |
| 401 '../../src/isolate.cc', | 465 '../../src/isolate.cc', |
| 402 '../../src/isolate.h', | 466 '../../src/isolate.h', |
| 403 '../../src/json-parser.h', | 467 '../../src/json-parser.h', |
| 404 '../../src/json-stringifier.h', | 468 '../../src/json-stringifier.h', |
| 405 '../../src/jsregexp-inl.h', | 469 '../../src/jsregexp-inl.h', |
| 406 '../../src/jsregexp.cc', | 470 '../../src/jsregexp.cc', |
| 407 '../../src/jsregexp.h', | 471 '../../src/jsregexp.h', |
| 408 '../../src/lazy-instance.h', | 472 '../../src/lazy-instance.h', |
| 473 '../../src/lexer/experimental-scanner.h', |
| 409 '../../src/list-inl.h', | 474 '../../src/list-inl.h', |
| 410 '../../src/list.h', | 475 '../../src/list.h', |
| 411 '../../src/lithium-allocator-inl.h', | 476 '../../src/lithium-allocator-inl.h', |
| 412 '../../src/lithium-allocator.cc', | 477 '../../src/lithium-allocator.cc', |
| 413 '../../src/lithium-allocator.h', | 478 '../../src/lithium-allocator.h', |
| 414 '../../src/lithium-codegen.cc', | 479 '../../src/lithium-codegen.cc', |
| 415 '../../src/lithium-codegen.h', | 480 '../../src/lithium-codegen.h', |
| 416 '../../src/lithium.cc', | 481 '../../src/lithium.cc', |
| 417 '../../src/lithium.h', | 482 '../../src/lithium.h', |
| 418 '../../src/liveedit.cc', | 483 '../../src/liveedit.cc', |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 '../../src/v8utils.h', | 618 '../../src/v8utils.h', |
| 554 '../../src/variables.cc', | 619 '../../src/variables.cc', |
| 555 '../../src/variables.h', | 620 '../../src/variables.h', |
| 556 '../../src/version.cc', | 621 '../../src/version.cc', |
| 557 '../../src/version.h', | 622 '../../src/version.h', |
| 558 '../../src/vm-state-inl.h', | 623 '../../src/vm-state-inl.h', |
| 559 '../../src/vm-state.h', | 624 '../../src/vm-state.h', |
| 560 '../../src/zone-inl.h', | 625 '../../src/zone-inl.h', |
| 561 '../../src/zone.cc', | 626 '../../src/zone.cc', |
| 562 '../../src/zone.h', | 627 '../../src/zone.h', |
| 628 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_latin1.cc', |
| 629 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc', |
| 630 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf8.cc', |
| 563 ], | 631 ], |
| 564 'conditions': [ | 632 'conditions': [ |
| 565 ['want_separate_host_toolset==1', { | 633 ['want_separate_host_toolset==1', { |
| 566 'toolsets': ['host', 'target'], | 634 'toolsets': ['host', 'target'], |
| 567 }, { | 635 }, { |
| 568 'toolsets': ['target'], | 636 'toolsets': ['target'], |
| 569 }], | 637 }], |
| 570 ['v8_target_arch=="arm"', { | 638 ['v8_target_arch=="arm"', { |
| 571 'sources': [ ### gcmole(arch:arm) ### | 639 'sources': [ ### gcmole(arch:arm) ### |
| 572 '../../src/arm/assembler-arm-inl.h', | 640 '../../src/arm/assembler-arm-inl.h', |
| (...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1061 }], | 1129 }], |
| 1062 ['v8_compress_startup_data=="bz2"', { | 1130 ['v8_compress_startup_data=="bz2"', { |
| 1063 'libraries': [ | 1131 'libraries': [ |
| 1064 '-lbz2', | 1132 '-lbz2', |
| 1065 ] | 1133 ] |
| 1066 }], | 1134 }], |
| 1067 ], | 1135 ], |
| 1068 }, | 1136 }, |
| 1069 ], | 1137 ], |
| 1070 } | 1138 } |
| OLD | NEW |