| 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 23 matching lines...) Expand all Loading... |
| 34 'targets': [ | 34 'targets': [ |
| 35 { | 35 { |
| 36 'target_name': 'lexer-shell', | 36 'target_name': 'lexer-shell', |
| 37 'type': 'executable', | 37 'type': 'executable', |
| 38 'dependencies': [ | 38 'dependencies': [ |
| 39 '../../tools/gyp/v8.gyp:v8', | 39 '../../tools/gyp/v8.gyp:v8', |
| 40 ], | 40 ], |
| 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 ], | 45 ], |
| 45 'sources': [ | 46 'sources': [ |
| 46 'lexer-shell.cc', | 47 'lexer-shell.cc', |
| 47 # TODO: fix compiler errors and add '<(SHARED_INTERMEDIATE_DIR)/lexer.cc', | 48 'lexer.h', |
| 49 '<(SHARED_INTERMEDIATE_DIR)/lexer.cc', |
| 48 ], | 50 ], |
| 49 'conditions': [ | 51 'conditions': [ |
| 50 ['v8_enable_i18n_support==1', { | 52 ['v8_enable_i18n_support==1', { |
| 51 'dependencies': [ | 53 'dependencies': [ |
| 52 '<(icu_gyp_path):icui18n', | 54 '<(icu_gyp_path):icui18n', |
| 53 '<(icu_gyp_path):icuuc', | 55 '<(icu_gyp_path):icuuc', |
| 54 ], | 56 ], |
| 55 }], | 57 }], |
| 56 ], | 58 ], |
| 57 'actions': [ | 59 'actions': [ |
| (...skipping 11 matching lines...) Expand all Loading... |
| 69 '-c', | 71 '-c', |
| 70 '--output', | 72 '--output', |
| 71 '<(SHARED_INTERMEDIATE_DIR)/lexer.cc', | 73 '<(SHARED_INTERMEDIATE_DIR)/lexer.cc', |
| 72 '../../src/lexer/lexer.re', | 74 '../../src/lexer/lexer.re', |
| 73 ], | 75 ], |
| 74 }, | 76 }, |
| 75 ], | 77 ], |
| 76 }, | 78 }, |
| 77 ], | 79 ], |
| 78 } | 80 } |
| OLD | NEW |