Chromium Code Reviews| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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': 'ppapi_cdm_wrapper', |
| 88 'type': 'static_library', | |
| 89 'dependencies': [ | |
| 90 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp', | |
| 91 ], | |
| 92 'sources': [ | |
| 93 'crypto/ppapi/cdm_wrapper.cc', | |
| 94 ], | |
| 95 }, | |
| 96 { | |
| 97 'target_name': 'clearkeycdm', | |
| 98 'type': 'shared_library', | |
| 99 'defines': ['CDM_IMPLEMENTATION'], | |
| 100 'dependencies': [ | |
| 101 '<(DEPTH)/base/base.gyp:base', | |
| 102 '<(DEPTH)/media/media.gyp:media' | |
| 103 ], | |
| 104 'sources': [ | |
| 105 'crypto/clear_key_cdm.cc', | |
| 106 'crypto/clear_key_cdm.h', | |
| 107 ], | |
| 108 }, | |
| 109 { | |
| 110 'target_name': 'clearkeycdmplugin', | |
|
xhwang
2012/08/20 21:09:45
How do you like this name? Doesn't seem perfect fo
ddorwin
2012/08/20 21:27:07
Fine.
| |
| 88 'type': 'none', | 111 'type': 'none', |
| 89 'dependencies': [ | 112 'dependencies': [ |
| 90 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp' | 113 'ppapi_cdm_wrapper', |
| 114 'clearkeycdm', | |
| 91 ], | 115 ], |
| 92 'conditions': [ | 116 'conditions': [ |
| 93 ['os_posix==1 and OS!="mac"', { | 117 ['os_posix==1 and OS!="mac"', { |
| 94 'cflags': ['-fvisibility=hidden'], | 118 'cflags': ['-fvisibility=hidden'], |
| 95 'type': 'shared_library', | 119 'type': 'shared_library', |
| 96 # -gstabs, used in the official builds, causes an ICE. Simply remove | 120 # -gstabs, used in the official builds, causes an ICE. Simply remove |
| 97 # it. | 121 # it. |
| 98 'cflags!': ['-gstabs'], | 122 'cflags!': ['-gstabs'], |
| 99 }], | 123 }], |
| 100 ['OS=="win"', { | 124 ['OS=="win"', { |
| 101 'type': 'shared_library', | 125 'type': 'shared_library', |
| 102 }], | 126 }], |
| 103 ['OS=="mac"', { | 127 ['OS=="mac"', { |
| 104 'type': 'loadable_module', | 128 'type': 'loadable_module', |
| 105 'mac_bundle': 1, | 129 'mac_bundle': 1, |
| 106 'product_extension': 'plugin', | 130 'product_extension': 'plugin', |
| 107 'xcode_settings': { | 131 'xcode_settings': { |
| 108 'OTHER_LDFLAGS': [ | 132 'OTHER_LDFLAGS': [ |
| 109 # Not to strip important symbols by -Wl,-dead_strip. | 133 # Not to strip important symbols by -Wl,-dead_strip. |
| 110 '-Wl,-exported_symbol,_PPP_GetInterface', | 134 '-Wl,-exported_symbol,_PPP_GetInterface', |
| 111 '-Wl,-exported_symbol,_PPP_InitializeModule', | 135 '-Wl,-exported_symbol,_PPP_InitializeModule', |
| 112 '-Wl,-exported_symbol,_PPP_ShutdownModule' | 136 '-Wl,-exported_symbol,_PPP_ShutdownModule' |
| 113 ]}, | 137 ]}, |
| 114 }], | 138 }], |
| 115 ], | 139 ], |
| 116 'sources': [ | |
| 117 'crypto/ppapi/cdm_wrapper.cc', | |
| 118 ], | |
| 119 } | 140 } |
| 120 ], | 141 ], |
| 121 } | 142 } |
| OLD | NEW |