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/ppapi_internal.gyp:ppapi_shared', | |
87 '<(DEPTH)/ppapi/../base/base.gyp:base', | |
dmichael (off chromium)
2012/07/31 03:36:31
As noted elsewhere, if this is more like a "plugin
Tom Finegan
2012/08/01 04:19:22
Noted-- we'll loop in more reviewers as needed. I
| |
88 ], | |
89 'conditions': [ | |
90 ['os_posix==1 and OS!="mac"', { | |
91 'cflags': ['-fvisibility=hidden'], | |
92 'type': 'shared_library', | |
93 # -gstabs, used in the official builds, causes an ICE. Simply remove | |
94 # it. | |
95 'cflags!': ['-gstabs'], | |
96 }], | |
97 ['OS=="win"', { | |
98 'type': 'shared_library', | |
99 }], | |
100 ['OS=="mac"', { | |
101 'type': 'loadable_module', | |
102 'mac_bundle': 1, | |
103 'product_extension': 'plugin', | |
104 'xcode_settings': { | |
105 'OTHER_LDFLAGS': [ | |
106 # Not to strip important symbols by -Wl,-dead_strip. | |
107 '-Wl,-exported_symbol,_PPP_GetInterface', | |
108 '-Wl,-exported_symbol,_PPP_InitializeModule', | |
109 '-Wl,-exported_symbol,_PPP_ShutdownModule' | |
110 ]}, | |
111 }], | |
112 ], | |
113 'sources': [ | |
114 'crypto/content_decryptor.cc', | |
115 ], | |
116 } | |
81 ], | 117 ], |
82 } | 118 } |
OLD | NEW |