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

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

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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 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
6 import("//mojo/public/tools/bindings/mojom.gni")
5 import("//testing/test.gni") 7 import("//testing/test.gni")
6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
7 8
8 gypi_values = exec_script("//build/gypi_to_gn.py", 9 gypi_values = exec_script("//build/gypi_to_gn.py",
9 [ rebase_path("media_router.gypi") ], 10 [ rebase_path("media_router.gypi") ],
10 "scope", 11 "scope",
11 [ "media_router.gypi" ]) 12 [ "media_router.gypi" ])
12 13
13 # TODO(mfoltz): Fix problem that requires explicitly listing //skia 14 # TODO(mfoltz): Fix problem that requires explicitly listing //skia
14 static_library("router") { 15 static_library("router") {
15 deps = [ 16 deps = [
16 "//base", 17 "//base",
17 "//chrome/common:constants", 18 "//chrome/common:constants",
18 "//components/keyed_service/content", 19 "//components/keyed_service/content",
19 "//components/keyed_service/core", 20 "//components/keyed_service/core",
20 "//skia", 21 "//skia",
21 "//url", 22 "//url",
22 ] 23 ]
23 sources = rebase_path(gypi_values.media_router_sources, 24 sources = rebase_path(gypi_values.media_router_sources,
24 ".", 25 ".",
25 "//chrome/browser/media/router") 26 "//chrome/browser/media/router")
26 if (!is_android) { 27 if (!is_android) {
27 deps += [ 28 deps += [
28 ":mojo_bindings", 29 ":mojo_bindings",
29 "//extensions/browser", 30 "//extensions/browser",
30 "//third_party/mojo/src/mojo/public/cpp/bindings", 31 "//mojo/public/cpp/bindings",
31 ] 32 ]
32 sources += rebase_path(gypi_values.media_router_non_android_sources, 33 sources += rebase_path(gypi_values.media_router_non_android_sources,
33 ".", 34 ".",
34 "//chrome/browser/media/router") 35 "//chrome/browser/media/router")
35 } 36 }
36 } 37 }
37 38
38 mojom("mojo_bindings") { 39 mojom("mojo_bindings") {
39 sources = [ 40 sources = [
40 "media_router.mojom", 41 "media_router.mojom",
41 ] 42 ]
42 } 43 }
43 44
44 source_set("test_support") { 45 source_set("test_support") {
45 testonly = true 46 testonly = true
46 deps = [ 47 deps = [
47 ":mojo_bindings", 48 ":mojo_bindings",
48 ":router", 49 ":router",
49 "//chrome/test:test_support", 50 "//chrome/test:test_support",
50 "//testing/gmock", 51 "//testing/gmock",
51 ] 52 ]
52 sources = rebase_path(gypi_values.media_router_test_support_sources, 53 sources = rebase_path(gypi_values.media_router_test_support_sources,
53 ".", 54 ".",
54 "//chrome/browser/media/router") 55 "//chrome/browser/media/router")
55 } 56 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/attestation/platform_verification_impl.h ('k') | chrome/browser/media/router/media_router_mojo_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698