| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 # This file defines a common base target for all CDM adapter implementations. | 5 # This file defines a common base target for all CDM adapter implementations. |
| 6 # We use 'direct_dependent_settings' to override target type and settings so | 6 # We use 'direct_dependent_settings' to override target type and settings so |
| 7 # that all CDM adapter implementations have the correct type and settings | 7 # that all CDM adapter implementations have the correct type and settings |
| 8 # automatically. | 8 # automatically. |
| 9 # | 9 # |
| 10 # WARNING: Keep 'cdmadapter' target out of media.gyp. /build/all.gyp:All depends | 10 # WARNING: Keep 'cdmadapter' target out of media.gyp. /build/all.gyp:All depends |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 'cdm/cdm_wrapper.h', | 29 'cdm/cdm_wrapper.h', |
| 30 'cdm/ppapi/ppapi_cdm_adapter.cc', | 30 'cdm/ppapi/ppapi_cdm_adapter.cc', |
| 31 'cdm/ppapi/ppapi_cdm_adapter.h', | 31 'cdm/ppapi/ppapi_cdm_adapter.h', |
| 32 'cdm/ppapi/cdm_file_io_impl.cc', | 32 'cdm/ppapi/cdm_file_io_impl.cc', |
| 33 'cdm/ppapi/cdm_file_io_impl.h', | 33 'cdm/ppapi/cdm_file_io_impl.h', |
| 34 'cdm/ppapi/cdm_helpers.cc', | 34 'cdm/ppapi/cdm_helpers.cc', |
| 35 'cdm/ppapi/cdm_helpers.h', | 35 'cdm/ppapi/cdm_helpers.h', |
| 36 'cdm/ppapi/cdm_logging.cc', | 36 'cdm/ppapi/cdm_logging.cc', |
| 37 'cdm/ppapi/cdm_logging.h', | 37 'cdm/ppapi/cdm_logging.h', |
| 38 'cdm/ppapi/linked_ptr.h', | 38 'cdm/ppapi/linked_ptr.h', |
| 39 'cdm/supported_cdm_versions.cc', |
| 39 'cdm/supported_cdm_versions.h', | 40 'cdm/supported_cdm_versions.h', |
| 40 ], | 41 ], |
| 41 'conditions': [ | 42 'conditions': [ |
| 42 ['os_posix == 1 and OS != "mac"', { | 43 ['os_posix == 1 and OS != "mac"', { |
| 43 'cflags': ['-fvisibility=hidden'], | 44 'cflags': ['-fvisibility=hidden'], |
| 44 'type': 'loadable_module', | 45 'type': 'loadable_module', |
| 45 # Allow the adapter to find the CDM in the same directory. | 46 # Allow the adapter to find the CDM in the same directory. |
| 46 'ldflags': ['-Wl,-rpath=\$$ORIGIN'], | 47 'ldflags': ['-Wl,-rpath=\$$ORIGIN'], |
| 47 }], | 48 }], |
| 48 ['OS == "win"', { | 49 ['OS == "win"', { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 63 'DYLIB_INSTALL_NAME_BASE': '@loader_path', | 64 'DYLIB_INSTALL_NAME_BASE': '@loader_path', |
| 64 }, | 65 }, |
| 65 }], | 66 }], |
| 66 ], | 67 ], |
| 67 }, | 68 }, |
| 68 }, | 69 }, |
| 69 ], | 70 ], |
| 70 }], | 71 }], |
| 71 ], | 72 ], |
| 72 } | 73 } |
| OLD | NEW |