| 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 30 matching lines...) Expand all Loading... |
| 41 # Generated source files need this explicitly: | 41 # Generated source files need this explicitly: |
| 42 'include_dirs+': [ | 42 'include_dirs+': [ |
| 43 '../../src', | 43 '../../src', |
| 44 '../../src/lexer', | 44 '../../src/lexer', |
| 45 ], | 45 ], |
| 46 'sources': [ | 46 'sources': [ |
| 47 'experimental-scanner.h', | 47 'experimental-scanner.h', |
| 48 'lexer-shell.cc', | 48 'lexer-shell.cc', |
| 49 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_latin1.cc', | 49 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_latin1.cc', |
| 50 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc', | 50 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc', |
| 51 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf8.cc', |
| 51 ], | 52 ], |
| 52 'conditions': [ | 53 'conditions': [ |
| 53 ['v8_enable_i18n_support==1', { | 54 ['v8_enable_i18n_support==1', { |
| 54 'dependencies': [ | 55 'dependencies': [ |
| 55 '<(icu_gyp_path):icui18n', | 56 '<(icu_gyp_path):icui18n', |
| 56 '<(icu_gyp_path):icuuc', | 57 '<(icu_gyp_path):icuuc', |
| 57 ], | 58 ], |
| 58 }], | 59 }], |
| 59 ], | 60 ], |
| 60 'actions': [ | 61 'actions': [ |
| (...skipping 26 matching lines...) Expand all Loading... |
| 87 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc', | 88 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc', |
| 88 ], | 89 ], |
| 89 'action': [ | 90 'action': [ |
| 90 'python', | 91 'python', |
| 91 '../../tools/lexer_generator/generator.py', | 92 '../../tools/lexer_generator/generator.py', |
| 92 '--re=../../src/lexer/lexer_py.re', | 93 '--re=../../src/lexer/lexer_py.re', |
| 93 '--code=<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc', | 94 '--code=<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc', |
| 94 '--encoding=utf16', | 95 '--encoding=utf16', |
| 95 ], | 96 ], |
| 96 }, | 97 }, |
| 98 { |
| 99 'action_name': 'codegen_utf8', |
| 100 'inputs': [ |
| 101 '../../src/lexer/lexer_py.re', |
| 102 '../../tools/lexer_generator/*.py', |
| 103 '../../tools/lexer_generator/*.jinja', |
| 104 ], |
| 105 'outputs': [ |
| 106 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf8.cc', |
| 107 ], |
| 108 'action': [ |
| 109 'python', |
| 110 '../../tools/lexer_generator/generator.py', |
| 111 '--re=../../src/lexer/lexer_py.re', |
| 112 '--code=<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf8.cc', |
| 113 '--encoding=utf8', |
| 114 ], |
| 115 }, |
| 97 ], | 116 ], |
| 98 }, | 117 }, |
| 99 ], | 118 ], |
| 100 } | 119 } |
| OLD | NEW |