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

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

Issue 2136983002: Bundle fake Widevine component manifest for stub CDM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chrome branding doesn't imply enable_widevine. Tune stub manifest Created 4 years, 5 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
« chrome/BUILD.gn ('K') | « third_party/widevine/cdm/stub/manifest.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # Allow widevinecdmadapter to be built in Chromium. 7 # Allow widevinecdmadapter to be built in Chromium.
8 'variables': { 8 'variables': {
9 'enable_widevine%': 0, 9 'enable_widevine%': 0,
10 }, 10 },
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 [ 'OS == "android"', { 55 [ 'OS == "android"', {
56 'widevine_cdm_version_h_file%': 56 'widevine_cdm_version_h_file%':
57 'android/widevine_cdm_version.h', 57 'android/widevine_cdm_version.h',
58 }], 58 }],
59 [ 'branding != "Chrome" and OS != "android" and enable_widevine == 1', { 59 [ 'branding != "Chrome" and OS != "android" and enable_widevine == 1', {
60 # If enable_widevine==1 then create a dummy widevinecdm. On Win/Mac 60 # If enable_widevine==1 then create a dummy widevinecdm. On Win/Mac
61 # the component updater will get the latest version and use it. 61 # the component updater will get the latest version and use it.
62 # Other systems are not currently supported. 62 # Other systems are not currently supported.
63 'widevine_cdm_version_h_file%': 63 'widevine_cdm_version_h_file%':
64 'stub/widevine_cdm_version.h', 64 'stub/widevine_cdm_version.h',
65 'widevine_cdm_manifest_file%': [
66 'stub/manifest.json',
67 ],
65 }], 68 }],
66 ], 69 ],
67 }, 70 },
68 'includes': [ 71 'includes': [
69 '../../../build/util/version.gypi', 72 '../../../build/util/version.gypi',
70 '../../../media/cdm_paths.gypi', 73 '../../../media/cdm_paths.gypi',
71 ], 74 ],
72 # Always provide a target, so we can put the logic about whether there's 75 # Always provide a target, so we can put the logic about whether there's
73 # anything to be done in this file (instead of a higher-level .gyp file). 76 # anything to be done in this file (instead of a higher-level .gyp file).
74 'targets': [ 77 'targets': [
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 'conditions': [ 236 'conditions': [
234 [ 'branding == "Chrome" and OS == "linux"', { 237 [ 'branding == "Chrome" and OS == "linux"', {
235 'dependencies': [ 238 'dependencies': [
236 '<(DEPTH)/third_party/widevine/test/license_server/license_server.gy p:test_license_server', 239 '<(DEPTH)/third_party/widevine/test/license_server/license_server.gy p:test_license_server',
237 ], 240 ],
238 }], 241 }],
239 ], 242 ],
240 }, 243 },
241 ], 244 ],
242 } 245 }
OLDNEW
« chrome/BUILD.gn ('K') | « third_party/widevine/cdm/stub/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698