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 'target_defaults': { | 6 'target_defaults': { |
7 'include_dirs': [ | 7 'variables': { 'chromium_code':1 }, |
8 '../..' | |
9 ], | |
10 }, | 8 }, |
11 'targets' : [ | 9 'targets': [ |
12 { | 10 { |
13 'target_name': 'GCP-driver', | 11 'target_name': 'GCP-driver', |
14 'type': 'executable', | 12 'type': 'executable', |
15 'dependencies': [ | 13 'dependencies': [ |
16 '../../../base/base.gyp:base', | 14 '../../../base/base.gyp:base', |
17 ], | 15 ], |
18 'sources' : [ | 16 'sources': [ |
| 17 'printer_driver_util_linux.cc', |
| 18 'printer_driver_util_posix.h', |
| 19 'printer_driver_util_mac.mm', |
19 'virtual_driver_posix.cc', | 20 'virtual_driver_posix.cc', |
20 'printer_driver_util_linux.cc', | |
21 '../virtual_driver_switches.cc', | 21 '../virtual_driver_switches.cc', |
22 ] | 22 ], |
23 }, | 23 'conditions': [ |
24 ], | 24 ['OS=="mac"', { |
| 25 'sources!': ['../virtual_driver_switches.cc'], |
| 26 'xcode_framework_dirs': [ |
| 27 '/System/Library/Frameworks/ApplicationServices.framework', |
| 28 ], |
| 29 }], |
| 30 ], |
| 31 }], |
| 32 'conditions': [ |
| 33 ['OS=="mac"', { |
| 34 'targets' : [ |
| 35 { |
| 36 'target_name': 'GCP-install', |
| 37 'type': 'executable', |
| 38 'dependencies': [ |
| 39 '../../../base/base.gyp:base', |
| 40 ], |
| 41 'sources' : [ |
| 42 'install_cloud_print_driver_mac.mm', |
| 43 'installer_util_mac.h', |
| 44 'installer_util_mac.mm' |
| 45 ], |
| 46 'xcode_framework_dirs': [ |
| 47 '/System/Library/Frameworks/ApplicationServices.framework', |
| 48 ], |
| 49 }, |
| 50 { |
| 51 'target_name': 'GCP-uninstall', |
| 52 'type': 'executable', |
| 53 'dependencies': [ |
| 54 '../../../base/base.gyp:base', |
| 55 ], |
| 56 'sources' : [ |
| 57 'installer_util_mac.h', |
| 58 'installer_util_mac.mm', |
| 59 'uninstall_cloud_print_driver_mac.mm', |
| 60 ], |
| 61 'xcode_framework_dirs': [ |
| 62 '/System/Library/Frameworks/ApplicationServices.framework', |
| 63 ], |
| 64 }, |
| 65 ], |
| 66 }], |
| 67 ], |
25 } | 68 } |
OLD | NEW |