| 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'webkit_media', | 8 'target_name': 'webkit_media', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'variables': { 'enable_wexit_time_destructors': 1, }, | 10 'variables': { 'enable_wexit_time_destructors': 1, }, |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 }, | 99 }, |
| 100 { | 100 { |
| 101 'target_name': 'clearkeycdmplugin', | 101 'target_name': 'clearkeycdmplugin', |
| 102 'type': 'none', | 102 'type': 'none', |
| 103 'dependencies': [ | 103 'dependencies': [ |
| 104 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp', | 104 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp', |
| 105 'clearkeycdm', | 105 'clearkeycdm', |
| 106 ], | 106 ], |
| 107 'sources': [ | 107 'sources': [ |
| 108 'crypto/ppapi/cdm_wrapper.cc', | 108 'crypto/ppapi/cdm_wrapper.cc', |
| 109 'crypto/ppapi/content_decryption_module.h', |
| 110 'crypto/ppapi/linked_ptr.h', |
| 109 ], | 111 ], |
| 110 'conditions': [ | 112 'conditions': [ |
| 111 ['os_posix==1 and OS!="mac"', { | 113 ['os_posix==1 and OS!="mac"', { |
| 112 'cflags': ['-fvisibility=hidden'], | 114 'cflags': ['-fvisibility=hidden'], |
| 113 'type': 'shared_library', | 115 'type': 'shared_library', |
| 114 # -gstabs, used in the official builds, causes an ICE. Simply remove | 116 # -gstabs, used in the official builds, causes an ICE. Simply remove |
| 115 # it. | 117 # it. |
| 116 'cflags!': ['-gstabs'], | 118 'cflags!': ['-gstabs'], |
| 117 }], | 119 }], |
| 118 ['OS=="win"', { | 120 ['OS=="win"', { |
| 119 'type': 'shared_library', | 121 'type': 'shared_library', |
| 120 }], | 122 }], |
| 121 ['OS=="mac"', { | 123 ['OS=="mac"', { |
| 122 'type': 'loadable_module', | 124 'type': 'loadable_module', |
| 123 'mac_bundle': 1, | 125 'mac_bundle': 1, |
| 124 'product_extension': 'plugin', | 126 'product_extension': 'plugin', |
| 125 'xcode_settings': { | 127 'xcode_settings': { |
| 126 'OTHER_LDFLAGS': [ | 128 'OTHER_LDFLAGS': [ |
| 127 # Not to strip important symbols by -Wl,-dead_strip. | 129 # Not to strip important symbols by -Wl,-dead_strip. |
| 128 '-Wl,-exported_symbol,_PPP_GetInterface', | 130 '-Wl,-exported_symbol,_PPP_GetInterface', |
| 129 '-Wl,-exported_symbol,_PPP_InitializeModule', | 131 '-Wl,-exported_symbol,_PPP_InitializeModule', |
| 130 '-Wl,-exported_symbol,_PPP_ShutdownModule' | 132 '-Wl,-exported_symbol,_PPP_ShutdownModule' |
| 131 ]}, | 133 ]}, |
| 132 }], | 134 }], |
| 133 ], | 135 ], |
| 134 } | 136 } |
| 135 ], | 137 ], |
| 136 } | 138 } |
| OLD | NEW |