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

Unified Diff: components/encrypted_media.gypi

Issue 253593002: Componentize EncryptedMediaMessageFilter and rename it CdmMessageFilter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Componetized EncryptedMediaMessageFilter. Created 6 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 side-by-side diff with in-line comments
Download patch
Index: components/encrypted_media.gypi
diff --git a/components/encrypted_media.gypi b/components/encrypted_media.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..4d80ac416b5ea3db7ce96bbf4cada59bb89b7618
--- /dev/null
+++ b/components/encrypted_media.gypi
@@ -0,0 +1,61 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
ddorwin 2014/05/02 01:12:58 "encrypted_media" seems like a very specific name.
xhwang 2014/05/02 01:18:44 cdm sgtm. we already have src/media/cdm folder.
ycheo (away) 2014/05/02 01:39:34 Thanks for suggesting good component name. The onl
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'encrypted_media_common',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../content/content.gyp:content_common',
+ '../ipc/ipc.gyp:ipc',
+ ],
+ 'sources': [
+ 'encrypted_media/common/encrypted_media_message_generator.cc',
+ 'encrypted_media/common/encrypted_media_message_generator.h',
+ 'encrypted_media/common/encrypted_media_messages_android.h',
+ ],
+ },
+ {
+ 'target_name': 'encrypted_media_browser',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'encrypted_media_common',
+ '../base/base.gyp:base',
+ '../content/content.gyp:content_browser',
+ '../content/content.gyp:content_common',
+ ],
+ 'sources': [
+ 'encrypted_media/browser/encrypted_media_message_filter_android.cc',
+ 'encrypted_media/browser/encrypted_media_message_filter_android.h',
+ ],
+ },
+ ],
+ 'conditions': [
+ ['OS != "ios"', {
+ 'targets': [
+ {
+ 'target_name': 'encrypted_media_renderer',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'encrypted_media_common',
+ '../base/base.gyp:base',
+ '../content/content.gyp:content_common',
+ '../content/content.gyp:content_renderer',
+ '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
+ ],
+ 'include_dirs': [
+ # Needed by widevine_key_systems.cc.
+ '<(SHARED_INTERMEDIATE_DIR)',
+ ],
+ 'sources': [
+ 'encrypted_media/renderer/widevine_key_systems.cc',
+ 'encrypted_media/renderer/widevine_key_systems.h',
+ ],
+ },
+ ],
+ }],
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698