BUILD.gn 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Copyright 2017 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("//media/media_options.gni")
  5. source_set("muxers") {
  6. # Do not expand the visibility here without double-checking with OWNERS, this
  7. # is a roll-up target which is part of the //media component. Most other DEPs
  8. # should be using //media and not directly DEP this roll-up target.
  9. visibility = [ "//media" ]
  10. sources = [
  11. "file_webm_muxer_delegate.cc",
  12. "file_webm_muxer_delegate.h",
  13. "live_webm_muxer_delegate.cc",
  14. "live_webm_muxer_delegate.h",
  15. "webm_muxer.cc",
  16. "webm_muxer.h",
  17. ]
  18. deps = [
  19. "//base",
  20. "//media/base",
  21. "//media/formats",
  22. "//third_party/libwebm",
  23. "//ui/gfx/geometry",
  24. ]
  25. configs += [ "//media:subcomponent_config" ]
  26. }
  27. source_set("unit_tests") {
  28. testonly = true
  29. sources = [ "webm_muxer_unittest.cc" ]
  30. deps = [
  31. "//base/test:test_support",
  32. "//media:test_support",
  33. "//testing/gmock",
  34. "//testing/gtest",
  35. "//third_party/libwebm",
  36. ]
  37. }