| 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 'collator.cc', | 42 'collator.cc', |
| 43 'collator.h', | 43 'collator.h', |
| 44 'datetime-format.cc', |
| 45 'datetime-format.h', |
| 44 'i18n-extension.cc', | 46 'i18n-extension.cc', |
| 45 'i18n-extension.h', | 47 'i18n-extension.h', |
| 46 'i18n-locale.cc', | 48 'i18n-locale.cc', |
| 47 'i18n-locale.h', | 49 'i18n-locale.h', |
| 50 'i18n-natives.h', |
| 48 'i18n-utils.cc', | 51 'i18n-utils.cc', |
| 49 'i18n-utils.h', | 52 'i18n-utils.h', |
| 50 'language-matcher.cc', | 53 'language-matcher.cc', |
| 51 'language-matcher.h', | 54 'language-matcher.h', |
| 55 'number-format.cc', |
| 56 'number-format.h', |
| 52 '<(SHARED_INTERMEDIATE_DIR)/i18n-js.cc', | 57 '<(SHARED_INTERMEDIATE_DIR)/i18n-js.cc', |
| 53 ], | 58 ], |
| 54 'include_dirs': [ | 59 'include_dirs': [ |
| 55 '<(icu_src_dir)/public/common', | 60 '<(icu_src_dir)/public/common', |
| 56 '../..', | 61 # v8/ is root for all includes. |
| 62 '../../..' |
| 57 ], | 63 ], |
| 58 'dependencies': [ | 64 'dependencies': [ |
| 59 '<(icu_src_dir)/icu.gyp:*', | 65 '<(icu_src_dir)/icu.gyp:*', |
| 60 'js2c_i18n#host', | 66 'js2c_i18n#host', |
| 61 '../../../tools/gyp/v8.gyp:v8', | 67 '../../../tools/gyp/v8.gyp:v8', |
| 62 ], | 68 ], |
| 69 'direct_dependent_settings': { |
| 70 # Adds -Iv8 for embedders. |
| 71 'include_dirs': [ |
| 72 '../../..' |
| 73 ], |
| 74 }, |
| 63 }, | 75 }, |
| 64 { | 76 { |
| 65 'target_name': 'js2c_i18n', | 77 'target_name': 'js2c_i18n', |
| 66 'type': 'none', | 78 'type': 'none', |
| 67 'toolsets': ['host'], | 79 'toolsets': ['host'], |
| 68 'variables': { | 80 'variables': { |
| 69 'library_files': [ | 81 'js_files': [ |
| 70 'i18n.js' | 82 'i18n.js' |
| 71 ], | 83 ], |
| 72 }, | 84 }, |
| 73 'actions': [ | 85 'actions': [ |
| 74 { | 86 { |
| 75 'action_name': 'js2c_i18n', | 87 'action_name': 'js2c_i18n', |
| 76 'inputs': [ | 88 'inputs': [ |
| 77 '../../../tools/js2c.py', | 89 'i18n-js2c.py', |
| 78 '<@(library_files)', | 90 '<@(js_files)', |
| 79 ], | 91 ], |
| 80 'outputs': [ | 92 'outputs': [ |
| 81 '<(SHARED_INTERMEDIATE_DIR)/i18n-js.cc', | 93 '<(SHARED_INTERMEDIATE_DIR)/i18n-js.cc', |
| 82 ], | 94 ], |
| 83 'action': [ | 95 'action': [ |
| 84 'python', | 96 'python', |
| 85 '../../../tools/js2c.py', | 97 'i18n-js2c.py', |
| 86 '<@(_outputs)', | 98 '<@(_outputs)', |
| 87 'I18N', | 99 '<@(js_files)' |
| 88 '<@(library_files)' | |
| 89 ], | 100 ], |
| 90 }, | 101 }, |
| 91 ], | 102 ], |
| 92 }, | 103 }, |
| 93 ], # targets | 104 ], # targets |
| 94 } | 105 } |
| OLD | NEW |