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

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

Issue 12217144: Fix CDM gyp to exclude x64 ChromeOS build from using a CDM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « no previous file | 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 '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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 'type': 'loadable_module', 65 'type': 'loadable_module',
66 # Allow the plugin wrapper to find the CDM in the same directory. 66 # Allow the plugin wrapper to find the CDM in the same directory.
67 'ldflags': ['-Wl,-rpath=\$$ORIGIN'], 67 'ldflags': ['-Wl,-rpath=\$$ORIGIN'],
68 }], 68 }],
69 [ 'chromeos == 1 and target_arch == "arm"', { 69 [ 'chromeos == 1 and target_arch == "arm"', {
70 'libraries': [ 70 'libraries': [
71 # Copied by widevine_cdm_binaries. 71 # Copied by widevine_cdm_binaries.
72 '<(PRODUCT_DIR)/libwidevinecdm.so', 72 '<(PRODUCT_DIR)/libwidevinecdm.so',
73 ], 73 ],
74 }], 74 }],
75 [ 'OS == "linux" and target_arch == "x64"', { 75 [ 'chromeos == 0 and OS == "linux" and target_arch == "x64"', {
76 'libraries': [ 76 'libraries': [
77 # Copied by widevine_cdm_binaries. 77 # Copied by widevine_cdm_binaries.
78 '<(PRODUCT_DIR)/libwidevinecdm.so', 78 '<(PRODUCT_DIR)/libwidevinecdm.so',
79 ], 79 ],
80 }], 80 }],
81 [ 'OS == "win" and 0', { 81 [ 'OS == "win" and 0', {
82 'type': 'shared_library', 82 'type': 'shared_library',
83 }], 83 }],
84 [ 'OS == "mac" and 0', { 84 [ 'OS == "mac" and 0', {
85 'type': 'loadable_module', 85 'type': 'loadable_module',
(...skipping 24 matching lines...) Expand all
110 'type': 'none', 110 'type': 'none',
111 'copies': [{ 111 'copies': [{
112 # TODO(ddorwin): Do we need a sub-directory? We either need a 112 # TODO(ddorwin): Do we need a sub-directory? We either need a
113 # sub-directory or to rename manifest.json before we can copy it. 113 # sub-directory or to rename manifest.json before we can copy it.
114 'destination': '<(PRODUCT_DIR)', 114 'destination': '<(PRODUCT_DIR)',
115 'files': [ '<@(widevine_cdm_binary_files)' ], 115 'files': [ '<@(widevine_cdm_binary_files)' ],
116 }], 116 }],
117 }, 117 },
118 ], 118 ],
119 } 119 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698