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

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

Issue 23558014: Fix build break for GTV (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 | « 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 21 matching lines...) Expand all
32 }], 32 }],
33 [ 'OS == "win"', { 33 [ 'OS == "win"', {
34 'widevine_cdm_version_h_file%': 34 'widevine_cdm_version_h_file%':
35 'symbols/win/<(target_arch)/widevine_cdm_version.h', 35 'symbols/win/<(target_arch)/widevine_cdm_version.h',
36 'widevine_cdm_binary_files%': [ 36 'widevine_cdm_binary_files%': [
37 'binaries/win/<(target_arch)/widevinecdm.dll', 37 'binaries/win/<(target_arch)/widevinecdm.dll',
38 'binaries/win/<(target_arch)/widevinecdm.dll.lib', 38 'binaries/win/<(target_arch)/widevinecdm.dll.lib',
39 ], 39 ],
40 }], 40 }],
41 # TODO(xhwang): Enable this for non-Chrome build if necessary. 41 # TODO(xhwang): Enable this for non-Chrome build if necessary.
42 [ 'OS == "android"', { 42 [ 'OS == "android" and google_tv != 1', {
43 'widevine_cdm_version_h_file%': 43 'widevine_cdm_version_h_file%':
44 'android/widevine_cdm_version.h', 44 'android/widevine_cdm_version.h',
45 }], 45 }],
46 ], 46 ],
47 }], 47 }],
48 ], 48 ],
49 }, 49 },
50 # Always provide a target, so we can put the logic about whether there's 50 # Always provide a target, so we can put the logic about whether there's
51 # anything to be done in this file (instead of a higher-level .gyp file). 51 # anything to be done in this file (instead of a higher-level .gyp file).
52 'targets': [ 52 'targets': [
53 { 53 {
54 'target_name': 'widevinecdmadapter', 54 'target_name': 'widevinecdmadapter',
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 ], 126 ],
127 'copies': [{ 127 'copies': [{
128 # TODO(ddorwin): Do we need a sub-directory? We either need a 128 # TODO(ddorwin): Do we need a sub-directory? We either need a
129 # sub-directory or to rename manifest.json before we can copy it. 129 # sub-directory or to rename manifest.json before we can copy it.
130 'destination': '<(PRODUCT_DIR)', 130 'destination': '<(PRODUCT_DIR)',
131 'files': [ '<@(widevine_cdm_binary_files)' ], 131 'files': [ '<@(widevine_cdm_binary_files)' ],
132 }], 132 }],
133 }, 133 },
134 ], 134 ],
135 } 135 }
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