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

Side by Side Diff: third_party/widevine/cdm/widevine_cdm.gyp

Issue 15028015: Conditionally build support for Pepper-based CDMs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use AppendAscii() where possible. Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 'widevine_cdm_version_h_file%': 'widevine_cdm_version.h', 7 'widevine_cdm_version_h_file%': 'widevine_cdm_version.h',
8 'widevine_cdm_binary_files%': [], 8 'widevine_cdm_binary_files%': [],
9 'conditions': [ 9 'conditions': [
10 [ 'branding == "Chrome"', { 10 [ 'branding == "Chrome"', {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 }], 42 }],
43 ], 43 ],
44 }, 44 },
45 # Always provide a target, so we can put the logic about whether there's 45 # Always provide a target, so we can put the logic about whether there's
46 # anything to be done in this file (instead of a higher-level .gyp file). 46 # anything to be done in this file (instead of a higher-level .gyp file).
47 'targets': [ 47 'targets': [
48 { 48 {
49 'target_name': 'widevinecdmadapter', 49 'target_name': 'widevinecdmadapter',
50 'type': 'none', 50 'type': 'none',
51 'conditions': [ 51 'conditions': [
52 [ 'branding == "Chrome" and OS != "android" and OS != "ios"', { 52 [ 'branding == "Chrome" and enable_pepper_cdms==1', {
53 'dependencies': [ 53 'dependencies': [
54 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp', 54 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp',
55 'widevine_cdm_version_h', 55 'widevine_cdm_version_h',
56 'widevine_cdm_binaries', 56 'widevine_cdm_binaries',
57 ], 57 ],
58 'sources': [ 58 'sources': [
59 '<(DEPTH)/webkit/media/crypto/ppapi/cdm_wrapper.cc', 59 '<(DEPTH)/webkit/media/crypto/ppapi/cdm_wrapper.cc',
60 '<(DEPTH)/webkit/media/crypto/ppapi/cdm/content_decryption_module.h' , 60 '<(DEPTH)/webkit/media/crypto/ppapi/cdm/content_decryption_module.h' ,
61 '<(DEPTH)/webkit/media/crypto/ppapi/linked_ptr.h', 61 '<(DEPTH)/webkit/media/crypto/ppapi/linked_ptr.h',
62 ], 62 ],
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 'type': 'none', 117 'type': 'none',
118 'copies': [{ 118 'copies': [{
119 # TODO(ddorwin): Do we need a sub-directory? We either need a 119 # TODO(ddorwin): Do we need a sub-directory? We either need a
120 # sub-directory or to rename manifest.json before we can copy it. 120 # sub-directory or to rename manifest.json before we can copy it.
121 'destination': '<(PRODUCT_DIR)', 121 'destination': '<(PRODUCT_DIR)',
122 'files': [ '<@(widevine_cdm_binary_files)' ], 122 'files': [ '<@(widevine_cdm_binary_files)' ],
123 }], 123 }],
124 }, 124 },
125 ], 125 ],
126 } 126 }
OLDNEW
« no previous file with comments | « content/browser/media/encrypted_media_browsertest.cc ('k') | third_party/widevine/cdm/widevine_cdm_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698