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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 'dependencies': [ | 76 'dependencies': [ |
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 { |
| 87 'target_name': 'ppapi_content_decryptor', |
| 88 'type': 'none', |
| 89 'dependencies': [ |
| 90 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp' |
| 91 ], |
| 92 'conditions': [ |
| 93 ['os_posix==1 and OS!="mac"', { |
| 94 'cflags': ['-fvisibility=hidden'], |
| 95 'type': 'shared_library', |
| 96 # -gstabs, used in the official builds, causes an ICE. Simply remove |
| 97 # it. |
| 98 'cflags!': ['-gstabs'], |
| 99 }], |
| 100 ['OS=="win"', { |
| 101 'type': 'shared_library', |
| 102 }], |
| 103 ['OS=="mac"', { |
| 104 'type': 'loadable_module', |
| 105 'mac_bundle': 1, |
| 106 'product_extension': 'plugin', |
| 107 'xcode_settings': { |
| 108 'OTHER_LDFLAGS': [ |
| 109 # Not to strip important symbols by -Wl,-dead_strip. |
| 110 '-Wl,-exported_symbol,_PPP_GetInterface', |
| 111 '-Wl,-exported_symbol,_PPP_InitializeModule', |
| 112 '-Wl,-exported_symbol,_PPP_ShutdownModule' |
| 113 ]}, |
| 114 }], |
| 115 ], |
| 116 'sources': [ |
| 117 'crypto/content_decryptor.cc', |
| 118 ], |
| 119 } |
86 ], | 120 ], |
87 } | 121 } |
OLD | NEW |