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

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

Issue 14789015: Build the Widevine CDM adapter on Win. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
« 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 [ 'os_posix == 1 and OS != "mac"', { 63 [ 'os_posix == 1 and OS != "mac"', {
64 'cflags': ['-fvisibility=hidden'], 64 'cflags': ['-fvisibility=hidden'],
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 'libraries': [ 68 'libraries': [
69 # Copied by widevine_cdm_binaries. 69 # Copied by widevine_cdm_binaries.
70 '<(PRODUCT_DIR)/libwidevinecdm.so', 70 '<(PRODUCT_DIR)/libwidevinecdm.so',
71 ], 71 ],
72 }], 72 }],
73 [ 'OS == "win" and 0', { 73 [ 'OS == "win"', {
74 'type': 'shared_library', 74 'type': 'shared_library',
75 # See http://crbug.com/237636.
76 'msvs_settings': {
77 'VCLinkerTool': {
78 'AdditionalOptions': [
79 '/FORCE:UNRESOLVED',
80 ],
81 },
82 },
75 }], 83 }],
76 [ 'OS == "mac"', { 84 [ 'OS == "mac"', {
77 'type': 'loadable_module', 85 'type': 'loadable_module',
78 'product_extension': 'plugin', 86 'product_extension': 'plugin',
79 'libraries': [ 87 'libraries': [
80 # Copied by widevine_cdm_binaries. 88 # Copied by widevine_cdm_binaries.
81 # See http://crbug.com/237636. 89 # See http://crbug.com/237636.
82 #'<(PRODUCT_DIR)/libwidevinecdm.dylib', 90 #'<(PRODUCT_DIR)/libwidevinecdm.dylib',
83 ], 91 ],
84 'xcode_settings': { 92 'xcode_settings': {
(...skipping 25 matching lines...) Expand all
110 'type': 'none', 118 'type': 'none',
111 'copies': [{ 119 'copies': [{
112 # TODO(ddorwin): Do we need a sub-directory? We either need a 120 # 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. 121 # sub-directory or to rename manifest.json before we can copy it.
114 'destination': '<(PRODUCT_DIR)', 122 'destination': '<(PRODUCT_DIR)',
115 'files': [ '<@(widevine_cdm_binary_files)' ], 123 'files': [ '<@(widevine_cdm_binary_files)' ],
116 }], 124 }],
117 }, 125 },
118 ], 126 ],
119 } 127 }
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