speech_recognition.sb 620 B

123456789101112131415
  1. ; Copyright 2020 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. ; --- The contents of common.sb implicitly included here. ---
  5. ; Required to load the libsoda.so binary downloaded by the component
  6. ; updater.
  7. (define soda-component-path "SODA_COMPONENT_PATH")
  8. (allow file-read* (subpath (param soda-component-path)))
  9. ; Required to load the language pack files used by the Speech On-Device
  10. ; API (SODA).
  11. (define soda-language-pack-path "SODA_LANGUAGE_PACK_PATH")
  12. (allow file-read* (subpath (param soda-language-pack-path)))