Commit adce6eb5 authored by Jérémie Boulic's avatar Jérémie Boulic Committed by Commit Bot

Audio player: Generate JS module for //ui/file_manager/audio_player/js/metadata_worker.js

Bug: 1133186
Change-Id: If8ad75ab5b8d70b470deb3821bbe084990c4288e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2542939
Auto-Submit: Jeremie Boulic <jboulic@chromium.org>
Commit-Queue: Luciano Pacheco <lucmult@chromium.org>
Reviewed-by: default avatarLuciano Pacheco <lucmult@chromium.org>
Cr-Commit-Position: refs/heads/master@{#828113}
parent 1f20fdad
......@@ -30,6 +30,7 @@ js_type_check("closure_compile_jsmodules") {
":background.m",
":error_util.m",
":main.m",
":metadata_worker.m",
]
}
......@@ -91,6 +92,13 @@ js_library("metadata_worker") {
]
}
js_library("metadata_worker.m") {
sources =
[ "$root_gen_dir/ui/file_manager/audio_player/js/metadata_worker.m.js" ]
deps = [ "//ui/file_manager/file_manager/foreground/js/metadata:metadata_dispatcher.m" ]
extra_deps = [ ":modulize" ]
}
js_library("test_util") {
}
......@@ -118,6 +126,7 @@ js_modulizer("modulize") {
input_files = [
"background.js",
"error_util.js",
"metadata_worker.js",
"test_util.js",
]
}
......
......@@ -2,7 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Load the worker script of the Files app.
importScripts(
'chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/' +
'foreground/js/metadata/metadata_dispatcher.js');
// clang-format off
// #import './metadata_dispatcher.m.js';
/* #ignore */ // Load the worker script of the Files app.
/* #ignore */ importScripts(
/* #ignore */ 'chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/' +
/* #ignore */ 'foreground/js/metadata/metadata_dispatcher.js');
// clang-format on
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment