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

Side by Side Diff: chrome/common/media_router/BUILD.gn

Issue 2771413003: Move c/b/media/router/mojo/*.mojom to chrome/common/media_router/mojo/*.mojom (Closed)
Patch Set: Rebase Created 3 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 unified diff | Download patch
OLDNEW
1 # Copyright 2017 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//mojo/public/tools/bindings/mojom.gni") 5 static_library("router") {
6 6 public_deps = [
7 mojom("interfaces") { 7 "mojo:media_controller",
8 sources = [ 8 "//base:base",
9 "dial_device_description_parser.mojom", 9 "//base:i18n",
10 "//net:net",
11 "//third_party/icu",
12 "//url:url",
10 ] 13 ]
11 14
15 sources = [
16 "discovery/media_sink_internal.cc",
17 "discovery/media_sink_internal.h",
18 "issue.cc",
19 "issue.h",
20 "media_route.cc",
21 "media_route.h",
22 "media_sink.cc",
23 "media_sink.h",
24 "media_source.cc",
25 "media_source.h",
26 "media_source_helper.cc",
27 "media_source_helper.h",
28 "media_status.cc",
29 "media_status.h",
30 "route_message.cc",
31 "route_message.h",
32 "route_request_result.cc",
33 "route_request_result.h",
34 ]
35
36 if (!is_android) {
37 public_deps += [ "mojo:media_router" ]
38 }
39 }
40
41 source_set("unit_tests") {
42 testonly = true
12 public_deps = [ 43 public_deps = [
13 "//mojo/common:common_custom_types", 44 ":router",
45 "//base/test:test_support",
46 "//testing/gmock",
47 "//testing/gtest",
48 "//third_party/icu",
14 ] 49 ]
50
51 sources = [
52 "discovery/media_sink_internal_unittest.cc",
53 "issue_unittest.cc",
54 "media_route_unittest.cc",
55 "media_sink_unittest.cc",
56 "media_source_helper_unittest.cc",
57 "media_source_unittest.cc",
58 ]
59
60 if (!is_android) {
61 public_deps += [ "mojo:media_router_test_interfaces" ]
62 sources += [ "mojo/media_router_struct_traits_unittest.cc" ]
63 }
15 } 64 }
OLDNEW
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/common/media_router/OWNERS » ('j') | chrome/test/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698