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

Side by Side Diff: chrome/chrome.gyp

Issue 6883221: Linux: clean up the usage of "use_cups" gyp switch: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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) 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 '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 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 'sources': [ 800 'sources': [
801 'service/cloud_print/print_system_win.cc', 801 'service/cloud_print/print_system_win.cc',
802 ], 802 ],
803 }], 803 }],
804 ['OS=="linux"', { 804 ['OS=="linux"', {
805 'dependencies': [ 805 'dependencies': [
806 '../build/linux/system.gyp:gtk', 806 '../build/linux/system.gyp:gtk',
807 ], 807 ],
808 }], 808 }],
809 ['use_cups==1', { 809 ['use_cups==1', {
810 'dependencies': [
811 '../printing/printing.gyp:cups',
812 ],
810 'defines': [ 813 'defines': [
811 # CP_PRINT_SYSTEM_AVAILABLE disables default dummy implementation 814 # CP_PRINT_SYSTEM_AVAILABLE disables default dummy implementation
812 # of cloud print system, and allows to use custom implementaiton. 815 # of cloud print system, and allows to use custom implementaiton.
813 'CP_PRINT_SYSTEM_AVAILABLE', 816 'CP_PRINT_SYSTEM_AVAILABLE',
814 ], 817 ],
815 'sources': [ 818 'sources': [
816 'service/cloud_print/print_system_cups.cc', 819 'service/cloud_print/print_system_cups.cc',
817 ], 820 ],
818 'conditions': [
819 ['OS=="mac"', {
820 'link_settings': {
821 'libraries': [
822 '$(SDKROOT)/usr/lib/libcups.dylib',
823 ]
824 },
825 }, {
826 'link_settings': {
827 'libraries': [
828 '-lcups',
829 '-lgcrypt',
830 ],
831 },
832 }],
833 ],
834 }], 821 }],
835 ['remoting==1', { 822 ['remoting==1', {
836 'dependencies': [ 823 'dependencies': [
837 '../remoting/remoting.gyp:chromoting_host', 824 '../remoting/remoting.gyp:chromoting_host',
838 ], 825 ],
839 }], 826 }],
840 ['remoting==0', { 827 ['remoting==0', {
841 'sources!': [ 828 'sources!': [
842 'service/remoting/chromoting_host_manager.cc', 829 'service/remoting/chromoting_host_manager.cc',
843 'service/remoting/chromoting_host_manager.h', 830 'service/remoting/chromoting_host_manager.h',
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
1602 }], # targets 1589 }], # targets
1603 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" 1590 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"
1604 ], # 'conditions' 1591 ], # 'conditions'
1605 } 1592 }
1606 1593
1607 # Local Variables: 1594 # Local Variables:
1608 # tab-width:2 1595 # tab-width:2
1609 # indent-tabs-mode:nil 1596 # indent-tabs-mode:nil
1610 # End: 1597 # End:
1611 # vim: set expandtab tabstop=2 shiftwidth=2: 1598 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698