| Index: media/mojo/common/BUILD.gn
|
| diff --git a/media/mojo/common/BUILD.gn b/media/mojo/common/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0ee41edf6d2e866340a9ef1af3a790257861d1b2
|
| --- /dev/null
|
| +++ b/media/mojo/common/BUILD.gn
|
| @@ -0,0 +1,44 @@
|
| +# Copyright 2016 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("//testing/test.gni")
|
| +
|
| +group("common") {
|
| + public_deps = [
|
| + ":common_base",
|
| + ]
|
| +}
|
| +
|
| +source_set("common_base") {
|
| + sources = [
|
| + "mojo_video_frame.cc",
|
| + "mojo_video_frame.h",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base",
|
| + "//media",
|
| + "//mojo/common",
|
| + "//mojo/public/c/system:for_component",
|
| + ]
|
| +}
|
| +
|
| +test("media_mojo_common_unittests") {
|
| + sources = [
|
| + "mojo_video_frame_unittest.cc",
|
| + ]
|
| +
|
| + deps = [
|
| + ":common_base",
|
| + "//base",
|
| + "//base/test:test_support",
|
| + "//media",
|
| + "//media/base:test_support",
|
| + "//mojo/edk/system",
|
| + "//mojo/edk/test:run_all_unittests",
|
| + "//mojo/environment:chromium",
|
| + "//testing/gmock",
|
| + "//testing/gtest",
|
| + ]
|
| +}
|
|
|