OLD | NEW |
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 'includes': [ | 9 'includes': [ |
10 '../build/common.gypi', | 10 '../build/common.gypi', |
(...skipping 22 matching lines...) Expand all Loading... |
33 'image.h', | 33 'image.h', |
34 'native_metafile.h', | 34 'native_metafile.h', |
35 'page_number.cc', | 35 'page_number.cc', |
36 'page_number.h', | 36 'page_number.h', |
37 'page_overlays.cc', | 37 'page_overlays.cc', |
38 'page_overlays.h', | 38 'page_overlays.h', |
39 'page_range.cc', | 39 'page_range.cc', |
40 'page_range.h', | 40 'page_range.h', |
41 'page_setup.cc', | 41 'page_setup.cc', |
42 'page_setup.h', | 42 'page_setup.h', |
| 43 'pdf_ps_metafile_linux.h', |
| 44 'pdf_ps_metafile_linux.cc', |
43 'print_settings.cc', | 45 'print_settings.cc', |
44 'print_settings.h', | 46 'print_settings.h', |
45 'printed_document.cc', | 47 'printed_document.cc', |
46 'printed_document.h', | 48 'printed_document.h', |
47 'printed_page.cc', | 49 'printed_page.cc', |
48 'printed_page.h', | 50 'printed_page.h', |
49 'printed_pages_source.h', | 51 'printed_pages_source.h', |
50 'printing_context.h', | 52 'printing_context.h', |
51 'printing_context_linux.cc', | 53 'printing_context_linux.cc', |
52 'printing_context_mac.cc', | 54 'printing_context_mac.cc', |
(...skipping 30 matching lines...) Expand all Loading... |
83 '../testing/gtest.gyp:gtest', | 85 '../testing/gtest.gyp:gtest', |
84 '../testing/gtest.gyp:gtestmain', | 86 '../testing/gtest.gyp:gtestmain', |
85 ], | 87 ], |
86 'sources': [ | 88 'sources': [ |
87 'emf_win_unittest.cc', | 89 'emf_win_unittest.cc', |
88 'printing_test.h', | 90 'printing_test.h', |
89 'page_number_unittest.cc', | 91 'page_number_unittest.cc', |
90 'page_overlays_unittest.cc', | 92 'page_overlays_unittest.cc', |
91 'page_range_unittest.cc', | 93 'page_range_unittest.cc', |
92 'page_setup_unittest.cc', | 94 'page_setup_unittest.cc', |
| 95 'pdf_ps_metafile_linux_unittest.cc', |
93 'printing_context_win_unittest.cc', | 96 'printing_context_win_unittest.cc', |
94 'run_all_unittests.cc', | 97 'run_all_unittests.cc', |
95 'units_unittest.cc', | 98 'units_unittest.cc', |
96 ], | 99 ], |
97 'conditions': [ | 100 'conditions': [ |
98 ['OS!="linux"', {'sources/': [['exclude', '_linux_unittest\\.cc$']]}], | 101 ['OS!="linux"', {'sources/': [['exclude', '_linux_unittest\\.cc$']]}], |
99 ['OS!="mac"', {'sources/': [['exclude', '_mac_unittest\\.(cc|mm?)$']]}], | 102 ['OS!="mac"', {'sources/': [['exclude', '_mac_unittest\\.(cc|mm?)$']]}], |
100 ['OS!="win"', { | 103 ['OS!="win"', { |
101 'sources/': [ | 104 'sources/': [ |
102 ['exclude', '_win_unittest\\.cc$'], | 105 ['exclude', '_win_unittest\\.cc$'], |
103 | 106 |
104 # Most of the printing functionailty is Windows only for now. | 107 # Most of the printing functionailty is Windows only for now. |
105 ['exclude', '.*'], | 108 ['exclude', '.*'], |
106 ['include', 'page_range_unittest.cc'], | 109 ['include', 'page_range_unittest.cc'], |
107 ['include', 'page_setup_unittest.cc'], | 110 ['include', 'page_setup_unittest.cc'], |
108 ['include', 'units_unittest.cc'], | 111 ['include', 'units_unittest.cc'], |
109 ] | 112 ] |
110 }, { # else: OS=="win" | 113 }, { # else: OS=="win" |
111 'sources/': [['exclude', '_posix_unittest\\.cc$']] | 114 'sources/': [['exclude', '_posix_unittest\\.cc$']] |
112 }], | 115 }], |
| 116 ['OS=="linux"', { |
| 117 'dependencies': [ |
| 118 '../base/base.gyp:base_gfx', |
| 119 ], |
| 120 'sources/': [ |
| 121 ['include', 'pdf_ps_metafile_linux_unittest.cc'], |
| 122 ] |
| 123 }], |
113 ], | 124 ], |
114 }, | 125 }, |
115 ], | 126 ], |
116 } | 127 } |
OLD | NEW |