| # Copyright 2017 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//media/media_options.gni") |
| |
| source_set("muxers") { |
| # Do not expand the visibility here without double-checking with OWNERS, this |
| # is a roll-up target which is part of the //media component. Most other DEPs |
| # should be using //media and not directly DEP this roll-up target. |
| visibility = [ "//media" ] |
| |
| sources = [ |
| "webm_muxer.cc", |
| "webm_muxer.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//media/base", |
| "//media/formats", |
| "//skia", |
| "//third_party/libwebm", |
| "//ui/gfx/geometry", |
| ] |
| |
| configs += [ "//media:subcomponent_config" ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ |
| "webm_muxer_unittest.cc", |
| ] |
| |
| deps = [ |
| "//base/test:test_support", |
| "//media:test_support", |
| "//testing/gmock", |
| "//testing/gtest", |
| ] |
| |
| configs += [ |
| # TODO(crbug.com/167187): Fix size_t to int truncations. |
| "//build/config/compiler:no_size_t_to_int_warning", |
| ] |
| } |