| OLD | NEW |
| 1 # Copyright 2011 the V8 project authors. All rights reserved. | 1 # Copyright 2011 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 }, | 34 }, |
| 35 'targets': [ | 35 'targets': [ |
| 36 { | 36 { |
| 37 'target_name': 'i18n_api', | 37 'target_name': 'i18n_api', |
| 38 'type': 'static_library', | 38 'type': 'static_library', |
| 39 'sources': [ | 39 'sources': [ |
| 40 'break-iterator.cc', | 40 'break-iterator.cc', |
| 41 'break-iterator.h', | 41 'break-iterator.h', |
| 42 'i18n-extension.cc', | 42 'i18n-extension.cc', |
| 43 'i18n-extension.h', | 43 'i18n-extension.h', |
| 44 '<(SHARED_INTERMEDIATE_DIR)/i18n-js.cc', |
| 44 ], | 45 ], |
| 45 'include_dirs': [ | 46 'include_dirs': [ |
| 46 '<(icu_src_dir)/public/common', | 47 '<(icu_src_dir)/public/common', |
| 47 '../..', | 48 '../..', |
| 48 ], | 49 ], |
| 49 'dependencies': [ | 50 'dependencies': [ |
| 50 '<(icu_src_dir)/icu.gyp:*', | 51 '<(icu_src_dir)/icu.gyp:*', |
| 52 'js2c_i18n#host', |
| 51 '../../../tools/gyp/v8.gyp:v8', | 53 '../../../tools/gyp/v8.gyp:v8', |
| 52 ], | 54 ], |
| 53 }, | 55 }, |
| 56 { |
| 57 'target_name': 'js2c_i18n', |
| 58 'type': 'none', |
| 59 'toolsets': ['host'], |
| 60 'variables': { |
| 61 'library_files': [ |
| 62 'i18n.js' |
| 63 ], |
| 64 }, |
| 65 'actions': [ |
| 66 { |
| 67 'action_name': 'js2c_i18n', |
| 68 'inputs': [ |
| 69 '../../../tools/js2c.py', |
| 70 '<@(library_files)', |
| 71 ], |
| 72 'outputs': [ |
| 73 '<(SHARED_INTERMEDIATE_DIR)/i18n-js.cc', |
| 74 '<(SHARED_INTERMEDIATE_DIR)/i18n-js-empty.cc' |
| 75 ], |
| 76 'action': [ |
| 77 'python', |
| 78 '../../../tools/js2c.py', |
| 79 '<@(_outputs)', |
| 80 'I18N', |
| 81 '<@(library_files)' |
| 82 ], |
| 83 }, |
| 84 ], |
| 85 }, |
| 54 ], # targets | 86 ], # targets |
| 55 } | 87 } |
| OLD | NEW |