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
3 # found in the LICENSE file.
11 # GN version: //chrome/browser/media/router:router
12 'target_name': 'media_router',
13 'type': 'static_library',
18 '<(DEPTH)/base/base.gyp:base',
19 '<(DEPTH)/chrome/common_constants.gyp:common_constants',
20 '<(DEPTH)/components/components.gyp:keyed_service_content',
21 '<(DEPTH)/components/components.gyp:keyed_service_core',
22 '<(DEPTH)/skia/skia.gyp:skia',
23 '<(DEPTH)/url/url.gyp:url_lib',
26 '<@(media_router_sources)',
29 [ 'OS!="android" and OS!="ios"', {
31 '<(DEPTH)/third_party/mojo/src',
34 # media_router_type_converters.h needs the generated file.
35 'media_router_mojo_gen',
37 '<(DEPTH)/extensions/extensions.gyp:extensions_browser',
40 '<@(media_router_non_android_sources)',
46 # Mojo compiler for the Media Router internal API.
47 'target_name': 'media_router_mojo_gen',
53 '../../../../third_party/mojo/mojom_bindings_generator.gypi',
57 'target_name': 'media_router_mojo',
58 'type': 'static_library',
60 '<(DEPTH)/third_party/mojo/src',
63 'media_router_mojo_gen',
66 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/media/router/media_router.mojom.cc',
67 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/media/router/media_router.mojom.h',
71 # GN version: //chrome/browser/media/router:test_support
72 'target_name': 'media_router_test_support',
73 'type': 'static_library',
76 '<(DEPTH)/third_party/mojo/src',
81 'media_router_mojo_gen',
82 '<(DEPTH)/base/base.gyp:base',
83 '<(DEPTH)/testing/gmock.gyp:gmock',
86 '<@(media_router_test_support_sources)',