blob: 4f345922b067973dce62bccddfe45babe0aad5d7 [file] [log] [blame]
Blink Reformat4c46d092018-04-07 15:32:371# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
Blink Reformat4c46d092018-04-07 15:32:375import("//third_party/blink/public/public_features.gni")
Tim van der Lippe85f14942020-07-13 14:02:406import("./all_devtools_files.gni")
Tim van der Lippe5822c1a2020-07-13 14:00:517import("./all_devtools_modules.gni")
Tim van der Lippe41a98a82020-07-15 12:58:248import("./devtools_image_files.gni")
Tim van der Lippe334be382020-07-13 14:35:589import("./devtools_module_entrypoints.gni")
Tim van der Lippef6650492020-07-16 13:41:1410import("./scripts/build/ninja/vars.gni")
Tim van der Lippebc42a632019-11-28 14:22:5511
12devtools_test_files = [
13 "//third_party/axe-core/axe.js",
14 "front_end/accessibility_test_runner/AccessibilityPaneTestRunner.js",
15 "front_end/accessibility_test_runner/module.json",
16 "front_end/application_test_runner/AppcacheTestRunner.js",
17 "front_end/application_test_runner/CacheStorageTestRunner.js",
18 "front_end/application_test_runner/IndexedDBTestRunner.js",
19 "front_end/application_test_runner/module.json",
20 "front_end/application_test_runner/ResourcesTestRunner.js",
21 "front_end/application_test_runner/ResourceTreeTestRunner.js",
22 "front_end/application_test_runner/ServiceWorkersTestRunner.js",
Connor Clark2bc3be22020-02-14 22:34:1923 "front_end/lighthouse_test_runner/LighthouseTestRunner.js",
24 "front_end/lighthouse_test_runner/module.json",
Tim van der Lippebc42a632019-11-28 14:22:5525 "front_end/axe_core_test_runner/AxeCoreTestRunner.js",
26 "front_end/axe_core_test_runner/module.json",
27 "front_end/bindings_test_runner/AutomappingTestRunner.js",
28 "front_end/bindings_test_runner/BindingsTestRunner.js",
29 "front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js",
30 "front_end/bindings_test_runner/module.json",
31 "front_end/bindings_test_runner/OverridesTestRunner.js",
32 "front_end/bindings_test_runner/PersistenceTestRunner.js",
33 "front_end/console_test_runner/ConsoleTestRunner.js",
34 "front_end/console_test_runner/module.json",
35 "front_end/coverage_test_runner/CoverageTestRunner.js",
36 "front_end/coverage_test_runner/module.json",
37 "front_end/cpu_profiler_test_runner/module.json",
38 "front_end/cpu_profiler_test_runner/ProfilerTestRunner.js",
39 "front_end/data_grid_test_runner/DataGridTestRunner.js",
40 "front_end/data_grid_test_runner/module.json",
41 "front_end/device_mode_test_runner/DeviceModeTestRunner.js",
42 "front_end/device_mode_test_runner/module.json",
43 "front_end/elements_test_runner/EditDOMTestRunner.js",
44 "front_end/elements_test_runner/ElementsPanelShadowSelectionOnRefreshTestRunner.js",
45 "front_end/elements_test_runner/ElementsTestRunner.js",
46 "front_end/elements_test_runner/module.json",
47 "front_end/elements_test_runner/SetOuterHTMLTestRunner.js",
48 "front_end/elements_test_runner/StylesUpdateLinksTestRunner.js",
49 "front_end/extensions_test_runner/ExtensionsNetworkTestRunner.js",
50 "front_end/extensions_test_runner/ExtensionsTestRunner.js",
51 "front_end/extensions_test_runner/module.json",
52 "front_end/heap_profiler_test_runner/HeapProfilerTestRunner.js",
53 "front_end/heap_profiler_test_runner/module.json",
54 "front_end/integration_test_runner.html",
55 "front_end/integration_test_runner.js",
56 "front_end/integration_test_runner.json",
57 "front_end/layers_test_runner/LayersTestRunner.js",
58 "front_end/layers_test_runner/module.json",
59 "front_end/network_test_runner/module.json",
60 "front_end/network_test_runner/NetworkTestRunner.js",
61 "front_end/performance_test_runner/module.json",
62 "front_end/performance_test_runner/TimelineDataTestRunner.js",
63 "front_end/performance_test_runner/TimelineTestRunner.js",
64 "front_end/sdk_test_runner/module.json",
65 "front_end/sdk_test_runner/PageMockTestRunner.js",
66 "front_end/security_test_runner/module.json",
67 "front_end/security_test_runner/SecurityTestRunner.js",
68 "front_end/sources_test_runner/AutocompleteTestRunner.js",
69 "front_end/sources_test_runner/DebuggerTestRunner.js",
70 "front_end/sources_test_runner/EditorTestRunner.js",
71 "front_end/sources_test_runner/LiveEditTestRunner.js",
72 "front_end/sources_test_runner/module.json",
73 "front_end/sources_test_runner/SearchTestRunner.js",
74 "front_end/sources_test_runner/SourcesTestRunner.js",
75 "front_end/test_runner/module.json",
Tim van der Lippebc42a632019-11-28 14:22:5576]
77
78devtools_embedder_scripts = [
79 "front_end/devtools_compatibility.js",
80 "front_end/Tests.js",
81]
82
83devtools_emulated_devices_images = [
84 "front_end/emulated_devices/google-nexus-5-horizontal-default-1x.png",
85 "front_end/emulated_devices/google-nexus-5-horizontal-default-2x.png",
86 "front_end/emulated_devices/google-nexus-5-horizontal-keyboard-1x.png",
87 "front_end/emulated_devices/google-nexus-5-horizontal-keyboard-2x.png",
88 "front_end/emulated_devices/google-nexus-5-horizontal-navigation-1x.png",
89 "front_end/emulated_devices/google-nexus-5-horizontal-navigation-2x.png",
90 "front_end/emulated_devices/google-nexus-5-vertical-default-1x.png",
91 "front_end/emulated_devices/google-nexus-5-vertical-default-2x.png",
92 "front_end/emulated_devices/google-nexus-5-vertical-keyboard-1x.png",
93 "front_end/emulated_devices/google-nexus-5-vertical-keyboard-2x.png",
94 "front_end/emulated_devices/google-nexus-5-vertical-navigation-1x.png",
95 "front_end/emulated_devices/google-nexus-5-vertical-navigation-2x.png",
96 "front_end/emulated_devices/google-nexus-5x-horizontal-default-1x.png",
97 "front_end/emulated_devices/google-nexus-5x-horizontal-default-2x.png",
98 "front_end/emulated_devices/google-nexus-5x-horizontal-keyboard-1x.png",
99 "front_end/emulated_devices/google-nexus-5x-horizontal-keyboard-2x.png",
100 "front_end/emulated_devices/google-nexus-5x-horizontal-navigation-1x.png",
101 "front_end/emulated_devices/google-nexus-5x-horizontal-navigation-2x.png",
102 "front_end/emulated_devices/google-nexus-5x-vertical-default-1x.png",
103 "front_end/emulated_devices/google-nexus-5x-vertical-default-2x.png",
104 "front_end/emulated_devices/google-nexus-5x-vertical-keyboard-1x.png",
105 "front_end/emulated_devices/google-nexus-5x-vertical-keyboard-2x.png",
106 "front_end/emulated_devices/google-nexus-5x-vertical-navigation-1x.png",
107 "front_end/emulated_devices/google-nexus-5x-vertical-navigation-2x.png",
108 "front_end/emulated_devices/iPad-landscape.svg",
109 "front_end/emulated_devices/iPad-portrait.svg",
110 "front_end/emulated_devices/iPhone5-landscape.svg",
111 "front_end/emulated_devices/iPhone5-portrait.svg",
112 "front_end/emulated_devices/iPhone6-landscape.svg",
113 "front_end/emulated_devices/iPhone6-portrait.svg",
114 "front_end/emulated_devices/iPhone6Plus-landscape.svg",
115 "front_end/emulated_devices/iPhone6Plus-portrait.svg",
Connor Clark5f86e052020-01-24 21:38:50116 "front_end/emulated_devices/MotoG4-landscape.svg",
117 "front_end/emulated_devices/MotoG4-portrait.svg",
Tim van der Lippebc42a632019-11-28 14:22:55118 "front_end/emulated_devices/Nexus5X-landscape.svg",
119 "front_end/emulated_devices/Nexus5X-portrait.svg",
120 "front_end/emulated_devices/Nexus6P-landscape.svg",
121 "front_end/emulated_devices/Nexus6P-portrait.svg",
122]
123
Tim van der Lippebc42a632019-11-28 14:22:55124application_templates = [
125 "front_end/devtools_app.html",
126 "front_end/inspector.html",
127 "front_end/integration_test_runner.html",
128 "front_end/js_app.html",
129 "front_end/ndb_app.html",
130 "front_end/node_app.html",
131 "front_end/toolbox.html",
132 "front_end/worker_app.html",
133]
134
Tim van der Lippe49155912020-05-12 11:26:44135generated_applications_html = [
Tim van der Lippebc42a632019-11-28 14:22:55136 "$resources_out_dir/devtools_app.html",
Tim van der Lippebc42a632019-11-28 14:22:55137 "$resources_out_dir/inspector.html",
Tim van der Lippe49155912020-05-12 11:26:44138 "$resources_out_dir/integration_test_runner.html",
Tim van der Lippebc42a632019-11-28 14:22:55139 "$resources_out_dir/js_app.html",
Tim van der Lippe49155912020-05-12 11:26:44140 "$resources_out_dir/ndb_app.html",
Tim van der Lippebc42a632019-11-28 14:22:55141 "$resources_out_dir/node_app.html",
Tim van der Lippe49155912020-05-12 11:26:44142 "$resources_out_dir/toolbox.html",
143 "$resources_out_dir/worker_app.html",
144]
145
146generated_applications_js = [
147 "$resources_out_dir/lighthouse_worker.js",
148 "$resources_out_dir/devtools_app.js",
149 "$resources_out_dir/inspector.js",
150 "$resources_out_dir/js_app.js",
Tim van der Lippebc42a632019-11-28 14:22:55151 "$resources_out_dir/node_app.js",
152 "$resources_out_dir/shell.js",
Tim van der Lippebc42a632019-11-28 14:22:55153 "$resources_out_dir/toolbox.js",
Tim van der Lippebc42a632019-11-28 14:22:55154 "$resources_out_dir/worker_app.js",
155]
156
157generated_non_autostart_non_remote_modules = [
Tim van der Lippe387b03e2019-12-17 16:09:22158 "$resources_out_dir/accessibility/accessibility_module.js",
Tim van der Lippebc42a632019-11-28 14:22:55159 "$resources_out_dir/animation/animation_module.js",
Connor Clark2bc3be22020-02-14 22:34:19160 "$resources_out_dir/lighthouse/lighthouse_module.js",
Tim van der Lippebc42a632019-11-28 14:22:55161 "$resources_out_dir/browser_debugger/browser_debugger_module.js",
162 "$resources_out_dir/changes/changes_module.js",
Tim van der Lippebc42a632019-11-28 14:22:55163 "$resources_out_dir/cm_modes/cm_modes_module.js",
Mathias Bynens2d8a20d2019-12-20 08:04:09164 "$resources_out_dir/cm/cm_module.js",
Tim van der Lippebc42a632019-11-28 14:22:55165 "$resources_out_dir/color_picker/color_picker_module.js",
166 "$resources_out_dir/console/console_module.js",
167 "$resources_out_dir/cookie_table/cookie_table_module.js",
168 "$resources_out_dir/coverage/coverage_module.js",
Mathias Bynens2d8a20d2019-12-20 08:04:09169 "$resources_out_dir/css_overview/css_overview_module.js",
Tim van der Lippebc42a632019-11-28 14:22:55170 "$resources_out_dir/data_grid/data_grid_module.js",
171 "$resources_out_dir/devices/devices_module.js",
172 "$resources_out_dir/diff/diff_module.js",
173 "$resources_out_dir/elements/elements_module.js",
174 "$resources_out_dir/event_listeners/event_listeners_module.js",
175 "$resources_out_dir/formatter/formatter_module.js",
176 "$resources_out_dir/har_importer/har_importer_module.js",
177 "$resources_out_dir/heap_snapshot_model/heap_snapshot_model_module.js",
178 "$resources_out_dir/help/help_module.js",
179 "$resources_out_dir/inline_editor/inline_editor_module.js",
Mathias Bynens2d8a20d2019-12-20 08:04:09180 "$resources_out_dir/input/input_module.js",
Tim van der Lippebc42a632019-11-28 14:22:55181 "$resources_out_dir/javascript_metadata/javascript_metadata_module.js",
182 "$resources_out_dir/js_profiler/js_profiler_module.js",
183 "$resources_out_dir/layer_viewer/layer_viewer_module.js",
184 "$resources_out_dir/layers/layers_module.js",
Simon Zünda9f48fb2020-07-08 11:18:29185 "$resources_out_dir/marked/marked_module.js",
Tim van der Lippebc42a632019-11-28 14:22:55186 "$resources_out_dir/media/media_module.js",
187 "$resources_out_dir/network/network_module.js",
188 "$resources_out_dir/node_debugger/node_debugger_module.js",
189 "$resources_out_dir/object_ui/object_ui_module.js",
190 "$resources_out_dir/perf_ui/perf_ui_module.js",
191 "$resources_out_dir/performance_monitor/performance_monitor_module.js",
192 "$resources_out_dir/profiler/profiler_module.js",
Jan Scheffler01005812020-02-05 12:41:00193 "$resources_out_dir/issues/issues_module.js",
Sigurd Schneider91907802020-07-08 08:53:59194 "$resources_out_dir/developer_resources/developer_resources_module.js",
Mathias Bynens2d8a20d2019-12-20 08:04:09195 "$resources_out_dir/protocol_monitor/protocol_monitor_module.js",
Tim van der Lippebc42a632019-11-28 14:22:55196 "$resources_out_dir/quick_open/quick_open_module.js",
197 "$resources_out_dir/resources/resources_module.js",
198 "$resources_out_dir/search/search_module.js",
199 "$resources_out_dir/security/security_module.js",
200 "$resources_out_dir/settings/settings_module.js",
201 "$resources_out_dir/snippets/snippets_module.js",
202 "$resources_out_dir/source_frame/source_frame_module.js",
203 "$resources_out_dir/sources/sources_module.js",
204 "$resources_out_dir/text_editor/text_editor_module.js",
205 "$resources_out_dir/timeline_model/timeline_model_module.js",
206 "$resources_out_dir/timeline/timeline_module.js",
207 "$resources_out_dir/web_audio/web_audio_module.js",
Fawaz Mohammad81995832020-06-09 18:28:23208 "$resources_out_dir/webauthn/webauthn_module.js",
Tim van der Lippebc42a632019-11-28 14:22:55209 "$resources_out_dir/workspace_diff/workspace_diff_module.js",
210]
211
212generated_remote_modules = [
Connor Clark2bc3be22020-02-14 22:34:19213 "$resources_out_dir/lighthouse_worker/lighthouse_worker_module.js",
Tim van der Lippebc42a632019-11-28 14:22:55214 "$resources_out_dir/dagre_layout/dagre_layout_module.js",
215 "$resources_out_dir/emulated_devices/emulated_devices_module.js",
216]
217
218generated_test_modules = [
219 "$resources_out_dir/accessibility_test_runner/accessibility_test_runner_module.js",
220 "$resources_out_dir/application_test_runner/application_test_runner_module.js",
Connor Clark2bc3be22020-02-14 22:34:19221 "$resources_out_dir/lighthouse_test_runner/lighthouse_test_runner_module.js",
Tim van der Lippebc42a632019-11-28 14:22:55222 "$resources_out_dir/axe_core_test_runner/axe_core_test_runner_module.js",
223 "$resources_out_dir/bindings_test_runner/bindings_test_runner_module.js",
224 "$resources_out_dir/console_test_runner/console_test_runner_module.js",
225 "$resources_out_dir/coverage_test_runner/coverage_test_runner_module.js",
226 "$resources_out_dir/cpu_profiler_test_runner/cpu_profiler_test_runner_module.js",
227 "$resources_out_dir/data_grid_test_runner/data_grid_test_runner_module.js",
228 "$resources_out_dir/device_mode_test_runner/device_mode_test_runner_module.js",
229 "$resources_out_dir/elements_test_runner/elements_test_runner_module.js",
230 "$resources_out_dir/extensions_test_runner/extensions_test_runner_module.js",
231 "$resources_out_dir/heap_profiler_test_runner/heap_profiler_test_runner_module.js",
232 "$resources_out_dir/heap_snapshot_worker/heap_snapshot_worker_module.js",
Tim van der Lippebc42a632019-11-28 14:22:55233 "$resources_out_dir/integration_test_runner.js",
234 "$resources_out_dir/layers_test_runner/layers_test_runner_module.js",
235 "$resources_out_dir/network_test_runner/network_test_runner_module.js",
236 "$resources_out_dir/performance_test_runner/performance_test_runner_module.js",
237 "$resources_out_dir/sdk_test_runner/sdk_test_runner_module.js",
238 "$resources_out_dir/security_test_runner/security_test_runner_module.js",
239 "$resources_out_dir/sources_test_runner/sources_test_runner_module.js",
240]
241
Tim van der Lippef9f55f12020-01-22 12:24:39242all_worker_entrypoints = [
Tim van der Lippef9f55f12020-01-22 12:24:39243 "front_end/heap_snapshot_worker_entrypoint.js",
244 "front_end/wasmparser_worker_entrypoint.js",
245]
246
Tim van der Lippebc42a632019-11-28 14:22:55247generated_worker_bundles = [
Tim van der Lippe0c21af52020-01-08 11:55:22248 "$resources_out_dir/heap_snapshot_worker_entrypoint.js",
249 "$resources_out_dir/wasmparser_worker_entrypoint.js",
Tim van der Lippebc42a632019-11-28 14:22:55250]
251
252devtools_applications = [
Connor Clark2bc3be22020-02-14 22:34:19253 "lighthouse_worker",
Tim van der Lippebc42a632019-11-28 14:22:55254 "devtools_app",
Tim van der Lippe0c21af52020-01-08 11:55:22255 "heap_snapshot_worker_entrypoint",
Tim van der Lippebc42a632019-11-28 14:22:55256 "inspector",
257 "integration_test_runner",
258 "js_app",
259 "ndb_app",
260 "node_app",
261 "shell",
262 "toolbox",
Tim van der Lippe0c21af52020-01-08 11:55:22263 "wasmparser_worker_entrypoint",
Tim van der Lippebc42a632019-11-28 14:22:55264 "worker_app",
265]
266
267#-------------------------------------------------------------------------------
268
Tim van der Lippe501473c2020-05-19 15:01:52269devtools_frontend_resources_deps = [
270 ":build_release_devtools",
Tim van der Lippe501473c2020-05-19 15:01:52271 ":copy_emulated_devices_images",
Tim van der Lippe501473c2020-05-19 15:01:52272 ":devtools_extension_api",
273 "front_end",
Tim van der Lippe7ebe48c2020-07-13 12:27:15274 "test",
Tim van der Lippe39fc2542020-02-28 09:38:02275]
Tim van der Lippe3bf1c192020-01-22 11:45:13276
Tim van der Lippe8bdbc7a2020-03-09 10:42:09277if (is_debug) {
278 devtools_frontend_resources_deps += [ ":copy_devtools_modules" ]
279}
280
Tim van der Lippe7ebe48c2020-07-13 12:27:15281group("devtools_all_files") {
282 testonly = true
283 data = all_devtools_files + generated_devtools_module_entrypoints
284 data += [
285 # This enables us to test bots with whitespace changes.
286 "scripts/whitespaces.txt",
287 ]
288 data_deps = devtools_frontend_resources_deps
Tim van der Lippe1a0338a2020-02-21 14:44:49289}
290
Tim van der Lippebc42a632019-11-28 14:22:55291group("devtools_frontend_resources") {
292 public_deps = devtools_frontend_resources_deps
293}
294
Alex Rudenkof0d02a12020-05-28 12:59:04295group("generate_devtools_inspector_overlay_resources") {
Alex Rudenko7bf4d032020-05-13 15:45:02296 public_deps = [ "front_end/inspector_overlay:build_inspector_overlay" ]
297}
298
Tim van der Lippebc42a632019-11-28 14:22:55299copy("copy_emulated_devices_images") {
300 sources = devtools_emulated_devices_images
Paul Lewise73301b2020-01-22 14:35:26301 outputs = [ "$resources_out_dir/emulated_devices/{{source_file_part}}" ]
Tim van der Lippebc42a632019-11-28 14:22:55302}
303
Tim van der Lippec30dd722020-03-10 11:17:49304if (is_debug) {
Tim van der Lippe8bdbc7a2020-03-09 10:42:09305 action("copy_devtools_modules") {
306 script = "scripts/build/copy_devtools_modules.py"
307
308 deps = [ ":build_release_devtools" ]
309
310 inputs = input_devtools_modules
311 response_file_contents = inputs
312 outputs = output_devtools_modules
313
314 args = [
315 "--file_list",
316 "{{response_file_name}}",
317 "--input_path",
318 rebase_path(".", root_build_dir),
319 "--output_path",
320 rebase_path(resources_out_dir, root_build_dir),
321 ]
322 }
323}
324
Tim van der Lippebc42a632019-11-28 14:22:55325action("generate_devtools_grd") {
326 script = "scripts/build/generate_devtools_grd.py"
327
Paul Lewise73301b2020-01-22 14:35:26328 deps = [ ":devtools_frontend_resources" ]
Blink Reformat4c46d092018-04-07 15:32:37329
Tim van der Lippebc42a632019-11-28 14:22:55330 grd_files =
Tim van der Lippe8bdbc7a2020-03-09 10:42:09331 generated_devtools_module_entrypoints + output_devtools_modules +
Tim van der Lippe49155912020-05-12 11:26:44332 generated_applications_html + generated_applications_js +
333 generated_non_autostart_non_remote_modules + devtools_embedder_scripts +
Tim van der Lippe60421842020-07-01 15:53:58334 generated_worker_bundles + generated_typescript_entrypoints +
Tim van der Lippe98a014f2020-07-07 09:02:14335 generated_typescript_modules +
Tim van der Lippebc42a632019-11-28 14:22:55336 [
337 "$resources_out_dir/devtools_extension_api.js",
338 "$resources_out_dir/sdk/wasm_source_map/pkg/wasm_source_map_bg.wasm",
339 ]
340
Tim van der Lippe41a98a82020-07-15 12:58:24341 inputs = grd_files + front_end_image_files
Rob Paveza49473552020-01-08 21:38:58342 response_file_contents = rebase_path(grd_files, root_build_dir)
Tim van der Lippebc42a632019-11-28 14:22:55343 outfile = "$root_gen_dir/devtools/devtools_resources.grd"
Paul Lewise73301b2020-01-22 14:35:26344 outputs = [ outfile ]
Blink Reformat4c46d092018-04-07 15:32:37345
Tim van der Lippebc42a632019-11-28 14:22:55346 relative_path_dirs = [
347 resources_out_dir,
348 "front_end",
Blink Reformat4c46d092018-04-07 15:32:37349 ]
350
Tim van der Lippee2fbfea2020-01-09 13:53:50351 args = [
Rob Paveza41120592020-01-13 17:17:02352 "--file_list",
Tim van der Lippee2fbfea2020-01-09 13:53:50353 "{{response_file_name}}",
354 "--relative_path_dirs",
355 ] + rebase_path(relative_path_dirs, root_build_dir) +
Tim van der Lippebc42a632019-11-28 14:22:55356 [
357 "--images",
358 rebase_path("front_end/Images", root_build_dir),
359 "--output",
360 rebase_path(outfile, root_build_dir),
361 ]
362}
363
364action("devtools_extension_api") {
365 script = "scripts/build/generate_devtools_extension_api.py"
366
367 devtools_extension_api_files = [ "front_end/extensions/ExtensionAPI.js" ]
368 inputs = devtools_extension_api_files
Paul Lewise73301b2020-01-22 14:35:26369 outputs = [ "$resources_out_dir/devtools_extension_api.js" ]
Blink Reformat4c46d092018-04-07 15:32:37370
Tim van der Lippebc42a632019-11-28 14:22:55371 args = rebase_path(outputs, root_build_dir) +
372 rebase_path(devtools_extension_api_files, root_build_dir)
373}
374
Tim van der Lippe8bdbc7a2020-03-09 10:42:09375build_release_devtools_args = []
376
377if (!is_debug) {
378 build_release_devtools_args += [ "--rollup" ]
379}
380
Tim van der Lippebc42a632019-11-28 14:22:55381action("build_release_devtools") {
382 script = "scripts/build/build_release_applications.py"
Blink Reformat4c46d092018-04-07 15:32:37383
Tim van der Lippebc42a632019-11-28 14:22:55384 helper_scripts = [
385 "scripts/build/modular_build.py",
386 "scripts/build/rjsmin.py",
Tim van der Lippe10095002020-06-15 16:15:33387 "front_end/rollup.config.js",
Tim van der Lippebc42a632019-11-28 14:22:55388 ]
389
Tim van der Lippe8ea04b02020-05-26 09:57:58390 deps = [ "front_end" ]
391
Tim van der Lippe8ec07dd2020-01-23 18:29:34392 inputs = helper_scripts + all_devtools_files + devtools_test_files +
Tim van der Lippeb3b90762020-03-04 15:21:52393 application_templates + all_worker_entrypoints +
Tim van der Lippec30dd722020-03-10 11:17:49394 front_end_devtools_module_entrypoints + input_devtools_modules
Tim van der Lippebc42a632019-11-28 14:22:55395 outputs =
Tim van der Lippe49155912020-05-12 11:26:44396 generated_applications_js + generated_non_autostart_non_remote_modules +
Tim van der Lippebc42a632019-11-28 14:22:55397 generated_remote_modules + generated_test_modules +
Tim van der Lippe8bdbc7a2020-03-09 10:42:09398 generated_worker_bundles + generated_devtools_module_entrypoints
Tim van der Lippebc42a632019-11-28 14:22:55399
400 args = devtools_applications + [
401 "--input_path",
402 rebase_path("front_end", root_build_dir),
403 "--output_path",
404 rebase_path(resources_out_dir, root_build_dir),
Tim van der Lippe8bdbc7a2020-03-09 10:42:09405 ] + build_release_devtools_args
Tim van der Lippebc42a632019-11-28 14:22:55406}