Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1186)

Side by Side Diff: remoting/remoting.gyp

Issue 10383204: Build pref-pane as universal binary on Mac OS X (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 '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 consistent strings across all platforms. Note that the plugin name 10 # Use consistent strings across all platforms. Note that the plugin name
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 ], 372 ],
373 }, 373 },
374 ], # actions 374 ], # actions
375 }, # end of target 'remoting_me2me_host_archive' 375 }, # end of target 'remoting_me2me_host_archive'
376 376
377 { 377 {
378 'target_name': 'remoting_host_prefpane', 378 'target_name': 'remoting_host_prefpane',
379 'type': 'loadable_module', 379 'type': 'loadable_module',
380 'mac_bundle': 1, 380 'mac_bundle': 1,
381 'product_extension': 'prefPane', 381 'product_extension': 'prefPane',
382 'dependencies': [
383 'remoting_base',
384 'remoting_host',
385 ],
386 'defines': [ 382 'defines': [
387 'JSON_USE_EXCEPTION=0', 383 'JSON_USE_EXCEPTION=0',
388 ], 384 ],
389 'include_dirs': [ 385 'include_dirs': [
390 '../third_party/jsoncpp/overrides/include/', 386 '../third_party/jsoncpp/overrides/include/',
391 '../third_party/jsoncpp/source/include/', 387 '../third_party/jsoncpp/source/include/',
392 '../third_party/jsoncpp/source/src/lib_json/', 388 '../third_party/jsoncpp/source/src/lib_json/',
393 ], 389 ],
390
391 # These source files are included directly, instead of adding target
392 # dependencies, because the targets are not yet built for 64-bit on
393 # Mac OS X - http://crbug.com/125116.
394 #
395 # TODO(lambroslambrou): Fix this when Chrome supports building for
396 # Mac OS X 64-bit - http://crbug.com/128122.
394 'sources': [ 397 'sources': [
395 # The jsoncpp target is not yet built for Mac OS X 64-bit, so
396 # include the files directly, instead of depending on the target.
397 '../third_party/jsoncpp/source/src/lib_json/json_reader.cpp', 398 '../third_party/jsoncpp/source/src/lib_json/json_reader.cpp',
399 '../third_party/jsoncpp/overrides/src/lib_json/json_value.cpp',
398 '../third_party/jsoncpp/source/src/lib_json/json_writer.cpp', 400 '../third_party/jsoncpp/source/src/lib_json/json_writer.cpp',
401 '../third_party/modp_b64/modp_b64.cc',
402 'host/host_config.cc',
399 'host/me2me_preference_pane.h', 403 'host/me2me_preference_pane.h',
400 'host/me2me_preference_pane.mm', 404 'host/me2me_preference_pane.mm',
401 ], 405 ],
402 'link_settings': { 406 'link_settings': {
403 'libraries': [ 407 'libraries': [
408 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
409 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
404 '$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework', 410 '$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework',
411 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
405 ], 412 ],
406 }, 413 },
407 'xcode_settings': { 414 'xcode_settings': {
415 'ARCHS': ['i386', 'x86_64'],
Nico 2012/05/16 20:22:43 This isn't supported in ninja yet, so it won't pas
Lambros 2012/05/17 18:03:29 OK, I'll hold off on landing the "ARCHS" change.
416 'GCC_ENABLE_OBJC_GC': 'supported',
Nico 2012/05/16 20:22:43 ninja ignores this setting at the moment. i guess
Lambros 2012/05/17 18:03:29 The 64-bit prefpane needs to support GC, otherwise
408 'INFOPLIST_FILE': 'host/me2me_preference_pane-Info.plist', 417 'INFOPLIST_FILE': 'host/me2me_preference_pane-Info.plist',
409 'INFOPLIST_PREPROCESS': 'YES', 418 'INFOPLIST_PREPROCESS': 'YES',
410 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full) " VERSION_SHORT="<(version_short)" BUNDLE_NAME="<(bundle_name)" BUNDLE_ID="<(bun dle_id)" COPYRIGHT_BY="<(copyright_by)"', 419 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full) " VERSION_SHORT="<(version_short)" BUNDLE_NAME="<(bundle_name)" BUNDLE_ID="<(bun dle_id)" COPYRIGHT_BY="<(copyright_by)"',
411 }, 420 },
412 'mac_bundle_resources': [ 421 'mac_bundle_resources': [
413 'host/me2me_preference_pane.xib', 422 'host/me2me_preference_pane.xib',
414 'host/me2me_preference_pane-Info.plist', 423 'host/me2me_preference_pane-Info.plist',
415 'resources/chromoting128.png', 424 'resources/chromoting128.png',
416 ], 425 ],
417 'mac_bundle_resources!': [ 426 'mac_bundle_resources!': [
(...skipping 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after
1772 '../base/allocator/allocator.gyp:allocator', 1781 '../base/allocator/allocator.gyp:allocator',
1773 ], 1782 ],
1774 }, 1783 },
1775 ], 1784 ],
1776 ], 1785 ],
1777 }], 1786 }],
1778 ], # end of 'conditions' 1787 ], # end of 'conditions'
1779 }, # end of target 'remoting_unittests' 1788 }, # end of target 'remoting_unittests'
1780 ], # end of targets 1789 ], # end of targets
1781 } 1790 }
OLDNEW
« remoting/host/me2me_preference_pane.mm ('K') | « remoting/host/me2me_preference_pane.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698