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

Side by Side Diff: chrome/chrome.gyp

Issue 2858014: Linux: make cups (common unix printing system) dependency optional. (Closed)
Patch Set: update Created 10 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 'variables': { 5 'variables': {
6 'chromium_code': 1, 6 'chromium_code': 1,
7 7
8 'variables': { 8 'variables': {
9 'version_py_path': 'tools/build/version.py', 9 'version_py_path': 'tools/build/version.py',
10 'version_path': 'VERSION', 10 'version_path': 'VERSION',
(...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after
1090 'service/gaia/service_gaia_authenticator.cc', 1090 'service/gaia/service_gaia_authenticator.cc',
1091 'service/gaia/service_gaia_authenticator.h', 1091 'service/gaia/service_gaia_authenticator.h',
1092 'service/net/service_network_change_notifier_thread.cc', 1092 'service/net/service_network_change_notifier_thread.cc',
1093 'service/net/service_network_change_notifier_thread.h', 1093 'service/net/service_network_change_notifier_thread.h',
1094 'service/net/service_url_request_context.cc', 1094 'service/net/service_url_request_context.cc',
1095 'service/net/service_url_request_context.h', 1095 'service/net/service_url_request_context.h',
1096 ], 1096 ],
1097 'include_dirs': [ 1097 'include_dirs': [
1098 '..', 1098 '..',
1099 ], 1099 ],
1100 'variables': {
1101 'conditions': [
1102 ['OS=="linux" and chromeos==0 and target_arch!="arm"', {
1103 'use_cups%': 1,
1104 }, {
1105 'use_cups%': 0,
1106 }],
1107 ],
1108 },
1100 'conditions': [ 1109 'conditions': [
1101 ['OS=="win"', { 1110 ['OS=="win"', {
1102 'defines': [ 1111 'defines': [
1103 # CP_PRINT_SYSTEM_AVAILABLE disables default dummy implementation 1112 # CP_PRINT_SYSTEM_AVAILABLE disables default dummy implementation
1104 # of cloud print system, and allows to use custom implementaiton. 1113 # of cloud print system, and allows to use custom implementaiton.
1105 'CP_PRINT_SYSTEM_AVAILABLE', 1114 'CP_PRINT_SYSTEM_AVAILABLE',
1106 ], 1115 ],
1107 'sources': [ 1116 'sources': [
1108 'service/cloud_print/print_system_win.cc', 1117 'service/cloud_print/print_system_win.cc',
1109 ], 1118 ],
1110 }], 1119 }],
1111 ['OS=="linux"', { 1120 ['OS=="linux"', {
1112 'dependencies': [ 1121 'dependencies': [
1113 '../build/linux/system.gyp:gtk', 1122 '../build/linux/system.gyp:gtk',
1114 ], 1123 ],
1115 }], 1124 }],
1116 ['OS=="linux" and chromeos==0 and target_arch!="arm"', { 1125 ['use_cups==1', {
1117 'link_settings': { 1126 'link_settings': {
1118 'libraries': [ 1127 'libraries': [
1119 '-lcups', 1128 '-lcups',
1120 '-lgcrypt', 1129 '-lgcrypt',
1121 '-lgnutls', 1130 '-lgnutls',
1122 ], 1131 ],
1123 }, 1132 },
1124 'defines': [ 1133 'defines': [
1125 # CP_PRINT_SYSTEM_AVAILABLE disables default dummy implementation 1134 # CP_PRINT_SYSTEM_AVAILABLE disables default dummy implementation
1126 # of cloud print system, and allows to use custom implementaiton. 1135 # of cloud print system, and allows to use custom implementaiton.
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
1858 }], # targets 1867 }], # targets
1859 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" 1868 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"
1860 ], # 'conditions' 1869 ], # 'conditions'
1861 } 1870 }
1862 1871
1863 # Local Variables: 1872 # Local Variables:
1864 # tab-width:2 1873 # tab-width:2
1865 # indent-tabs-mode:nil 1874 # indent-tabs-mode:nil
1866 # End: 1875 # End:
1867 # vim: set expandtab tabstop=2 shiftwidth=2: 1876 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698