| 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 '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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 ], | 379 ], |
| 380 }, | 380 }, |
| 381 ], # actions | 381 ], # actions |
| 382 }, # end of target 'remoting_me2me_host_archive' | 382 }, # end of target 'remoting_me2me_host_archive' |
| 383 | 383 |
| 384 { | 384 { |
| 385 'target_name': 'remoting_host_prefpane', | 385 'target_name': 'remoting_host_prefpane', |
| 386 'type': 'loadable_module', | 386 'type': 'loadable_module', |
| 387 'mac_bundle': 1, | 387 'mac_bundle': 1, |
| 388 'product_extension': 'prefPane', | 388 'product_extension': 'prefPane', |
| 389 'dependencies': [ | |
| 390 'remoting_base', | |
| 391 'remoting_host', | |
| 392 ], | |
| 393 'defines': [ | 389 'defines': [ |
| 394 'JSON_USE_EXCEPTION=0', | 390 'JSON_USE_EXCEPTION=0', |
| 395 ], | 391 ], |
| 396 'include_dirs': [ | 392 'include_dirs': [ |
| 397 '../third_party/jsoncpp/overrides/include/', | 393 '../third_party/jsoncpp/overrides/include/', |
| 398 '../third_party/jsoncpp/source/include/', | 394 '../third_party/jsoncpp/source/include/', |
| 399 '../third_party/jsoncpp/source/src/lib_json/', | 395 '../third_party/jsoncpp/source/src/lib_json/', |
| 400 ], | 396 » ], |
| 397 |
| 398 # These source files are included directly, instead of adding target |
| 399 » # dependencies, because the targets are not yet built for 64-bit on |
| 400 » # Mac OS X - http://crbug.com/125116. |
| 401 » # |
| 402 » # TODO(lambroslambrou): Fix this when Chrome supports building for |
| 403 » # Mac OS X 64-bit - http://crbug.com/128122. |
| 401 'sources': [ | 404 'sources': [ |
| 402 # The jsoncpp target is not yet built for Mac OS X 64-bit, so | 405 » '../third_party/jsoncpp/source/src/lib_json/json_reader.cpp', |
| 403 # include the files directly, instead of depending on the target. | 406 » '../third_party/jsoncpp/overrides/src/lib_json/json_value.cpp', |
| 404 '../third_party/jsoncpp/source/src/lib_json/json_reader.cpp', | 407 » '../third_party/jsoncpp/source/src/lib_json/json_writer.cpp', |
| 405 '../third_party/jsoncpp/source/src/lib_json/json_writer.cpp', | 408 » '../third_party/modp_b64/modp_b64.cc', |
| 406 '../third_party/modp_b64/modp_b64.cc', | 409 » 'host/host_config.cc', |
| 407 'host/me2me_preference_pane.h', | 410 'host/me2me_preference_pane.h', |
| 408 'host/me2me_preference_pane.mm', | 411 'host/me2me_preference_pane.mm', |
| 409 'host/me2me_preference_pane_confirm_pin.h', | 412 'host/me2me_preference_pane_confirm_pin.h', |
| 410 'host/me2me_preference_pane_confirm_pin.mm', | 413 'host/me2me_preference_pane_confirm_pin.mm', |
| 411 'host/me2me_preference_pane_disable.h', | 414 'host/me2me_preference_pane_disable.h', |
| 412 'host/me2me_preference_pane_disable.mm', | 415 'host/me2me_preference_pane_disable.mm', |
| 413 ], | 416 ], |
| 414 'link_settings': { | 417 'link_settings': { |
| 415 'libraries': [ | 418 'libraries': [ |
| 419 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
| 420 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 416 '$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework', | 421 '$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework', |
| 422 '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
| 417 ], | 423 ], |
| 418 }, | 424 }, |
| 419 'xcode_settings': { | 425 'xcode_settings': { |
| 426 'ARCHS': ['i386', 'x86_64'], |
| 427 'GCC_ENABLE_OBJC_GC': 'supported', |
| 420 'INFOPLIST_FILE': 'host/me2me_preference_pane-Info.plist', | 428 'INFOPLIST_FILE': 'host/me2me_preference_pane-Info.plist', |
| 421 'INFOPLIST_PREPROCESS': 'YES', | 429 'INFOPLIST_PREPROCESS': 'YES', |
| 422 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)
" VERSION_SHORT="<(version_short)" BUNDLE_NAME="<(bundle_name)" BUNDLE_ID="<(bun
dle_id)" COPYRIGHT_BY="<(copyright_by)" PREF_PANE_ICON_LABEL="<(pref_pane_icon_l
abel)"', | 430 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)
" VERSION_SHORT="<(version_short)" BUNDLE_NAME="<(bundle_name)" BUNDLE_ID="<(bun
dle_id)" COPYRIGHT_BY="<(copyright_by)" PREF_PANE_ICON_LABEL="<(pref_pane_icon_l
abel)"', |
| 423 }, | 431 }, |
| 424 'mac_bundle_resources': [ | 432 'mac_bundle_resources': [ |
| 425 'host/me2me_preference_pane.xib', | 433 'host/me2me_preference_pane.xib', |
| 426 'host/me2me_preference_pane_confirm_pin.xib', | 434 'host/me2me_preference_pane_confirm_pin.xib', |
| 427 'host/me2me_preference_pane_disable.xib', | 435 'host/me2me_preference_pane_disable.xib', |
| 428 'host/me2me_preference_pane-Info.plist', | 436 'host/me2me_preference_pane-Info.plist', |
| 429 'resources/chromoting128.png', | 437 'resources/chromoting128.png', |
| (...skipping 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1752 '../base/allocator/allocator.gyp:allocator', | 1760 '../base/allocator/allocator.gyp:allocator', |
| 1753 ], | 1761 ], |
| 1754 }, | 1762 }, |
| 1755 ], | 1763 ], |
| 1756 ], | 1764 ], |
| 1757 }], | 1765 }], |
| 1758 ], # end of 'conditions' | 1766 ], # end of 'conditions' |
| 1759 }, # end of target 'remoting_unittests' | 1767 }, # end of target 'remoting_unittests' |
| 1760 ], # end of targets | 1768 ], # end of targets |
| 1761 } | 1769 } |
| OLD | NEW |