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

Side by Side Diff: printing/printing.gyp

Issue 565043: OpenBSD/FreeBSD GYP changes (most of the remaining ones) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 21 matching lines...) Expand all
32 'page_number.cc', 32 'page_number.cc',
33 'page_number.h', 33 'page_number.h',
34 'page_overlays.cc', 34 'page_overlays.cc',
35 'page_overlays.h', 35 'page_overlays.h',
36 'page_range.cc', 36 'page_range.cc',
37 'page_range.h', 37 'page_range.h',
38 'page_setup.cc', 38 'page_setup.cc',
39 'page_setup.h', 39 'page_setup.h',
40 'pdf_metafile_mac.h', 40 'pdf_metafile_mac.h',
41 'pdf_metafile_mac.cc', 41 'pdf_metafile_mac.cc',
42 'pdf_ps_metafile_linux.h', 42 'pdf_ps_metafile_cairo.h',
43 'pdf_ps_metafile_linux.cc', 43 'pdf_ps_metafile_cairo.cc',
44 'print_settings.cc', 44 'print_settings.cc',
45 'print_settings.h', 45 'print_settings.h',
46 'printed_document.cc', 46 'printed_document.cc',
47 'printed_document_linux.cc', 47 'printed_document_cairo.cc',
48 'printed_document_mac.cc', 48 'printed_document_mac.cc',
49 'printed_document_win.cc', 49 'printed_document_win.cc',
50 'printed_document.h', 50 'printed_document.h',
51 'printed_page.cc', 51 'printed_page.cc',
52 'printed_page.h', 52 'printed_page.h',
53 'printed_pages_source.h', 53 'printed_pages_source.h',
54 'printing_context.h', 54 'printing_context.h',
55 'printing_context_linux.cc', 55 'printing_context_cairo.cc',
56 'printing_context_mac.mm', 56 'printing_context_mac.mm',
57 'printing_context_win.cc', 57 'printing_context_win.cc',
58 'units.cc', 58 'units.cc',
59 'units.h', 59 'units.h',
60 ], 60 ],
61 'direct_dependent_settings': { 61 'direct_dependent_settings': {
62 'include_dirs': [ 62 'include_dirs': [
63 '..', 63 '..',
64 ], 64 ],
65 }, 65 },
66 'conditions': [ 66 'conditions': [
67 ['OS!="linux"', {'sources/': [['exclude', '_linux\\.cc$']]}], 67 ['OS!="linux" and OS!="freebsd" and OS!="openbsd"',{
68 'sources/': [['exclude', '_cairo\\.cc$']]
69 }],
68 ['OS!="mac"', {'sources/': [['exclude', '_mac\\.(cc|mm?)$']]}], 70 ['OS!="mac"', {'sources/': [['exclude', '_mac\\.(cc|mm?)$']]}],
69 ['OS!="win"', {'sources/': [['exclude', '_win\\.cc$']] 71 ['OS!="win"', {'sources/': [['exclude', '_win\\.cc$']]
70 }, { # else: OS=="win" 72 }, { # else: OS=="win"
71 'sources/': [['exclude', '_posix\\.cc$']] 73 'sources/': [['exclude', '_posix\\.cc$']]
72 }], 74 }],
73 ['OS=="linux"', { 75 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
74 'dependencies': [ 76 'dependencies': [
75 # For FT_Init_FreeType and friends. 77 # For FT_Init_FreeType and friends.
76 '../build/linux/system.gyp:freetype2', 78 '../build/linux/system.gyp:freetype2',
77 ], 79 ],
78 }], 80 }],
79 ], 81 ],
80 }, 82 },
81 { 83 {
82 'target_name': 'printing_unittests', 84 'target_name': 'printing_unittests',
83 'type': 'executable', 85 'type': 'executable',
84 'msvs_guid': '8B2EE5D9-41BC-4AA2-A401-2DC143A05D2E', 86 'msvs_guid': '8B2EE5D9-41BC-4AA2-A401-2DC143A05D2E',
85 'dependencies': [ 87 'dependencies': [
86 'printing', 88 'printing',
87 '../testing/gtest.gyp:gtest', 89 '../testing/gtest.gyp:gtest',
88 ], 90 ],
89 'sources': [ 91 'sources': [
90 'emf_win_unittest.cc', 92 'emf_win_unittest.cc',
91 'printing_test.h', 93 'printing_test.h',
92 'page_number_unittest.cc', 94 'page_number_unittest.cc',
93 'page_overlays_unittest.cc', 95 'page_overlays_unittest.cc',
94 'page_range_unittest.cc', 96 'page_range_unittest.cc',
95 'page_setup_unittest.cc', 97 'page_setup_unittest.cc',
96 'pdf_metafile_mac_unittest.cc', 98 'pdf_metafile_mac_unittest.cc',
97 'pdf_ps_metafile_linux_unittest.cc', 99 'pdf_ps_metafile_cairo_unittest.cc',
98 'printing_context_win_unittest.cc', 100 'printing_context_win_unittest.cc',
99 'run_all_unittests.cc', 101 'run_all_unittests.cc',
100 'units_unittest.cc', 102 'units_unittest.cc',
101 ], 103 ],
102 'conditions': [ 104 'conditions': [
103 ['OS!="linux"', {'sources/': [['exclude', '_linux_unittest\\.cc$']]}], 105 ['OS!="linux"', {'sources/': [['exclude', '_cairo_unittest\\.cc$']]}],
104 ['OS!="mac"', {'sources/': [['exclude', '_mac_unittest\\.(cc|mm?)$']]}], 106 ['OS!="mac"', {'sources/': [['exclude', '_mac_unittest\\.(cc|mm?)$']]}],
105 ['OS!="win"', {'sources/': [['exclude', '_win_unittest\\.cc$']] 107 ['OS!="win"', {'sources/': [['exclude', '_win_unittest\\.cc$']]
106 }, { # else: OS=="win" 108 }, { # else: OS=="win"
107 'sources/': [['exclude', '_posix_unittest\\.cc$']] 109 'sources/': [['exclude', '_cairo_unittest\\.cc$']]
108 } 110 }
109 ], 111 ],
110 ['OS=="linux"', { 112 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
111 'dependencies': [ 113 'dependencies': [
112 '../build/linux/system.gyp:gtk', 114 '../build/linux/system.gyp:gtk',
113 ], 115 ],
114 }], 116 }],
115 ['OS=="linux" or OS=="freebsd"', { 117 ['OS=="linux"', {
116 'conditions': [ 118 'conditions': [
117 ['linux_use_tcmalloc==1', { 119 ['linux_use_tcmalloc==1', {
118 'dependencies': [ 120 'dependencies': [
119 '../base/allocator/allocator.gyp:allocator', 121 '../base/allocator/allocator.gyp:allocator',
120 ], 122 ],
121 }], 123 }],
122 ], 124 ],
123 }], 125 }],
124 ], 126 ],
125 }, 127 },
126 ], 128 ],
127 } 129 }
128 130
129 # Local Variables: 131 # Local Variables:
130 # tab-width:2 132 # tab-width:2
131 # indent-tabs-mode:nil 133 # indent-tabs-mode:nil
132 # End: 134 # End:
133 # vim: set expandtab tabstop=2 shiftwidth=2: 135 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698