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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
111 'dependencies': [ | 111 'dependencies': [ |
112 'devtools_html', | 112 'devtools_html', |
113 'devtools_extension_api', | 113 'devtools_extension_api', |
114 'devtools_frontend_resources', | 114 'devtools_frontend_resources', |
115 ], | 115 ], |
116 'conditions': [ | 116 'conditions': [ |
117 ['debug_devtools==0', { | 117 ['debug_devtools==0', { |
118 'actions': [{ | 118 'actions': [{ |
119 'action_name': 'generate_devtools_grd', | 119 'action_name': 'generate_devtools_grd', |
120 'script_name': 'scripts/generate_devtools_grd.py', | 120 'script_name': 'scripts/generate_devtools_grd.py', |
121 'relative_path_dir': '<(PRODUCT_DIR)/resources/inspector ', | 121 'relative_path_dirs': [ |
122 '<(PRODUCT_DIR)/resources/inspector', | |
123 'front_end' | |
124 ], | |
122 'input_pages': [ | 125 'input_pages': [ |
123 '<(PRODUCT_DIR)/resources/inspector/devtools.html', | 126 '<(PRODUCT_DIR)/resources/inspector/devtools.html', |
124 '<(PRODUCT_DIR)/resources/inspector/Main.js', | 127 '<(PRODUCT_DIR)/resources/inspector/Main.js', |
125 '<(PRODUCT_DIR)/resources/inspector/search/AdvancedS earchView.js', | 128 '<(PRODUCT_DIR)/resources/inspector/search/AdvancedS earchView.js', |
126 '<(PRODUCT_DIR)/resources/inspector/console/ConsoleP anel.js', | 129 '<(PRODUCT_DIR)/resources/inspector/console/ConsoleP anel.js', |
127 '<(PRODUCT_DIR)/resources/inspector/elements/Element sPanel.js', | 130 '<(PRODUCT_DIR)/resources/inspector/elements/Element sPanel.js', |
128 '<(PRODUCT_DIR)/resources/inspector/extensions/Exten sionServer.js', | 131 '<(PRODUCT_DIR)/resources/inspector/extensions/Exten sionServer.js', |
129 '<(PRODUCT_DIR)/resources/inspector/resources/Resour cesPanel.js', | 132 '<(PRODUCT_DIR)/resources/inspector/resources/Resour cesPanel.js', |
130 '<(PRODUCT_DIR)/resources/inspector/network/NetworkP anel.js', | 133 '<(PRODUCT_DIR)/resources/inspector/network/NetworkP anel.js', |
131 '<(PRODUCT_DIR)/resources/inspector/source_frame/Sou rceFrame.js', | 134 '<(PRODUCT_DIR)/resources/inspector/source_frame/Sou rceFrame.js', |
132 '<(PRODUCT_DIR)/resources/inspector/sources/SourcesP anel.js', | 135 '<(PRODUCT_DIR)/resources/inspector/sources/SourcesP anel.js', |
133 '<(PRODUCT_DIR)/resources/inspector/timeline/Timelin ePanel.js', | 136 '<(PRODUCT_DIR)/resources/inspector/timeline/Timelin ePanel.js', |
134 '<(PRODUCT_DIR)/resources/inspector/profiler/Profile sPanel.js', | 137 '<(PRODUCT_DIR)/resources/inspector/profiler/Profile sPanel.js', |
135 '<(PRODUCT_DIR)/resources/inspector/audits/AuditsPan el.js', | 138 '<(PRODUCT_DIR)/resources/inspector/audits/AuditsPan el.js', |
136 '<(PRODUCT_DIR)/resources/inspector/layers/LayersPan el.js', | 139 '<(PRODUCT_DIR)/resources/inspector/layers/LayersPan el.js', |
137 '<(PRODUCT_DIR)/resources/inspector/profiler/heap_sn apshot_worker/HeapSnapshotWorker.js', | 140 '<(PRODUCT_DIR)/resources/inspector/profiler/heap_sn apshot_worker/HeapSnapshotWorker.js', |
138 '<(PRODUCT_DIR)/resources/inspector/script_formatter _worker/ScriptFormatterWorker.js', | 141 '<(PRODUCT_DIR)/resources/inspector/script_formatter _worker/ScriptFormatterWorker.js', |
139 '<(PRODUCT_DIR)/resources/inspector/temp_storage_sha red_worker/TempStorageSharedWorker.js', | 142 '<(PRODUCT_DIR)/resources/inspector/temp_storage_sha red_worker/TempStorageSharedWorker.js', |
140 '<(PRODUCT_DIR)/resources/inspector/devices/DevicesV iew.js', | 143 '<(PRODUCT_DIR)/resources/inspector/devices/DevicesV iew.js', |
141 '<(PRODUCT_DIR)/resources/inspector/inspector.css', | 144 '<(PRODUCT_DIR)/resources/inspector/inspector.css', |
142 '<(PRODUCT_DIR)/resources/inspector/devtools_extensi on_api.js', | 145 '<(PRODUCT_DIR)/resources/inspector/devtools_extensi on_api.js', |
143 '<@(devtools_standalone_files)', | 146 '<@(devtools_standalone_files)', |
147 '<@(devtools_cm_css_files)', | |
144 ], | 148 ], |
145 'images': [ | 149 'images': [ |
146 '<@(devtools_image_files)', | 150 '<@(devtools_image_files)', |
147 ], | 151 ], |
148 'inputs': [ | 152 'inputs': [ |
149 '<@(_script_name)', | 153 '<@(_script_name)', |
150 '<@(_input_pages)', | 154 '<@(_input_pages)', |
151 '<@(_images)', | 155 '<@(_images)', |
152 ], | 156 ], |
153 'images_path': [ | 157 'images_path': [ |
154 'front_end/Images', | 158 'front_end/Images', |
155 ], | 159 ], |
156 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/devtools/devtool s_resources.grd'], | 160 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/devtools/devtool s_resources.grd'], |
157 'action': ['python', '<@(_script_name)', '<@(_input_page s)', '--relative_path_dir', '<@(_relative_path_dir)', '--images', '<@(_images_pa th)', '--output', '<@(_outputs)'], | 161 'action': ['python', '<@(_script_name)', '<@(_input_page s)', '--relative_path_dirs', '<@(_relative_path_dirs)', '--images', '<@(_images_ path)', '--output', '<@(_outputs)'], |
158 }], | 162 }], |
159 }, | 163 }, |
160 { | 164 { |
161 # If we're not concatenating devtools files, we want to | 165 # If we're not concatenating devtools files, we want to |
162 # run after the original files have been copied to | 166 # run after the original files have been copied to |
163 # <(PRODUCT_DIR)/resources/inspector. | 167 # <(PRODUCT_DIR)/resources/inspector. |
164 'dependencies': ['devtools_frontend_resources'], | 168 'dependencies': ['devtools_frontend_resources'], |
165 'actions': [{ | 169 'actions': [{ |
166 'action_name': 'generate_devtools_grd', | 170 'action_name': 'generate_devtools_grd', |
167 'script_name': 'scripts/generate_devtools_grd.py', | 171 'script_name': 'scripts/generate_devtools_grd.py', |
168 'relative_path_dir': 'front_end', | 172 'relative_path_dirs': [ |
173 '<(PRODUCT_DIR)/resources/inspector', | |
vsevik
2014/05/15 13:57:47
Consider adding <(SHARED_INTERMEDIATE_DIR)/blink/
apavlov
2014/05/15 14:25:28
Done.
| |
174 'front_end' | |
175 ], | |
169 'input_pages': [ | 176 'input_pages': [ |
170 '<@(all_devtools_files)', | 177 '<@(all_devtools_files)', |
171 '<(SHARED_INTERMEDIATE_DIR)/blink/InspectorBackendCo mmands.js', | 178 '<(SHARED_INTERMEDIATE_DIR)/blink/InspectorBackendCo mmands.js', |
172 '<(SHARED_INTERMEDIATE_DIR)/blink/SupportedCSSProper ties.js', | 179 '<(SHARED_INTERMEDIATE_DIR)/blink/SupportedCSSProper ties.js', |
173 '<(PRODUCT_DIR)/resources/inspector/devtools.html', | 180 '<(PRODUCT_DIR)/resources/inspector/devtools.html', |
174 ], | 181 ], |
175 'images': [ | 182 'images': [ |
176 '<@(devtools_image_files)', | 183 '<@(devtools_image_files)', |
177 ], | 184 ], |
178 'inputs': [ | 185 'inputs': [ |
179 '<@(_script_name)', | 186 '<@(_script_name)', |
180 '<@(_input_pages)', | 187 '<@(_input_pages)', |
181 '<@(_images)', | 188 '<@(_images)', |
182 ], | 189 ], |
183 'images_path': [ | 190 'images_path': [ |
184 'front_end/Images', | 191 'front_end/Images', |
185 ], | 192 ], |
186 # Note that other files are put under /devtools director y, together with declared devtools_resources.grd | 193 # Note that other files are put under /devtools director y, together with declared devtools_resources.grd |
187 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/devtools/devtool s_resources.grd'], | 194 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/devtools/devtool s_resources.grd'], |
188 'action': ['python', '<@(_script_name)', '<@(_input_page s)', '--relative_path_dir', '<@(_relative_path_dir)', '--images', '<@(_images_pa th)', '--output', '<@(_outputs)'], | 195 'action': ['python', '<@(_script_name)', '<@(_input_page s)', '--relative_path_dirs', '<@(_relative_path_dirs)', '--images', '<@(_images_ path)', '--output', '<@(_outputs)'], |
189 }], | 196 }], |
190 }], | 197 }], |
191 ], | 198 ], |
192 }, | 199 }, |
193 { | 200 { |
194 'target_name': 'frontend_protocol_sources', | 201 'target_name': 'frontend_protocol_sources', |
195 'type': 'none', | 202 'type': 'none', |
196 'actions': [ | 203 'actions': [ |
197 { | 204 { |
198 'action_name': 'generateInspectorProtocolFrontendSources', | 205 'action_name': 'generateInspectorProtocolFrontendSources', |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
533 'type': 'none', | 540 'type': 'none', |
534 'conditions': [ | 541 'conditions': [ |
535 ['debug_devtools==0', { # Release | 542 ['debug_devtools==0', { # Release |
536 'actions': [{ | 543 'actions': [{ |
537 'action_name': 'build_source_frame_module', | 544 'action_name': 'build_source_frame_module', |
538 'script_name': 'scripts/inline_js_imports.py', | 545 'script_name': 'scripts/inline_js_imports.py', |
539 'input_file': 'front_end/source_frame/SourceFrame.js', | 546 'input_file': 'front_end/source_frame/SourceFrame.js', |
540 'inputs': [ | 547 'inputs': [ |
541 '<@(_script_name)', | 548 '<@(_script_name)', |
542 '<@(devtools_source_frame_js_files)', | 549 '<@(devtools_source_frame_js_files)', |
543 '<@(devtools_cm_files)', | 550 '<@(devtools_cm_js_files)', |
544 ], | 551 ], |
545 'outputs': ['<(PRODUCT_DIR)/resources/inspector/source_f rame/SourceFrame.js'], | 552 'outputs': ['<(PRODUCT_DIR)/resources/inspector/source_f rame/SourceFrame.js'], |
546 'action': ['python', '<@(_script_name)', '<@(_input_file )', '<@(_outputs)'], | 553 'action': ['python', '<@(_script_name)', '<@(_input_file )', '<@(_outputs)'], |
547 }], | 554 }], |
548 }, | 555 }, |
549 { # Debug | 556 { # Debug |
550 'copies': [ | 557 'copies': [ |
551 { | 558 { |
552 'destination': '<(PRODUCT_DIR)/resources/inspector/s ource_frame', | 559 'destination': '<(PRODUCT_DIR)/resources/inspector/s ource_frame', |
553 'files': [ | 560 'files': [ |
554 '<@(devtools_source_frame_js_files)', | 561 '<@(devtools_source_frame_js_files)', |
555 'front_end/source_frame/module.json', | 562 'front_end/source_frame/module.json', |
556 ], | 563 ], |
557 }, | 564 }, |
558 { | 565 { |
559 'destination': '<(PRODUCT_DIR)/resources/inspector/c m', | 566 'destination': '<(PRODUCT_DIR)/resources/inspector/c m', |
560 'files': [ | 567 'files': [ |
561 '<@(devtools_cm_files)', | 568 '<@(devtools_cm_js_files)', |
569 '<@(devtools_cm_css_files)', | |
562 ], | 570 ], |
563 } | 571 } |
564 ] | 572 ] |
565 }] | 573 }] |
566 ] | 574 ] |
567 }, | 575 }, |
568 { | 576 { |
569 'target_name': 'build_sources_module', | 577 'target_name': 'build_sources_module', |
570 'type': 'none', | 578 'type': 'none', |
571 'conditions': [ | 579 'conditions': [ |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
858 ], | 866 ], |
859 }], | 867 }], |
860 }, | 868 }, |
861 { | 869 { |
862 'target_name': 'concatenated_module_descriptors', | 870 'target_name': 'concatenated_module_descriptors', |
863 'type': 'none', | 871 'type': 'none', |
864 'actions': [{ | 872 'actions': [{ |
865 'action_name': 'concatenated_module_descriptors', | 873 'action_name': 'concatenated_module_descriptors', |
866 'script_name': 'scripts/concatenate_module_descriptors.p y', | 874 'script_name': 'scripts/concatenate_module_descriptors.p y', |
867 'input_file': ['front_end/common/modules.js'], | 875 'input_file': ['front_end/common/modules.js'], |
868 'module_json_files': [ | |
869 'front_end/audits/module.json', | |
870 'front_end/components/module.json', | |
871 'front_end/console/module.json', | |
872 'front_end/devices/module.json', | |
873 'front_end/elements/module.json', | |
874 'front_end/extensions/module.json', | |
875 'front_end/layers/module.json', | |
876 'front_end/main/module.json', | |
877 'front_end/network/module.json', | |
878 'front_end/profiler/module.json', | |
879 'front_end/resources/module.json', | |
880 'front_end/search/module.json', | |
881 'front_end/settings/module.json', | |
882 'front_end/source_frame/module.json', | |
883 'front_end/sources/module.json', | |
884 'front_end/timeline/module.json', | |
885 ], | |
886 'inputs': [ | 876 'inputs': [ |
887 '<@(_script_name)', | 877 '<@(_script_name)', |
888 '<@(_input_file)', | 878 '<@(_input_file)', |
889 '<@(_module_json_files)', | 879 '<@(devtools_module_json_files)', |
890 ], | 880 ], |
891 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/blink/common/mod ules.js'], | 881 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/blink/common/mod ules.js'], |
892 'action': ['python', '<@(_script_name)', '<@(_input_file )', '<@(_outputs)', '<@(_module_json_files)'], | 882 'action': ['python', '<@(_script_name)', '<@(_input_file )', '<@(_outputs)', '<@(devtools_module_json_files)'], |
893 }], | 883 }], |
894 }, | 884 }, |
895 ], | 885 ], |
896 }], | 886 }], |
897 ], # conditions | 887 ], # conditions |
898 } | 888 } |
OLD | NEW |