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 'front_end', |
| 174 '<(PRODUCT_DIR)/resources/inspector', |
| 175 '<(SHARED_INTERMEDIATE_DIR)/blink', |
| 176 ], |
169 'input_pages': [ | 177 'input_pages': [ |
170 '<@(all_devtools_files)', | 178 '<@(all_devtools_files)', |
171 '<(SHARED_INTERMEDIATE_DIR)/blink/InspectorBackendCo
mmands.js', | 179 '<(SHARED_INTERMEDIATE_DIR)/blink/InspectorBackendCo
mmands.js', |
172 '<(SHARED_INTERMEDIATE_DIR)/blink/SupportedCSSProper
ties.js', | 180 '<(SHARED_INTERMEDIATE_DIR)/blink/SupportedCSSProper
ties.js', |
173 '<(PRODUCT_DIR)/resources/inspector/devtools.html', | 181 '<(PRODUCT_DIR)/resources/inspector/devtools.html', |
174 ], | 182 ], |
175 'images': [ | 183 'images': [ |
176 '<@(devtools_image_files)', | 184 '<@(devtools_image_files)', |
177 ], | 185 ], |
178 'inputs': [ | 186 'inputs': [ |
179 '<@(_script_name)', | 187 '<@(_script_name)', |
180 '<@(_input_pages)', | 188 '<@(_input_pages)', |
181 '<@(_images)', | 189 '<@(_images)', |
182 ], | 190 ], |
183 'images_path': [ | 191 'images_path': [ |
184 'front_end/Images', | 192 'front_end/Images', |
185 ], | 193 ], |
186 # Note that other files are put under /devtools director
y, together with declared devtools_resources.grd | 194 # 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'], | 195 '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)'], | 196 'action': ['python', '<@(_script_name)', '<@(_input_page
s)', '--relative_path_dirs', '<@(_relative_path_dirs)', '--images', '<@(_images_
path)', '--output', '<@(_outputs)'], |
189 }], | 197 }], |
190 }], | 198 }], |
191 ], | 199 ], |
192 }, | 200 }, |
193 { | 201 { |
194 'target_name': 'frontend_protocol_sources', | 202 'target_name': 'frontend_protocol_sources', |
195 'type': 'none', | 203 'type': 'none', |
196 'actions': [ | 204 'actions': [ |
197 { | 205 { |
198 'action_name': 'generateInspectorProtocolFrontendSources', | 206 'action_name': 'generateInspectorProtocolFrontendSources', |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 'type': 'none', | 541 'type': 'none', |
534 'conditions': [ | 542 'conditions': [ |
535 ['debug_devtools==0', { # Release | 543 ['debug_devtools==0', { # Release |
536 'actions': [{ | 544 'actions': [{ |
537 'action_name': 'build_source_frame_module', | 545 'action_name': 'build_source_frame_module', |
538 'script_name': 'scripts/inline_js_imports.py', | 546 'script_name': 'scripts/inline_js_imports.py', |
539 'input_file': 'front_end/source_frame/SourceFrame.js', | 547 'input_file': 'front_end/source_frame/SourceFrame.js', |
540 'inputs': [ | 548 'inputs': [ |
541 '<@(_script_name)', | 549 '<@(_script_name)', |
542 '<@(devtools_source_frame_js_files)', | 550 '<@(devtools_source_frame_js_files)', |
543 '<@(devtools_cm_files)', | 551 '<@(devtools_cm_js_files)', |
544 ], | 552 ], |
545 'outputs': ['<(PRODUCT_DIR)/resources/inspector/source_f
rame/SourceFrame.js'], | 553 'outputs': ['<(PRODUCT_DIR)/resources/inspector/source_f
rame/SourceFrame.js'], |
546 'action': ['python', '<@(_script_name)', '<@(_input_file
)', '<@(_outputs)'], | 554 'action': ['python', '<@(_script_name)', '<@(_input_file
)', '<@(_outputs)'], |
547 }], | 555 }], |
| 556 'copies': [ |
| 557 { |
| 558 'destination': '<(PRODUCT_DIR)/resources/inspector/c
m', |
| 559 'files': [ |
| 560 '<@(devtools_cm_css_files)', |
| 561 ], |
| 562 } |
| 563 ], |
548 }, | 564 }, |
549 { # Debug | 565 { # Debug |
550 'copies': [ | 566 'copies': [ |
551 { | 567 { |
552 'destination': '<(PRODUCT_DIR)/resources/inspector/s
ource_frame', | 568 'destination': '<(PRODUCT_DIR)/resources/inspector/s
ource_frame', |
553 'files': [ | 569 'files': [ |
554 '<@(devtools_source_frame_js_files)', | 570 '<@(devtools_source_frame_js_files)', |
555 'front_end/source_frame/module.json', | 571 'front_end/source_frame/module.json', |
556 ], | 572 ], |
557 }, | 573 }, |
558 { | 574 { |
559 'destination': '<(PRODUCT_DIR)/resources/inspector/c
m', | 575 'destination': '<(PRODUCT_DIR)/resources/inspector/c
m', |
560 'files': [ | 576 'files': [ |
561 '<@(devtools_cm_files)', | 577 '<@(devtools_cm_js_files)', |
| 578 '<@(devtools_cm_css_files)', |
562 ], | 579 ], |
563 } | 580 } |
564 ] | 581 ] |
565 }] | 582 }] |
566 ] | 583 ] |
567 }, | 584 }, |
568 { | 585 { |
569 'target_name': 'build_sources_module', | 586 'target_name': 'build_sources_module', |
570 'type': 'none', | 587 'type': 'none', |
571 'conditions': [ | 588 'conditions': [ |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 ], | 875 ], |
859 }], | 876 }], |
860 }, | 877 }, |
861 { | 878 { |
862 'target_name': 'concatenated_module_descriptors', | 879 'target_name': 'concatenated_module_descriptors', |
863 'type': 'none', | 880 'type': 'none', |
864 'actions': [{ | 881 'actions': [{ |
865 'action_name': 'concatenated_module_descriptors', | 882 'action_name': 'concatenated_module_descriptors', |
866 'script_name': 'scripts/concatenate_module_descriptors.p
y', | 883 'script_name': 'scripts/concatenate_module_descriptors.p
y', |
867 'input_file': ['front_end/common/modules.js'], | 884 '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': [ | 885 'inputs': [ |
887 '<@(_script_name)', | 886 '<@(_script_name)', |
888 '<@(_input_file)', | 887 '<@(_input_file)', |
889 '<@(_module_json_files)', | 888 '<@(devtools_module_json_files)', |
890 ], | 889 ], |
891 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/blink/common/mod
ules.js'], | 890 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/blink/common/mod
ules.js'], |
892 'action': ['python', '<@(_script_name)', '<@(_input_file
)', '<@(_outputs)', '<@(_module_json_files)'], | 891 'action': ['python', '<@(_script_name)', '<@(_input_file
)', '<@(_outputs)', '<@(devtools_module_json_files)'], |
893 }], | 892 }], |
894 }, | 893 }, |
895 ], | 894 ], |
896 }], | 895 }], |
897 ], # conditions | 896 ], # conditions |
898 } | 897 } |
OLD | NEW |