OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'remoting_host_installer_mac_roots': [ | 7 'remoting_host_installer_mac_roots': [ |
8 'host/installer/mac/', | 8 'host/installer/mac/', |
9 '<(DEPTH)/chrome/installer/mac/', | 9 '<(DEPTH)/chrome/installer/mac/', |
10 ], | 10 ], |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 ], | 192 ], |
193 | 193 |
194 # These source files are included directly, instead of adding target | 194 # These source files are included directly, instead of adding target |
195 # dependencies, because the targets are not yet built for 64-bit on | 195 # dependencies, because the targets are not yet built for 64-bit on |
196 # Mac OS X - http://crbug.com/125116. | 196 # Mac OS X - http://crbug.com/125116. |
197 # | 197 # |
198 # TODO(lambroslambrou): Fix this when Chrome supports building for | 198 # TODO(lambroslambrou): Fix this when Chrome supports building for |
199 # Mac OS X 64-bit - http://crbug.com/128122. | 199 # Mac OS X 64-bit - http://crbug.com/128122. |
200 'sources': [ | 200 'sources': [ |
201 '../third_party/jsoncpp/overrides/src/lib_json/json_value.cpp', | 201 '../third_party/jsoncpp/overrides/src/lib_json/json_value.cpp', |
202 '../third_party/jsoncpp/source/src/lib_json/json_reader.cpp', | 202 '../third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp', |
203 '../third_party/jsoncpp/source/src/lib_json/json_writer.cpp', | 203 '../third_party/jsoncpp/source/src/lib_json/json_writer.cpp', |
204 '../third_party/modp_b64/modp_b64.cc', | 204 '../third_party/modp_b64/modp_b64.cc', |
205 'host/constants_mac.cc', | 205 'host/constants_mac.cc', |
206 'host/constants_mac.h', | 206 'host/constants_mac.h', |
207 'host/host_config_constants.cc', | 207 'host/host_config_constants.cc', |
208 'host/mac/me2me_preference_pane.h', | 208 'host/mac/me2me_preference_pane.h', |
209 'host/mac/me2me_preference_pane.mm', | 209 'host/mac/me2me_preference_pane.mm', |
210 'host/mac/me2me_preference_pane_confirm_pin.h', | 210 'host/mac/me2me_preference_pane_confirm_pin.h', |
211 'host/mac/me2me_preference_pane_confirm_pin.mm', | 211 'host/mac/me2me_preference_pane_confirm_pin.mm', |
212 'host/mac/me2me_preference_pane_disable.h', | 212 'host/mac/me2me_preference_pane_disable.h', |
213 'host/mac/me2me_preference_pane_disable.mm', | 213 'host/mac/me2me_preference_pane_disable.mm', |
214 ], | 214 ], |
215 'link_settings': { | 215 'link_settings': { |
216 'libraries': [ | 216 'libraries': [ |
217 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', | 217 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
218 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 218 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
219 '$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework', | 219 '$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework', |
220 '$(SDKROOT)/System/Library/Frameworks/Security.framework', | 220 '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
221 ], | 221 ], |
222 }, | 222 }, |
223 'xcode_settings': { | 223 'xcode_settings': { |
224 'ARCHS': ['i386', 'x86_64'], | 224 'ARCHS': ['i386', 'x86_64'], |
225 'GCC_ENABLE_OBJC_GC': 'supported', | 225 'GCC_ENABLE_OBJC_GC': 'supported', |
226 'INFOPLIST_FILE': 'host/mac/me2me_preference_pane-Info.plist', | 226 'INFOPLIST_FILE': 'host/mac/me2me_preference_pane-Info.plist', |
227 'INFOPLIST_PREPROCESS': 'YES', | 227 'INFOPLIST_PREPROCESS': 'YES', |
228 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)" VE
RSION_SHORT="<(version_short)" BUNDLE_ID="<(bundle_id)"', | 228 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)" VE
RSION_SHORT="<(version_short)" BUNDLE_ID="<(bundle_id)"', |
229 | |
230 'conditions': [ | |
231 ['component=="shared_library"', { | |
232 # TODO(thakis): Figure out why this is needed, | |
233 # http://crbug.com/544531 | |
234 'CLANG_CXX_LIBRARY': 'libstdc++', # -stdlib=libstdc++ | |
235 }], | |
236 ], | |
237 }, | 229 }, |
238 'mac_bundle_resources': [ | 230 'mac_bundle_resources': [ |
239 'host/mac/me2me_preference_pane.xib', | 231 'host/mac/me2me_preference_pane.xib', |
240 'host/mac/me2me_preference_pane_confirm_pin.xib', | 232 'host/mac/me2me_preference_pane_confirm_pin.xib', |
241 'host/mac/me2me_preference_pane_disable.xib', | 233 'host/mac/me2me_preference_pane_disable.xib', |
242 'host/mac/me2me_preference_pane-Info.plist', | 234 'host/mac/me2me_preference_pane-Info.plist', |
243 'resources/chromoting128.png', | 235 'resources/chromoting128.png', |
244 | 236 |
245 # Localized strings for 'Info.plist' | 237 # Localized strings for 'Info.plist' |
246 '<!@pymod_do_main(remoting_localize --locale_output ' | 238 '<!@pymod_do_main(remoting_localize --locale_output ' |
247 '"<(SHARED_INTERMEDIATE_DIR)/remoting/me2me_preference_pane-InfoPlist.st
rings/@{json_suffix}.lproj/InfoPlist.strings" ' | 239 '"<(SHARED_INTERMEDIATE_DIR)/remoting/me2me_preference_pane-InfoPlist.st
rings/@{json_suffix}.lproj/InfoPlist.strings" ' |
248 '--print_only <(remoting_locales))', | 240 '--print_only <(remoting_locales))', |
249 ], | 241 ], |
250 'mac_bundle_resources!': [ | 242 'mac_bundle_resources!': [ |
251 'host/mac/me2me_preference_pane-Info.plist', | 243 'host/mac/me2me_preference_pane-Info.plist', |
252 ], | 244 ], |
253 'conditions': [ | 245 'conditions': [ |
254 ['mac_breakpad==1', { | 246 ['mac_breakpad==1', { |
255 'variables': { | 247 'variables': { |
256 # A real .dSYM is needed for dump_syms to operate on. | 248 # A real .dSYM is needed for dump_syms to operate on. |
257 'mac_real_dsym': 1, | 249 'mac_real_dsym': 1, |
258 }, | 250 }, |
259 }], # 'mac_breakpad==1' | 251 }], # 'mac_breakpad==1' |
260 ], # conditions | 252 ], # conditions |
261 }, # end of target 'remoting_host_prefpane' | 253 }, # end of target 'remoting_host_prefpane' |
262 ], # end of 'targets' | 254 ], # end of 'targets' |
263 | 255 |
264 } | 256 } |
OLD | NEW |