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

Side by Side Diff: chrome/browser/media/router/BUILD.gn

Issue 1858783002: [Media Router] Move media_router.mojom to c/b/media/router/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to wez@ comment Created 4 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
« no previous file with comments | « no previous file | chrome/browser/media/router/media_router.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 5
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 gypi_values = exec_script("//build/gypi_to_gn.py", 9 gypi_values = exec_script("//build/gypi_to_gn.py",
10 [ rebase_path("media_router.gypi") ], 10 [ rebase_path("media_router.gypi") ],
11 "scope", 11 "scope",
12 [ "media_router.gypi" ]) 12 [ "media_router.gypi" ])
13 13
14 # TODO(mfoltz): Fix problem that requires explicitly listing //skia
15 static_library("router") { 14 static_library("router") {
16 deps = [ 15 deps = [
17 "//base", 16 "//base",
18 "//chrome/common:constants", 17 "//chrome/common:constants",
19 "//components/keyed_service/content", 18 "//components/keyed_service/content",
20 "//components/keyed_service/core", 19 "//components/keyed_service/core",
21 "//skia", 20 "//content/public/browser",
22 "//url", 21 "//url",
23 ] 22 ]
24 sources = rebase_path(gypi_values.media_router_sources, 23 sources = rebase_path(gypi_values.media_router_sources,
25 ".", 24 ".",
26 "//chrome/browser/media/router") 25 "//chrome/browser/media/router")
27 if (!is_android) { 26 if (!is_android) {
28 deps += [ 27 deps += [
29 ":mojo_bindings", 28 ":mojo_bindings",
30 "//extensions/browser", 29 "//extensions/browser",
31 "//mojo/public/cpp/bindings", 30 "//mojo/public/cpp/bindings",
32 ] 31 ]
33 sources += rebase_path(gypi_values.media_router_non_android_sources, 32 sources += rebase_path(gypi_values.media_router_non_android_sources,
34 ".", 33 ".",
35 "//chrome/browser/media/router") 34 "//chrome/browser/media/router")
36 } 35 }
37 } 36 }
38 37
39 mojom("mojo_bindings") { 38 mojom("mojo_bindings") {
40 sources = [ 39 sources = [
41 "media_router.mojom", 40 "mojo/media_router.mojom",
42 ] 41 ]
43 } 42 }
44 43
45 source_set("test_support") { 44 source_set("test_support") {
46 testonly = true 45 testonly = true
47 deps = [ 46 deps = [
48 ":router", 47 ":router",
49 "//chrome/test:test_support", 48 "//chrome/test:test_support",
50 "//testing/gmock", 49 "//testing/gmock",
51 ] 50 ]
52 sources = rebase_path(gypi_values.media_router_test_support_sources, 51 sources = rebase_path(gypi_values.media_router_test_support_sources,
53 ".", 52 ".",
54 "//chrome/browser/media/router") 53 "//chrome/browser/media/router")
55 if (!is_android) { 54 if (!is_android) {
56 deps += [ 55 deps += [
57 ":mojo_bindings", 56 ":mojo_bindings",
58 "//extensions/common", 57 "//extensions/common",
59 ] 58 ]
60 sources += 59 sources +=
61 rebase_path(gypi_values.media_router_non_android_test_support_sources, 60 rebase_path(gypi_values.media_router_non_android_test_support_sources,
62 ".", 61 ".",
63 "//chrome/browser/media/router") 62 "//chrome/browser/media/router")
64 } 63 }
65 } 64 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media/router/media_router.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698