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