chromium/services/accessibility/features/javascript/BUILD.gn

# Copyright 2023 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

copy("js_api_copied_files") {
  sources = [
    "accessibility_private.js",
    "automation.js",
    "automation_internal.js",
    "chrome_event.js",
    "event.js",
    "speech_recognition.js",
    "tts.js",
  ]
  outputs = [ "$target_gen_dir/{{source_file_part}}" ]
}

group("js_api_files") {
  data = [
    "$target_gen_dir/accessibility_private.js",
    "$target_gen_dir/automation.js",
    "$target_gen_dir/chrome_event.js",
    "$target_gen_dir/automation_internal.js",
    "$target_gen_dir/event.js",
    "$target_gen_dir/speech_recognition.js",
    "$target_gen_dir/tts.js",
  ]
  deps = [ ":js_api_copied_files" ]
}