Chromium Code Reviews| Index: cloud_print/virtual_driver/posix/backend.gyp |
| diff --git a/cloud_print/virtual_driver/posix/backend.gyp b/cloud_print/virtual_driver/posix/backend.gyp |
| index 6e890127bd9c8a343be541536a8ec1a853582a2e..47aa0c9783ea3c98addc94a8b585a0c2f234b2e9 100644 |
| --- a/cloud_print/virtual_driver/posix/backend.gyp |
| +++ b/cloud_print/virtual_driver/posix/backend.gyp |
| @@ -3,23 +3,82 @@ |
| # found in the LICENSE file. |
| { |
| + 'targets': [ ], |
| 'target_defaults': { |
| - 'include_dirs': [ |
| - '../..' |
| - ], |
| + 'variables': { 'chromium_code':1}, |
| }, |
| - 'targets' : [ |
| - { |
| - 'target_name': 'GCP-driver', |
| - 'type': 'executable', |
| - 'dependencies': [ |
| - '../../../base/base.gyp:base', |
| + 'conditions': [ |
| + ['OS=="linux"', { |
| + 'target_defaults': { |
| + 'include_dirs': [ |
| + '../..' |
| + ], |
| + }, |
| + 'targets' : [ |
| + { |
| + 'target_name': 'GCP-driver', |
| + 'type': 'executable', |
| + 'dependencies': [ |
| + '../../../base/base.gyp:base', |
| + ], |
| + 'sources' : [ |
| + 'virtual_driver_posix.cc', |
| + 'printer_driver_util_linux.cc', |
| + '../virtual_driver_switches.cc', |
| + ] |
| + }, |
| + ], |
| + }], |
| + ['OS=="mac"', { |
| + 'targets' : [ |
| + { |
| + 'target_name': 'GCP-driver', |
| + 'type': 'executable', |
| + 'dependencies': [ |
| + '../../../base/base.gyp:base', |
| + ], |
| + 'msvs_guid': '8D06D53B-289E-4f99-99FC-77C77DB478A8', |
| + 'sources' : [ |
| + 'virtual_driver_posix.cc', |
| + 'printer_driver_util_mac.mm', |
| + ], |
| + 'xcode_framework_dirs': [ |
| + '/System/Library/Frameworks/ApplicationServices.framework', |
| + ], |
| + }, |
| + { |
| + 'target_name': 'GCP-install', |
| + 'type': 'executable', |
| + 'dependencies': [ |
| + '../../../base/base.gyp:base', |
| + ], |
| + 'msvs_guid': 'FDFBFF64-ABFF-11E0-8D40-62244924019B', |
| + 'sources' : [ |
| + 'install_cloud_print_driver_mac.mm', |
| + 'installer_util_mac.h', |
| + 'installer_util_mac.mm' |
| + ], |
| + 'xcode_framework_dirs': [ |
| + '/System/Library/Frameworks/ApplicationServices.framework', |
| + ], |
| + }, |
| + { |
| + 'target_name': 'GCP-uninstall', |
| + 'type': 'executable', |
| + 'dependencies': [ |
| + '../../../base/base.gyp:base', |
| + ], |
| + 'msvs_guid': '2762A1E6-AC00-11E0-B879-A7244924019B', |
| + 'sources' : [ |
| + 'uninstall_cloud_print_driver_mac.mm', |
| + 'installer_util_mac.mm', |
|
Scott Byer
2011/08/02 23:52:52
put in alphabetical order
abeera
2011/08/03 20:34:47
Done.
|
| + 'installer_util_mac.h' |
| + ], |
| + 'xcode_framework_dirs': [ |
| + '/System/Library/Frameworks/ApplicationServices.framework', |
| + ], |
| + }, |
| ], |
| - 'sources' : [ |
| - 'virtual_driver_posix.cc', |
| - 'printer_driver_util_linux.cc', |
| - '../virtual_driver_switches.cc', |
| - ] |
| - }, |
| - ], |
| + }], |
| + ], |
| } |