OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'variables': { | 6 'variables': { |
7 # TODO(dmaclach): can we pick this up some other way? Right now it's | 7 # TODO(dmaclach): can we pick this up some other way? Right now it's |
8 # duplicated from chrome.gyp | 8 # duplicated from chrome.gyp |
9 'chromium_code': 1, | 9 'chromium_code': 1, |
10 # Use a consistent MIME-type independent of branding. | 10 # Use a consistent MIME-type independent of branding. |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 'HOST_PLUGIN_MIME_TYPE=<(host_plugin_mime_type)', | 162 'HOST_PLUGIN_MIME_TYPE=<(host_plugin_mime_type)', |
163 ], | 163 ], |
164 'dependencies': [ | 164 'dependencies': [ |
165 'remoting_base', | 165 'remoting_base', |
166 'remoting_host', | 166 'remoting_host', |
167 'remoting_jingle_glue', | 167 'remoting_jingle_glue', |
168 '../third_party/libvpx/libvpx.gyp:libvpx', | 168 '../third_party/libvpx/libvpx.gyp:libvpx', |
169 '../third_party/npapi/npapi.gyp:npapi', | 169 '../third_party/npapi/npapi.gyp:npapi', |
170 ], | 170 ], |
171 'sources': [ | 171 'sources': [ |
| 172 # Hack for NPAPI policy support. REMOVE ASAP. |
| 173 # Bug: http://crbug.com/92576 |
| 174 '../content/common/json_value_serializer.cc', |
| 175 '../content/common/json_value_serializer.h', |
| 176 |
172 'host/plugin/host_plugin.cc', | 177 'host/plugin/host_plugin.cc', |
173 'host/plugin/host_plugin.def', | 178 'host/plugin/host_plugin.def', |
174 'host/plugin/host_plugin.rc', | 179 'host/plugin/host_plugin.rc', |
175 'host/plugin/host_plugin_resource.h', | 180 'host/plugin/host_plugin_resource.h', |
176 'host/plugin/host_plugin_utils.cc', | 181 'host/plugin/host_plugin_utils.cc', |
177 'host/plugin/host_plugin_utils.h', | 182 'host/plugin/host_plugin_utils.h', |
178 'host/plugin/host_script_object.cc', | 183 'host/plugin/host_script_object.cc', |
179 'host/plugin/host_script_object.h', | 184 'host/plugin/host_script_object.h', |
| 185 'host/plugin/policy_hack/nat_policy.h', |
| 186 'host/plugin/policy_hack/nat_policy_linux.cc', |
| 187 'host/plugin/policy_hack/nat_policy_mac.mm', |
| 188 'host/plugin/policy_hack/nat_policy_win.cc', |
180 ], | 189 ], |
181 'conditions': [ | 190 'conditions': [ |
182 ['OS=="mac"', { | 191 ['OS=="mac"', { |
183 'mac_bundle': 1, | 192 'mac_bundle': 1, |
184 'xcode_settings': { | 193 'xcode_settings': { |
185 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', | 194 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
186 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist', | 195 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist', |
187 'INFOPLIST_PREPROCESS': 'YES', | 196 'INFOPLIST_PREPROCESS': 'YES', |
188 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'HOST_PLUGIN_MIME_TYPE=<(host_
plugin_mime_type)', | 197 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'HOST_PLUGIN_MIME_TYPE=<(host_
plugin_mime_type)', |
189 'WRAPPER_EXTENSION': '<(plugin_extension)', | 198 'WRAPPER_EXTENSION': '<(plugin_extension)', |
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
802 '../base/allocator/allocator.gyp:allocator', | 811 '../base/allocator/allocator.gyp:allocator', |
803 ], | 812 ], |
804 }, | 813 }, |
805 ], | 814 ], |
806 ], | 815 ], |
807 }], | 816 }], |
808 ], # end of 'conditions' | 817 ], # end of 'conditions' |
809 }, # end of target 'remoting_unittests' | 818 }, # end of target 'remoting_unittests' |
810 ], # end of targets | 819 ], # end of targets |
811 } | 820 } |
OLD | NEW |