| Index: tools/relocation_packer/relocation_packer.gyp
|
| diff --git a/tools/relocation_packer/relocation_packer.gyp b/tools/relocation_packer/relocation_packer.gyp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..74d21a1f90287d04e0369db3f3744c9d0f8b2841
|
| --- /dev/null
|
| +++ b/tools/relocation_packer/relocation_packer.gyp
|
| @@ -0,0 +1,66 @@
|
| +# Copyright (c) 2014 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.
|
| +
|
| +{
|
| + 'targets': [
|
| + {
|
| + 'target_name': 'lib_relocation_packer',
|
| + 'toolsets': ['host'],
|
| + 'type': 'static_library',
|
| + 'dependencies': [
|
| + '../../third_party/elfutils/elfutils.gyp:libelf',
|
| + ],
|
| + 'sources': [
|
| + 'src/debug.cc',
|
| + 'src/elf_file.cc',
|
| + 'src/leb128.cc',
|
| + 'src/packer.cc',
|
| + 'src/run_length_encoder.cc',
|
| + ],
|
| + },
|
| + {
|
| + 'target_name': 'relocation_packer',
|
| + 'toolsets': ['host'],
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + '../../third_party/elfutils/elfutils.gyp:libelf',
|
| + 'lib_relocation_packer',
|
| + ],
|
| + 'sources': [
|
| + 'src/main.cc',
|
| + ],
|
| + },
|
| + {
|
| + 'target_name': 'relocation_packer_unittests',
|
| + 'toolsets': ['host'],
|
| + 'type': 'executable',
|
| + 'cflags': [
|
| + '-DINTERMEDIATE_DIR="<(INTERMEDIATE_DIR)"',
|
| + ],
|
| + 'dependencies': [
|
| + '../../testing/gtest.gyp:gtest',
|
| + 'lib_relocation_packer',
|
| + ],
|
| + 'include_dirs': [
|
| + '../..',
|
| + ],
|
| + 'sources': [
|
| + 'src/elf_file_unittest.cc',
|
| + 'src/leb128_unittest.cc',
|
| + 'src/packer_unittest.cc',
|
| + 'src/run_length_encoder_unittest.cc',
|
| + 'src/run_all_unittests.cc',
|
| + ],
|
| + 'copies': [
|
| + {
|
| + 'destination': '<(INTERMEDIATE_DIR)',
|
| + 'files': [
|
| + 'test_data/elf_file_unittest_relocs.so',
|
| + 'test_data/elf_file_unittest_relocs_packed.so',
|
| + ],
|
| + },
|
| + ],
|
| + },
|
| + ],
|
| +}
|
|
|