Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # | 1 # |
| 2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 # | 3 # |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
| 6 # met: | 6 # met: |
| 7 # | 7 # |
| 8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 78 ], | 78 ], |
| 79 }], | 79 }], |
| 80 ], | 80 ], |
| 81 }, | 81 }, |
| 82 | 82 |
| 83 'target_defaults': { | 83 'target_defaults': { |
| 84 'variables': { | 84 'variables': { |
| 85 'optimize': 'max', | 85 'optimize': 'max', |
| 86 }, | 86 }, |
| 87 }, | 87 }, |
| 88 | 88 # Touch DOMWindow.idl if any IDL file has changed so that DOMWindow attributes |
| 89 # are properly generated to each interface that does not have NoInterfaceObjec t | |
| 90 # extended attribute set. | |
| 89 'targets': [{ | 91 'targets': [{ |
| 92 'target_name': 'touch_domwindow', | |
| 93 'type': 'none', | |
| 94 'actions': [{ | |
| 95 'action_name': 'touchDOMWindow', | |
| 96 'variables': { | |
| 97 # Write sources into a file, so that the action command line won't | |
| 98 # exceed OS limits. | |
| 99 'idl_files_list': '<|(idl_files_list.tmp <@(idl_files))', | |
|
do-not-use
2013/04/22 15:39:11
I would need to get rid of DOMWindow.idl in idl_fi
do-not-use
2013/04/22 15:47:20
I tried the following:
http://pastebin.com/kJs4aAT
| |
| 100 }, | |
| 101 'inputs': [ | |
| 102 '<(idl_files_list)', | |
| 103 '<!@(cat <(idl_files_list))', | |
| 104 ], | |
| 105 'outputs': [ | |
| 106 '../core/page/DOMWindow.idl', | |
| 107 ], | |
| 108 'action': [ | |
| 109 'touch', | |
| 110 '../core/page/DOMWindow.idl', | |
| 111 ], | |
| 112 'message': 'Touching DOMWindow.idl', | |
| 113 }] | |
| 114 }, | |
| 115 { | |
| 90 'target_name': 'supplemental_dependencies', | 116 'target_name': 'supplemental_dependencies', |
| 91 'type': 'none', | 117 'type': 'none', |
| 92 'actions': [{ | 118 'actions': [{ |
| 93 'action_name': 'generateSupplementalDependency', | 119 'action_name': 'generateSupplementalDependency', |
| 94 'variables': { | 120 'variables': { |
| 95 # Write sources into a file, so that the action command line won't | 121 # Write sources into a file, so that the action command line won't |
| 96 # exceed OS limits. | 122 # exceed OS limits. |
| 97 'idl_files_list': '<|(idl_files_list.tmp <@(idl_files))', | 123 'idl_files_list': '<|(idl_files_list.tmp <@(idl_files))', |
| 98 }, | 124 }, |
| 99 'inputs': [ | 125 'inputs': [ |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 119 '<(SHARED_INTERMEDIATE_DIR)/supplemental_dependency.tmp', | 145 '<(SHARED_INTERMEDIATE_DIR)/supplemental_dependency.tmp', |
| 120 ], | 146 ], |
| 121 'message': 'Resolving [Supplemental=XXX] dependencies in all IDL files', | 147 'message': 'Resolving [Supplemental=XXX] dependencies in all IDL files', |
| 122 }] | 148 }] |
| 123 }, | 149 }, |
| 124 { | 150 { |
| 125 'target_name': 'bindings_derived_sources', | 151 'target_name': 'bindings_derived_sources', |
| 126 'type': 'none', | 152 'type': 'none', |
| 127 'hard_dependency': 1, | 153 'hard_dependency': 1, |
| 128 'dependencies': [ | 154 'dependencies': [ |
| 155 'touch_domwindow', | |
| 129 'supplemental_dependencies', | 156 'supplemental_dependencies', |
| 130 '../core/core.gyp/core_derived_sources.gyp:generate_settings', | 157 '../core/core.gyp/core_derived_sources.gyp:generate_settings', |
| 131 ], | 158 ], |
| 132 'sources': [ | 159 'sources': [ |
| 133 '<@(idl_files)', | 160 '<@(idl_files)', |
| 134 '<@(webcore_test_support_idl_files)', | 161 '<@(webcore_test_support_idl_files)', |
| 135 ], | 162 ], |
| 136 'actions': [{ | 163 'actions': [{ |
| 137 'action_name': 'derived_sources_all_in_one', | 164 'action_name': 'derived_sources_all_in_one', |
| 138 'inputs': [ | 165 'inputs': [ |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 219 '--additionalIdlFiles', | 246 '--additionalIdlFiles', |
| 220 '<(webcore_test_support_idl_files)', | 247 '<(webcore_test_support_idl_files)', |
| 221 '<(RULE_INPUT_PATH)', | 248 '<(RULE_INPUT_PATH)', |
| 222 '<@(preprocessor)', | 249 '<@(preprocessor)', |
| 223 ], | 250 ], |
| 224 'message': 'Generating binding from <(RULE_INPUT_PATH)', | 251 'message': 'Generating binding from <(RULE_INPUT_PATH)', |
| 225 }], | 252 }], |
| 226 }, | 253 }, |
| 227 ], | 254 ], |
| 228 } | 255 } |
| OLD | NEW |