| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp', | 58 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp', |
| 59 'widevine_cdm_version_h', | 59 'widevine_cdm_version_h', |
| 60 'widevine_cdm_binaries', | 60 'widevine_cdm_binaries', |
| 61 ], | 61 ], |
| 62 'sources': [ | 62 'sources': [ |
| 63 '<(DEPTH)/media/cdm/ppapi/api/content_decryption_module.h', | 63 '<(DEPTH)/media/cdm/ppapi/api/content_decryption_module.h', |
| 64 '<(DEPTH)/media/cdm/ppapi/cdm_adapter.cc', | 64 '<(DEPTH)/media/cdm/ppapi/cdm_adapter.cc', |
| 65 '<(DEPTH)/media/cdm/ppapi/cdm_adapter.h', | 65 '<(DEPTH)/media/cdm/ppapi/cdm_adapter.h', |
| 66 '<(DEPTH)/media/cdm/ppapi/cdm_helpers.cc', | 66 '<(DEPTH)/media/cdm/ppapi/cdm_helpers.cc', |
| 67 '<(DEPTH)/media/cdm/ppapi/cdm_helpers.h', | 67 '<(DEPTH)/media/cdm/ppapi/cdm_helpers.h', |
| 68 '<(DEPTH)/media/cdm/ppapi/cdm_wrapper.h', |
| 68 '<(DEPTH)/media/cdm/ppapi/linked_ptr.h', | 69 '<(DEPTH)/media/cdm/ppapi/linked_ptr.h', |
| 69 ], | 70 ], |
| 70 'conditions': [ | 71 'conditions': [ |
| 71 [ 'os_posix == 1 and OS != "mac"', { | 72 [ 'os_posix == 1 and OS != "mac"', { |
| 72 'cflags': ['-fvisibility=hidden'], | 73 'cflags': ['-fvisibility=hidden'], |
| 73 'type': 'loadable_module', | 74 'type': 'loadable_module', |
| 74 # Allow the plugin adapter to find the CDM in the same directory. | 75 # Allow the plugin adapter to find the CDM in the same directory. |
| 75 'ldflags': ['-Wl,-rpath=\$$ORIGIN'], | 76 'ldflags': ['-Wl,-rpath=\$$ORIGIN'], |
| 76 'libraries': [ | 77 'libraries': [ |
| 77 # Copied by widevine_cdm_binaries. | 78 # Copied by widevine_cdm_binaries. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 ], | 129 ], |
| 129 'copies': [{ | 130 'copies': [{ |
| 130 # TODO(ddorwin): Do we need a sub-directory? We either need a | 131 # TODO(ddorwin): Do we need a sub-directory? We either need a |
| 131 # sub-directory or to rename manifest.json before we can copy it. | 132 # sub-directory or to rename manifest.json before we can copy it. |
| 132 'destination': '<(PRODUCT_DIR)', | 133 'destination': '<(PRODUCT_DIR)', |
| 133 'files': [ '<@(widevine_cdm_binary_files)' ], | 134 'files': [ '<@(widevine_cdm_binary_files)' ], |
| 134 }], | 135 }], |
| 135 }, | 136 }, |
| 136 ], | 137 ], |
| 137 } | 138 } |
| OLD | NEW |