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

Side by Side Diff: third_party/widevine/cdm/BUILD.gn

Issue 2136983002: Bundle fake Widevine component manifest for stub CDM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 3 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
« no previous file with comments | « chrome/BUILD.gn ('k') | third_party/widevine/cdm/stub/manifest.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//chrome/version.gni") # TODO layering violation 7 import("//chrome/version.gni") # TODO layering violation
8 import("//media/cdm/ppapi/cdm_paths.gni") 8 import("//media/cdm/ppapi/cdm_paths.gni")
9 import("//media/cdm/ppapi/ppapi_cdm_adapter.gni") 9 import("//media/cdm/ppapi/ppapi_cdm_adapter.gni")
10 import("//third_party/widevine/cdm/widevine.gni") 10 import("//third_party/widevine/cdm/widevine.gni")
(...skipping 27 matching lines...) Expand all
38 } else if (is_mac) { 38 } else if (is_mac) {
39 widevine_cdm_version_h_file = "mac/$widevine_arch/widevine_cdm_version.h" 39 widevine_cdm_version_h_file = "mac/$widevine_arch/widevine_cdm_version.h"
40 widevine_cdm_binary_files = [ "mac/$widevine_arch/libwidevinecdm.dylib" ] 40 widevine_cdm_binary_files = [ "mac/$widevine_arch/libwidevinecdm.dylib" ]
41 widevine_cdm_manifest_file = [ "mac/$widevine_arch/manifest.json" ] 41 widevine_cdm_manifest_file = [ "mac/$widevine_arch/manifest.json" ]
42 } else { 42 } else {
43 # Other platforms, use the default one. 43 # Other platforms, use the default one.
44 widevine_cdm_version_h_file = "widevine_cdm_version.h" 44 widevine_cdm_version_h_file = "widevine_cdm_version.h"
45 } 45 }
46 } else if (enable_widevine) { 46 } else if (enable_widevine) {
47 widevine_cdm_version_h_file = "stub/widevine_cdm_version.h" 47 widevine_cdm_version_h_file = "stub/widevine_cdm_version.h"
48 widevine_cdm_manifest_file = [ "stub/manifest.json" ]
48 } else { 49 } else {
49 # No branding, use the default one. 50 # No branding, use the default one.
50 widevine_cdm_version_h_file = "widevine_cdm_version.h" 51 widevine_cdm_version_h_file = "widevine_cdm_version.h"
51 } 52 }
52 53
53 # GYP version: third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h 54 # GYP version: third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h
54 copy("version_h") { 55 copy("version_h") {
55 sources = [ 56 sources = [
56 widevine_cdm_version_h_file, 57 widevine_cdm_version_h_file,
57 ] 58 ]
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 # on the license server. 176 # on the license server.
176 source_set("widevine_test_license_server") { 177 source_set("widevine_test_license_server") {
177 if (is_chrome_branded && is_linux) { 178 if (is_chrome_branded && is_linux) {
178 deps = [ 179 deps = [
179 # TODO(jrummell) 180 # TODO(jrummell)
180 # This target should be removed and targets should have data_deps on this target: 181 # This target should be removed and targets should have data_deps on this target:
181 #"//third_party/widevine/test/license_server/license_server.gyp:test_licen se_server" 182 #"//third_party/widevine/test/license_server/license_server.gyp:test_licen se_server"
182 ] 183 ]
183 } 184 }
184 } 185 }
OLDNEW
« no previous file with comments | « chrome/BUILD.gn ('k') | third_party/widevine/cdm/stub/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698