diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-26 03:19:22 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-26 03:19:22 +0000 |
commit | 40a387cd99d50da72c6c9e80fdcb2685d021b45a (patch) | |
tree | af6e339ca13488c3849d89df0dbd4a08adcd0859 /printing/printing.gyp | |
parent | 6fceb07c16e6cf639f73bf1bb8afa91f432cd63a (diff) | |
download | chromium_src-40a387cd99d50da72c6c9e80fdcb2685d021b45a.zip chromium_src-40a387cd99d50da72c6c9e80fdcb2685d021b45a.tar.gz chromium_src-40a387cd99d50da72c6c9e80fdcb2685d021b45a.tar.bz2 |
Add printing.gyp
Review URL: http://codereview.chromium.org/28138
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10445 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printing.gyp')
-rw-r--r-- | printing/printing.gyp | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/printing/printing.gyp b/printing/printing.gyp new file mode 100644 index 0000000..8760481 --- /dev/null +++ b/printing/printing.gyp @@ -0,0 +1,53 @@ +# Copyright (c) 2009 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'variables': { + 'chromium_code': 1, + }, + 'includes': [ + '../build/common.gypi', + ], + 'targets': [ + { + 'target_name': 'printing', + 'type': 'static_library', + 'dependencies': [ + '../base/base.gyp:base', + ], + 'include_dirs': [ + '..', + ], + 'sources': [ + 'units.cc', + 'units.h', + ], + 'direct_dependent_settings': { + 'include_dirs': [ + '..', + ], + }, + 'conditions': [ + ['OS!="linux"', {'sources/': [['exclude', '_linux\\.cc$']]}], + ['OS!="mac"', {'sources/': [['exclude', '_mac\\.(cc|mm?)$']]}], + ['OS!="win"', { + 'sources/': [['exclude', '_win\\.cc$']] + }, { # else: OS=="win" + 'sources/': [['exclude', '_posix\\.cc$']] + }], + ], + }, + { + 'target_name': 'printing_unittests', + 'type': 'executable', + 'dependencies': [ + 'printing', + '../testing/gtest.gyp:gtest', + ], + 'sources': [ + 'units_unittest.cc', + ], + }, + ], +} |