| 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', |
| 109 ], | 110 ], |
| 110 'conditions': [ | 111 'conditions': [ |
| 111 ['os_posix==1 and OS!="mac"', { | 112 ['os_posix==1 and OS!="mac"', { |
| 112 'cflags': ['-fvisibility=hidden'], | 113 'cflags': ['-fvisibility=hidden'], |
| 113 'type': 'shared_library', | 114 'type': 'shared_library', |
| 114 # -gstabs, used in the official builds, causes an ICE. Simply remove | 115 # -gstabs, used in the official builds, causes an ICE. Simply remove |
| 115 # it. | 116 # it. |
| 116 'cflags!': ['-gstabs'], | 117 'cflags!': ['-gstabs'], |
| 117 }], | 118 }], |
| 118 ['OS=="win"', { | 119 ['OS=="win"', { |
| 119 'type': 'shared_library', | 120 'type': 'shared_library', |
| 120 }], | 121 }], |
| 121 ['OS=="mac"', { | 122 ['OS=="mac"', { |
| 122 'type': 'loadable_module', | 123 'type': 'loadable_module', |
| 123 'mac_bundle': 1, | 124 'mac_bundle': 1, |
| 124 'product_extension': 'plugin', | 125 'product_extension': 'plugin', |
| 125 'xcode_settings': { | 126 'xcode_settings': { |
| 126 'OTHER_LDFLAGS': [ | 127 'OTHER_LDFLAGS': [ |
| 127 # Not to strip important symbols by -Wl,-dead_strip. | 128 # Not to strip important symbols by -Wl,-dead_strip. |
| 128 '-Wl,-exported_symbol,_PPP_GetInterface', | 129 '-Wl,-exported_symbol,_PPP_GetInterface', |
| 129 '-Wl,-exported_symbol,_PPP_InitializeModule', | 130 '-Wl,-exported_symbol,_PPP_InitializeModule', |
| 130 '-Wl,-exported_symbol,_PPP_ShutdownModule' | 131 '-Wl,-exported_symbol,_PPP_ShutdownModule' |
| 131 ]}, | 132 ]}, |
| 132 }], | 133 }], |
| 133 ], | 134 ], |
| 134 } | 135 } |
| 135 ], | 136 ], |
| 136 } | 137 } |
| OLD | NEW |