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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 97 ], | 97 ], |
| 98 }, | 98 }, |
| 99 { | 99 { |
| 100 'target_name': 'clearkeycdmplugin', | 100 'target_name': 'clearkeycdmplugin', |
| 101 'type': 'none', | 101 'type': 'none', |
| 102 'dependencies': [ | 102 'dependencies': [ |
| 103 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp', | 103 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp', |
| 104 'clearkeycdm', | 104 'clearkeycdm', |
| 105 ], | 105 ], |
| 106 'sources': [ | 106 'sources': [ |
| 107 'crypto/ppapi/cdm_allocator.h', | |
|
xhwang
2012/09/01 13:49:09
hmm, what's the rule to put interface header files
Tom Finegan
2012/09/01 21:32:49
I don't know the rule, but I like having the .h fi
| |
| 107 'crypto/ppapi/cdm_wrapper.cc', | 108 'crypto/ppapi/cdm_wrapper.cc', |
| 108 ], | 109 ], |
| 109 'conditions': [ | 110 'conditions': [ |
| 110 ['os_posix==1 and OS!="mac"', { | 111 ['os_posix==1 and OS!="mac"', { |
| 111 'cflags': ['-fvisibility=hidden'], | 112 'cflags': ['-fvisibility=hidden'], |
| 112 'type': 'shared_library', | 113 'type': 'shared_library', |
| 113 # -gstabs, used in the official builds, causes an ICE. Simply remove | 114 # -gstabs, used in the official builds, causes an ICE. Simply remove |
| 114 # it. | 115 # it. |
| 115 'cflags!': ['-gstabs'], | 116 'cflags!': ['-gstabs'], |
| 116 }], | 117 }], |
| 117 ['OS=="win"', { | 118 ['OS=="win"', { |
| 118 'type': 'shared_library', | 119 'type': 'shared_library', |
| 119 }], | 120 }], |
| 120 ['OS=="mac"', { | 121 ['OS=="mac"', { |
| 121 'type': 'loadable_module', | 122 'type': 'loadable_module', |
| 122 'mac_bundle': 1, | 123 'mac_bundle': 1, |
| 123 'product_extension': 'plugin', | 124 'product_extension': 'plugin', |
| 124 'xcode_settings': { | 125 'xcode_settings': { |
| 125 'OTHER_LDFLAGS': [ | 126 'OTHER_LDFLAGS': [ |
| 126 # Not to strip important symbols by -Wl,-dead_strip. | 127 # Not to strip important symbols by -Wl,-dead_strip. |
| 127 '-Wl,-exported_symbol,_PPP_GetInterface', | 128 '-Wl,-exported_symbol,_PPP_GetInterface', |
| 128 '-Wl,-exported_symbol,_PPP_InitializeModule', | 129 '-Wl,-exported_symbol,_PPP_InitializeModule', |
| 129 '-Wl,-exported_symbol,_PPP_ShutdownModule' | 130 '-Wl,-exported_symbol,_PPP_ShutdownModule' |
| 130 ]}, | 131 ]}, |
| 131 }], | 132 }], |
| 132 ], | 133 ], |
| 133 } | 134 } |
| 134 ], | 135 ], |
| 135 } | 136 } |
| OLD | NEW |