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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 '..', | 61 '..', |
62 ], | 62 ], |
63 }, | 63 }, |
64 'conditions': [ | 64 'conditions': [ |
65 ['OS!="linux"', {'sources/': [['exclude', '_linux\\.cc$']]}], | 65 ['OS!="linux"', {'sources/': [['exclude', '_linux\\.cc$']]}], |
66 ['OS!="mac"', {'sources/': [['exclude', '_mac\\.(cc|mm?)$']]}], | 66 ['OS!="mac"', {'sources/': [['exclude', '_mac\\.(cc|mm?)$']]}], |
67 ['OS!="win"', {'sources/': [['exclude', '_win\\.cc$']] | 67 ['OS!="win"', {'sources/': [['exclude', '_win\\.cc$']] |
68 }, { # else: OS=="win" | 68 }, { # else: OS=="win" |
69 'sources/': [['exclude', '_posix\\.cc$']] | 69 'sources/': [['exclude', '_posix\\.cc$']] |
70 }], | 70 }], |
| 71 ['OS=="linux"', { |
| 72 'dependencies': [ |
| 73 # For FT_Init_FreeType and friends. |
| 74 '../build/linux/system.gyp:freetype2', |
| 75 ], |
| 76 }], |
71 ], | 77 ], |
72 }, | 78 }, |
73 { | 79 { |
74 'target_name': 'printing_unittests', | 80 'target_name': 'printing_unittests', |
75 'type': 'executable', | 81 'type': 'executable', |
76 'msvs_guid': '8B2EE5D9-41BC-4AA2-A401-2DC143A05D2E', | 82 'msvs_guid': '8B2EE5D9-41BC-4AA2-A401-2DC143A05D2E', |
77 'dependencies': [ | 83 'dependencies': [ |
78 'printing', | 84 'printing', |
79 '../testing/gtest.gyp:gtest', | 85 '../testing/gtest.gyp:gtest', |
80 '../testing/gtest.gyp:gtestmain', | 86 '../testing/gtest.gyp:gtestmain', |
(...skipping 13 matching lines...) Expand all Loading... |
94 'conditions': [ | 100 'conditions': [ |
95 ['OS!="linux"', {'sources/': [['exclude', '_linux_unittest\\.cc$']]}], | 101 ['OS!="linux"', {'sources/': [['exclude', '_linux_unittest\\.cc$']]}], |
96 ['OS!="mac"', {'sources/': [['exclude', '_mac_unittest\\.(cc|mm?)$']]}], | 102 ['OS!="mac"', {'sources/': [['exclude', '_mac_unittest\\.(cc|mm?)$']]}], |
97 ['OS!="win"', {'sources/': [['exclude', '_win_unittest\\.cc$']] | 103 ['OS!="win"', {'sources/': [['exclude', '_win_unittest\\.cc$']] |
98 }, { # else: OS=="win" | 104 }, { # else: OS=="win" |
99 'sources/': [['exclude', '_posix_unittest\\.cc$']] | 105 'sources/': [['exclude', '_posix_unittest\\.cc$']] |
100 } | 106 } |
101 ], | 107 ], |
102 ['OS=="linux"', { | 108 ['OS=="linux"', { |
103 'dependencies': [ | 109 'dependencies': [ |
104 '../build/linux/system.gyp:fontconfig', | |
105 '../build/linux/system.gyp:gtk', | 110 '../build/linux/system.gyp:gtk', |
106 ], | 111 ], |
107 }], | 112 }], |
108 ], | 113 ], |
109 }, | 114 }, |
110 ], | 115 ], |
111 } | 116 } |
OLD | NEW |