1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
# 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.
{
'includes': [
'media_router.gypi',
],
'targets': [
{
# GN version: //chrome/browser/media/router:router
'target_name': 'media_router',
'type': 'static_library',
'include_dirs': [
'<(DEPTH)',
'<(DEPTH)/third_party/mojo/src',
],
'dependencies': [
# media_router_type_converters.h needs the generated file.
'media_router_mojo_gen',
'media_router_mojo',
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/chrome/common_constants.gyp:common_constants',
'<(DEPTH)/components/components.gyp:keyed_service_content',
'<(DEPTH)/components/components.gyp:keyed_service_core',
'<(DEPTH)/extensions/extensions.gyp:extensions_browser',
'<(DEPTH)/skia/skia.gyp:skia',
'<(DEPTH)/url/url.gyp:url_lib',
],
'sources': [
'<@(media_router_sources)',
],
},
{
# Mojo compiler for the Media Router internal API.
'target_name': 'media_router_mojo_gen',
'type': 'none',
'sources': [
'media_router.mojom',
],
'includes': [
'../../../../third_party/mojo/mojom_bindings_generator.gypi',
],
},
{
'target_name': 'media_router_mojo',
'type': 'static_library',
'include_dirs': [
'<(DEPTH)/third_party/mojo/src',
],
'dependencies': [
'media_router_mojo_gen',
],
'sources': [
'<(SHARED_INTERMEDIATE_DIR)/chrome/browser/media/router/media_router.mojom.cc',
'<(SHARED_INTERMEDIATE_DIR)/chrome/browser/media/router/media_router.mojom.h',
],
},
{
# GN version: //chrome/browser/media/router:test_support
'target_name': 'media_router_test_support',
'type': 'static_library',
'include_dirs': [
'<(DEPTH)',
'<(DEPTH)/third_party/mojo/src',
],
'dependencies': [
'media_router',
'media_router_mojo',
'media_router_mojo_gen',
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/testing/gmock.gyp:gmock',
],
'sources': [
'<@(media_router_test_support_sources)',
],
},
],
}
|