| 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', |
| 11 ], | 11 ], |
| 12 'targets': [ | 12 'targets': [ |
| 13 { | 13 { |
| 14 'target_name': 'printing', | 14 'target_name': 'printing', |
| 15 'type': '<(library)', | 15 'type': '<(library)', |
| 16 'dependencies': [ | 16 'dependencies': [ |
| 17 '../base/base.gyp:base', | 17 '../base/base.gyp:base', |
| 18 '../base/base.gyp:base_gfx', |
| 19 |
| 18 ], | 20 ], |
| 19 'msvs_guid': '9E5416B9-B91B-4029-93F4-102C1AD5CAF4', | 21 'msvs_guid': '9E5416B9-B91B-4029-93F4-102C1AD5CAF4', |
| 20 'include_dirs': [ | 22 'include_dirs': [ |
| 21 '..', | 23 '..', |
| 22 ], | 24 ], |
| 23 'sources': [ | 25 'sources': [ |
| 26 'emf_win.cc', |
| 27 'emf_win.h', |
| 28 'native_metafile.h', |
| 24 'units.cc', | 29 'units.cc', |
| 25 'units.h', | 30 'units.h', |
| 26 ], | 31 ], |
| 27 'direct_dependent_settings': { | 32 'direct_dependent_settings': { |
| 28 'include_dirs': [ | 33 'include_dirs': [ |
| 29 '..', | 34 '..', |
| 30 ], | 35 ], |
| 31 }, | 36 }, |
| 32 'conditions': [ | 37 'conditions': [ |
| 33 ['OS!="linux"', {'sources/': [['exclude', '_linux\\.cc$']]}], | 38 ['OS!="linux"', {'sources/': [['exclude', '_linux\\.cc$']]}], |
| 34 ['OS!="mac"', {'sources/': [['exclude', '_mac\\.(cc|mm?)$']]}], | 39 ['OS!="mac"', {'sources/': [['exclude', '_mac\\.(cc|mm?)$']]}], |
| 35 ['OS!="win"', { | 40 ['OS!="win"', { |
| 36 'sources/': [['exclude', '_win\\.cc$']] | 41 'sources/': [['exclude', '_win\\.cc$']] |
| 37 }, { # else: OS=="win" | 42 }, { # else: OS=="win" |
| 38 'sources/': [['exclude', '_posix\\.cc$']] | 43 'sources/': [['exclude', '_posix\\.cc$']] |
| 39 }], | 44 }], |
| 40 ], | 45 ], |
| 41 }, | 46 }, |
| 42 { | 47 { |
| 43 'target_name': 'printing_unittests', | 48 'target_name': 'printing_unittests', |
| 44 'type': 'executable', | 49 'type': 'executable', |
| 45 'msvs_guid': '8B2EE5D9-41BC-4AA2-A401-2DC143A05D2E', | 50 'msvs_guid': '8B2EE5D9-41BC-4AA2-A401-2DC143A05D2E', |
| 46 'dependencies': [ | 51 'dependencies': [ |
| 47 'printing', | 52 'printing', |
| 48 '../testing/gtest.gyp:gtest', | 53 '../testing/gtest.gyp:gtest', |
| 49 '../testing/gtest.gyp:gtestmain', | 54 '../testing/gtest.gyp:gtestmain', |
| 50 ], | 55 ], |
| 51 'sources': [ | 56 'sources': [ |
| 57 'emf_win_unittest.cc', |
| 52 'units_unittest.cc', | 58 'units_unittest.cc', |
| 53 ], | 59 ], |
| 60 'conditions': [ |
| 61 ['OS!="linux"', {'sources/': [['exclude', '_linux_unittest\\.cc$']]}], |
| 62 ['OS!="mac"', {'sources/': [['exclude', '_mac_unittest\\.(cc|mm?)$']]}], |
| 63 ['OS!="win"', { |
| 64 'sources/': [['exclude', '_win_unittest\\.cc$']] |
| 65 }, { # else: OS=="win" |
| 66 'sources/': [['exclude', '_posix_unittest\\.cc$']] |
| 67 }], |
| 68 ], |
| 54 }, | 69 }, |
| 55 ], | 70 ], |
| 56 } | 71 } |
| OLD | NEW |