OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
| 9 'includes': [ |
| 10 '../build/common.gypi', |
| 11 ], |
| 12 'targets': [ |
| 13 { |
| 14 'target_name': 'printing', |
| 15 'type': 'static_library', |
| 16 'dependencies': [ |
| 17 '../base/base.gyp:base', |
| 18 ], |
| 19 'include_dirs': [ |
| 20 '..', |
| 21 ], |
| 22 'sources': [ |
| 23 'units.cc', |
| 24 'units.h', |
| 25 ], |
| 26 'direct_dependent_settings': { |
| 27 'include_dirs': [ |
| 28 '..', |
| 29 ], |
| 30 }, |
| 31 'conditions': [ |
| 32 ['OS!="linux"', {'sources/': [['exclude', '_linux\\.cc$']]}], |
| 33 ['OS!="mac"', {'sources/': [['exclude', '_mac\\.(cc|mm?)$']]}], |
| 34 ['OS!="win"', { |
| 35 'sources/': [['exclude', '_win\\.cc$']] |
| 36 }, { # else: OS=="win" |
| 37 'sources/': [['exclude', '_posix\\.cc$']] |
| 38 }], |
| 39 ], |
| 40 }, |
| 41 { |
| 42 'target_name': 'printing_unittests', |
| 43 'type': 'executable', |
| 44 'dependencies': [ |
| 45 'printing', |
| 46 '../testing/gtest.gyp:gtest', |
| 47 ], |
| 48 'sources': [ |
| 49 'units_unittest.cc', |
| 50 ], |
| 51 }, |
| 52 ], |
| 53 } |
OLD | NEW |