forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media: Make media mojo services a component
Previously media mojo services are in multiple small source_sets. This was okay when they are only depended by one target (i.e. content). But now we have multiple targets depending on them. For example, content and media/gpu both depend on cdm_services. This causes duplicate definition of some global veriables, e.g. g_cdm_manager in mojo_cdm_service.cc. TBR=jam@chromium.org BUG=610904 TEST=EME playback works. Review-Url: https://codereview.chromium.org/1968833002 Cr-Commit-Position: refs/heads/master@{#394323}
- Loading branch information
1 parent
29952fa
commit d3b5d3f
Showing
20 changed files
with
92 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Copyright 2016 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. | ||
|
||
#ifndef MEDIA_MOJO_MEDIA_MOJO_EXPORT_H_ | ||
#define MEDIA_MOJO_MEDIA_MOJO_EXPORT_H_ | ||
|
||
// Define MEDIA_MOJO_EXPORT so that functionality implemented by the | ||
// media/mojo module can be exported to consumers. | ||
|
||
#if defined(COMPONENT_BUILD) | ||
#if defined(WIN32) | ||
|
||
#if defined(MEDIA_MOJO_IMPLEMENTATION) | ||
#define MEDIA_MOJO_EXPORT __declspec(dllexport) | ||
#else | ||
#define MEDIA_MOJO_EXPORT __declspec(dllimport) | ||
#endif // defined(MEDIA_IMPLEMENTATION) | ||
|
||
#else // defined(WIN32) | ||
#if defined(MEDIA_MOJO_IMPLEMENTATION) | ||
#define MEDIA_MOJO_EXPORT __attribute__((visibility("default"))) | ||
#else | ||
#define MEDIA_MOJO_EXPORT | ||
#endif | ||
#endif | ||
|
||
#else // defined(COMPONENT_BUILD) | ||
#define MEDIA_MOJO_EXPORT | ||
#endif | ||
|
||
#endif // MEDIA_MOJO_MEDIA_MOJO_EXPORT_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.