features.gni 806 B

123456789101112131415161718192021
  1. # Copyright 2016 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. import("//ash/webui/media_app_ui/media_app_ui.gni")
  5. import("//build/config/chromecast_build.gni")
  6. # Most build code won't need to include this file. Instead you can
  7. # unconditionally depend on "//pdf" which will be a no-op when PDF support is
  8. # disabled.
  9. declare_args() {
  10. # Enable ink libraries provided by the ChromeOS media app dependency.
  11. #
  12. # This argument indicates whether the ink libraries provided by the ChromeOS
  13. # media app dependency is enabled. It also determines whether the annotation
  14. # feature is enabled for the PDF viewer.
  15. enable_ink = enable_cros_media_app
  16. enable_pdf = !is_android && !is_ios && !is_castos
  17. }