OLD | NEW |
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 27 matching lines...) Expand all Loading... |
38 ], | 38 ], |
39 }], | 39 }], |
40 ], | 40 ], |
41 }], | 41 }], |
42 ], | 42 ], |
43 }, | 43 }, |
44 # Always provide a target, so we can put the logic about whether there's | 44 # Always provide a target, so we can put the logic about whether there's |
45 # anything to be done in this file (instead of a higher-level .gyp file). | 45 # anything to be done in this file (instead of a higher-level .gyp file). |
46 'targets': [ | 46 'targets': [ |
47 { | 47 { |
48 'target_name': 'widevinecdmplugin', | 48 'target_name': 'widevinecdmadapter', |
49 'type': 'none', | 49 'type': 'none', |
50 'conditions': [ | 50 'conditions': [ |
51 [ 'branding == "Chrome"', { | 51 [ 'branding == "Chrome"', { |
52 'dependencies': [ | 52 'dependencies': [ |
53 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp', | 53 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp', |
54 'widevine_cdm_version_h', | 54 'widevine_cdm_version_h', |
55 'widevine_cdm_binaries', | 55 'widevine_cdm_binaries', |
56 ], | 56 ], |
57 'sources': [ | 57 'sources': [ |
58 '<(DEPTH)/webkit/media/crypto/ppapi/cdm_wrapper.cc', | 58 '<(DEPTH)/webkit/media/crypto/ppapi/cdm_wrapper.cc', |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 'type': 'none', | 104 'type': 'none', |
105 'copies': [{ | 105 'copies': [{ |
106 # TODO(ddorwin): Do we need a sub-directory? We either need a | 106 # TODO(ddorwin): Do we need a sub-directory? We either need a |
107 # sub-directory or to rename manifest.json before we can copy it. | 107 # sub-directory or to rename manifest.json before we can copy it. |
108 'destination': '<(PRODUCT_DIR)', | 108 'destination': '<(PRODUCT_DIR)', |
109 'files': [ '<@(widevine_cdm_binary_files)' ], | 109 'files': [ '<@(widevine_cdm_binary_files)' ], |
110 }], | 110 }], |
111 }, | 111 }, |
112 ], | 112 ], |
113 } | 113 } |
OLD | NEW |