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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'printing', | 11 'target_name': 'printing', |
12 'type': 'static_library', | 12 'type': '<(component)', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../base/base.gyp:base', | 14 '../base/base.gyp:base', |
15 '../base/base.gyp:base_i18n', | 15 '../base/base.gyp:base_i18n', |
16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
17 '../build/temp_gyp/googleurl.gyp:googleurl', | 17 '../build/temp_gyp/googleurl.gyp:googleurl', |
18 '../skia/skia.gyp:skia', | 18 '../skia/skia.gyp:skia', |
19 '../third_party/icu/icu.gyp:icui18n', | 19 '../third_party/icu/icu.gyp:icui18n', |
20 '../third_party/icu/icu.gyp:icuuc', | 20 '../third_party/icu/icu.gyp:icuuc', |
21 '../ui/ui.gyp:ui', # Only required for Font support. | 21 '../ui/ui.gyp:ui', |
| 22 ], |
| 23 'defines': [ |
| 24 'PRINTING_IMPLEMENTATION', |
22 ], | 25 ], |
23 'include_dirs': [ | 26 'include_dirs': [ |
24 '..', | 27 '..', |
25 ], | 28 ], |
26 'sources': [ | 29 'sources': [ |
27 'backend/print_backend.cc', | 30 'backend/print_backend.cc', |
28 'backend/print_backend.h', | 31 'backend/print_backend.h', |
29 'backend/print_backend_consts.cc', | 32 'backend/print_backend_consts.cc', |
30 'backend/print_backend_consts.h', | 33 'backend/print_backend_consts.h', |
31 'backend/print_backend_dummy.cc', | 34 'backend/print_backend_dummy.cc', |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 }], | 162 }], |
160 ], | 163 ], |
161 }, | 164 }, |
162 { | 165 { |
163 'target_name': 'printing_unittests', | 166 'target_name': 'printing_unittests', |
164 'type': 'executable', | 167 'type': 'executable', |
165 'dependencies': [ | 168 'dependencies': [ |
166 'printing', | 169 'printing', |
167 '../testing/gtest.gyp:gtest', | 170 '../testing/gtest.gyp:gtest', |
168 '../base/base.gyp:test_support_base', | 171 '../base/base.gyp:test_support_base', |
| 172 '../ui/ui.gyp:ui', |
169 ], | 173 ], |
170 'sources': [ | 174 'sources': [ |
171 'emf_win_unittest.cc', | 175 'emf_win_unittest.cc', |
172 'printing_test.h', | 176 'printing_test.h', |
173 'page_number_unittest.cc', | 177 'page_number_unittest.cc', |
174 'page_range_unittest.cc', | 178 'page_range_unittest.cc', |
175 'page_setup_unittest.cc', | 179 'page_setup_unittest.cc', |
176 'pdf_metafile_cairo_linux_unittest.cc', | 180 'pdf_metafile_cairo_linux_unittest.cc', |
177 'pdf_metafile_cg_mac_unittest.cc', | 181 'pdf_metafile_cg_mac_unittest.cc', |
178 'printed_page_unittest.cc', | 182 'printed_page_unittest.cc', |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 ], | 229 ], |
226 }, | 230 }, |
227 }], | 231 }], |
228 ], | 232 ], |
229 }, | 233 }, |
230 }], | 234 }], |
231 ], | 235 ], |
232 }, | 236 }, |
233 ], | 237 ], |
234 } | 238 } |
OLD | NEW |