| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 '<(DEPTH)/media/media.gyp:player_android', | 77 '<(DEPTH)/media/media.gyp:player_android', |
| 78 ], | 78 ], |
| 79 }, { # OS != "android"' | 79 }, { # OS != "android"' |
| 80 'sources/': [ | 80 'sources/': [ |
| 81 ['exclude', '^android/'], | 81 ['exclude', '^android/'], |
| 82 ], | 82 ], |
| 83 }], | 83 }], |
| 84 ], | 84 ], |
| 85 }, | 85 }, |
| 86 { | 86 { |
| 87 'target_name': 'ppapi_cdm_wrapper', | 87 'target_name': 'clearkeycdm', |
| 88 'type': 'shared_library', |
| 89 'defines': ['CDM_IMPLEMENTATION'], |
| 90 'dependencies': [ |
| 91 '<(DEPTH)/base/base.gyp:base', |
| 92 '<(DEPTH)/media/media.gyp:media' |
| 93 ], |
| 94 'sources': [ |
| 95 'crypto/ppapi/clear_key_cdm.cc', |
| 96 'crypto/ppapi/clear_key_cdm.h', |
| 97 ], |
| 98 }, |
| 99 { |
| 100 'target_name': 'clearkeycdmplugin', |
| 88 'type': 'none', | 101 'type': 'none', |
| 89 'dependencies': [ | 102 'dependencies': [ |
| 90 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp' | 103 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp', |
| 104 'clearkeycdm', |
| 105 ], |
| 106 'sources': [ |
| 107 'crypto/ppapi/cdm_wrapper.cc', |
| 91 ], | 108 ], |
| 92 'conditions': [ | 109 'conditions': [ |
| 93 ['os_posix==1 and OS!="mac"', { | 110 ['os_posix==1 and OS!="mac"', { |
| 94 'cflags': ['-fvisibility=hidden'], | 111 'cflags': ['-fvisibility=hidden'], |
| 95 'type': 'shared_library', | 112 'type': 'shared_library', |
| 96 # -gstabs, used in the official builds, causes an ICE. Simply remove | 113 # -gstabs, used in the official builds, causes an ICE. Simply remove |
| 97 # it. | 114 # it. |
| 98 'cflags!': ['-gstabs'], | 115 'cflags!': ['-gstabs'], |
| 99 }], | 116 }], |
| 100 ['OS=="win"', { | 117 ['OS=="win"', { |
| 101 'type': 'shared_library', | 118 'type': 'shared_library', |
| 102 }], | 119 }], |
| 103 ['OS=="mac"', { | 120 ['OS=="mac"', { |
| 104 'type': 'loadable_module', | 121 'type': 'loadable_module', |
| 105 'mac_bundle': 1, | 122 'mac_bundle': 1, |
| 106 'product_extension': 'plugin', | 123 'product_extension': 'plugin', |
| 107 'xcode_settings': { | 124 'xcode_settings': { |
| 108 'OTHER_LDFLAGS': [ | 125 'OTHER_LDFLAGS': [ |
| 109 # Not to strip important symbols by -Wl,-dead_strip. | 126 # Not to strip important symbols by -Wl,-dead_strip. |
| 110 '-Wl,-exported_symbol,_PPP_GetInterface', | 127 '-Wl,-exported_symbol,_PPP_GetInterface', |
| 111 '-Wl,-exported_symbol,_PPP_InitializeModule', | 128 '-Wl,-exported_symbol,_PPP_InitializeModule', |
| 112 '-Wl,-exported_symbol,_PPP_ShutdownModule' | 129 '-Wl,-exported_symbol,_PPP_ShutdownModule' |
| 113 ]}, | 130 ]}, |
| 114 }], | 131 }], |
| 115 ], | 132 ], |
| 116 'sources': [ | |
| 117 'crypto/ppapi/cdm_wrapper.cc', | |
| 118 ], | |
| 119 } | 133 } |
| 120 ], | 134 ], |
| 121 } | 135 } |
| OLD | NEW |