Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: chromecast/media/BUILD.gn

Issue 1055173005: Add BUILD.gn files for chromecast/media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromecast/media/BUILD.gn
diff --git a/chromecast/media/BUILD.gn b/chromecast/media/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..65ba8fce302e1863b97ee8d8ccee3ef51afe1db8
--- /dev/null
+++ b/chromecast/media/BUILD.gn
@@ -0,0 +1,51 @@
+# Copyright 2015 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")
+
+component("media") {
brettw 2015/04/21 16:39:09 Make this a group unless you have a specific need
prashantv 2015/04/21 18:21:36 Done.
+ deps = [
+ "//chromecast/media/base",
+ "//chromecast/media/cdm",
+ "//chromecast/media/cma",
+ ]
+}
+
+test("unittests") {
+ sources = [
+ "//media/base",
+ "cma/backend/audio_video_pipeline_device_unittest.cc",
+ "cma/base/balanced_media_task_runner_unittest.cc",
+ "cma/base/buffering_controller_unittest.cc",
+ "cma/base/buffering_frame_provider_unittest.cc",
+ "cma/filters/demuxer_stream_adapter_unittest.cc",
+ "cma/ipc/media_message_fifo_unittest.cc",
+ "cma/ipc/media_message_unittest.cc",
+ "cma/ipc_streamer/av_streamer_unittest.cc",
+ "cma/pipeline/audio_video_pipeline_impl_unittest.cc",
+ "cma/test/frame_generator_for_test.cc",
+ "cma/test/frame_generator_for_test.h",
+ "cma/test/frame_segmenter_for_test.cc",
+ "cma/test/frame_segmenter_for_test.h",
+ "cma/test/media_component_device_feeder_for_test.cc",
+ "cma/test/media_component_device_feeder_for_test.h",
+ "cma/test/mock_frame_consumer.cc",
+ "cma/test/mock_frame_consumer.h",
+ "cma/test/mock_frame_provider.cc",
+ "cma/test/mock_frame_provider.h",
+ "cma/test/run_all_unittests.cc",
+ ]
+
brettw 2015/04/21 16:39:09 I would apply the config here.
prashantv 2015/04/21 18:21:36 Done.
+ deps = [
+ ":media",
+ "//base",
+ "//base:i18n",
+ "//base/test:test_support",
+ "//media",
+ "//chromecast/base/metrics:test_support",
+ "//media/base:test_support",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698