diff options
author | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-14 19:15:10 +0000 |
---|---|---|
committer | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-14 19:15:10 +0000 |
commit | 83f7b12249d4800cdbc9c4f2bbbccb4299b750d4 (patch) | |
tree | fa7b09b8009f6bbe2b0816e03d257fe8d05f265f /o3d/import/archive.gyp | |
parent | a4b9c3f468bb51a71737d88705cbbcccc1fdde97 (diff) | |
download | chromium_src-83f7b12249d4800cdbc9c4f2bbbccb4299b750d4.zip chromium_src-83f7b12249d4800cdbc9c4f2bbbccb4299b750d4.tar.gz chromium_src-83f7b12249d4800cdbc9c4f2bbbccb4299b750d4.tar.bz2 |
This splits the import.gyp file into two parts (one for building archive lib,
and one for building import lib), so that the chrome build can depend only
on the archive.gyp file to reduce its dependencies.
It also adds a missing gyp file for the tests.
Review URL: http://codereview.chromium.org/149623
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20638 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/import/archive.gyp')
-rw-r--r-- | o3d/import/archive.gyp | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/o3d/import/archive.gyp b/o3d/import/archive.gyp new file mode 100644 index 0000000..8214cfc --- /dev/null +++ b/o3d/import/archive.gyp @@ -0,0 +1,68 @@ +# 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', + ], + 'target_defaults': { + 'include_dirs': [ + '..', + '../..', + '../../<(cgdir)/include', + '../../<(gtestdir)', + ], + }, + 'targets': [ + { + 'target_name': 'o3dArchive', + 'type': 'static_library', + 'dependencies': [ + '../../<(zlibdir)/zlib.gyp:zlib', + ], + 'sources': [ + 'cross/archive_processor.cc', + 'cross/archive_processor.h', + 'cross/archive_request.cc', + 'cross/archive_request.h', + 'cross/gz_compressor.cc', + 'cross/gz_compressor.h', + 'cross/gz_decompressor.cc', + 'cross/gz_decompressor.h', + 'cross/iarchive_generator.h', + 'cross/memory_buffer.h', + 'cross/memory_stream.cc', + 'cross/memory_stream.h', + 'cross/raw_data.cc', + 'cross/raw_data.h', + 'cross/tar_processor.cc', + 'cross/tar_processor.h', + 'cross/targz_generator.h', + 'cross/targz_processor.cc', + 'cross/targz_processor.h', + ], + }, + { + 'target_name': 'o3dArchiveTest', + 'type': 'none', + 'dependencies': [ + 'o3dArchive', + ], + 'direct_dependent_settings': { + 'sources': [ + 'cross/gz_compressor_test.cc', + 'cross/gz_decompressor_test.cc', + 'cross/memory_buffer_test.cc', + 'cross/memory_stream_test.cc', + 'cross/raw_data_test.cc', + 'cross/tar_processor_test.cc', + 'cross/targz_processor_test.cc', + ], + }, + }, + ], +} |