BUILD.gn 583 B

1234567891011121314151617181920212223
  1. # Copyright 2021 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("//build/config/chromeos/ui_mode.gni")
  5. import("//media/gpu/args.gni")
  6. assert(is_linux || is_chromeos_ash)
  7. source_set("sandbox") {
  8. sources = [
  9. "hardware_video_decoding_sandbox_hook_linux.cc",
  10. "hardware_video_decoding_sandbox_hook_linux.h",
  11. ]
  12. deps = [
  13. "//base",
  14. "//media/gpu:buildflags",
  15. "//sandbox/policy:policy",
  16. ]
  17. if (use_vaapi) {
  18. deps += [ "//media/gpu/vaapi:common" ]
  19. }
  20. }