Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2014 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 'targets': [ | |
| 7 { | |
| 8 'target_name': 'lib_relocation_packer', | |
| 9 'toolsets': ['host'], | |
| 10 'type': 'static_library', | |
| 11 'dependencies': [ | |
| 12 '../../third_party/elfutils/elfutils.gyp:libelf', | |
| 13 ], | |
| 14 'sources': [ | |
| 15 'src/debug.cc', | |
| 16 'src/elf_file.cc', | |
| 17 'src/leb128.cc', | |
| 18 'src/packer.cc', | |
| 19 'src/run_length_encoder.cc', | |
| 20 ], | |
| 21 }, | |
| 22 { | |
| 23 'target_name': 'relocation_packer', | |
| 24 'toolsets': ['host'], | |
| 25 'type': 'executable', | |
| 26 'dependencies': [ | |
| 27 '../../third_party/elfutils/elfutils.gyp:libelf', | |
| 28 'lib_relocation_packer', | |
| 29 ], | |
| 30 'sources': [ | |
| 31 'src/main.cc', | |
| 32 ], | |
| 33 }, | |
| 34 { | |
| 35 'target_name': 'relocation_packer_unittests', | |
| 36 'toolsets': ['host'], | |
| 37 'type': 'executable', | |
| 38 'cflags': [ | |
| 39 '-DINTERMEDIATE_DIR="<(INTERMEDIATE_DIR)"', | |
| 40 ], | |
| 41 'dependencies': [ | |
| 42 '../../testing/gtest.gyp:gtest', | |
| 43 'lib_relocation_packer', | |
| 44 ], | |
| 45 'include_dirs': [ | |
| 46 '../..', | |
| 47 ], | |
| 48 'sources': [ | |
| 49 'src/elf_file_unittest.cc', | |
| 50 'src/leb128_unittest.cc', | |
| 51 'src/packer_unittest.cc', | |
| 52 'src/run_length_encoder_unittest.cc', | |
| 53 'src/run_all_unittests.cc', | |
| 54 ], | |
| 55 'copies': [ | |
| 56 { | |
| 57 'destination': '<(INTERMEDIATE_DIR)', | |
| 58 'files': [ | |
| 59 'src/elf_file_unittest_relocs.so', | |
| 60 'src/elf_file_unittest_relocs_packed.so', | |
|
rmcilroy
2014/06/07 11:49:07
nit - put these files in a "test_data" directory (
simonb (inactive)
2014/06/09 14:39:19
Done.
| |
| 61 ], | |
| 62 }, | |
| 63 ], | |
| 64 }, | |
| 65 ], | |
| 66 } | |
| OLD | NEW |