| OLD | NEW |
| (Empty) |
| 1 # Copyright 2015 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 # These files lists are shared with the GN build. | |
| 8 'relocation_packer_sources': [ | |
| 9 'bionic/tools/relocation_packer/src/debug.cc', | |
| 10 'bionic/tools/relocation_packer/src/delta_encoder.cc', | |
| 11 'bionic/tools/relocation_packer/src/elf_file.cc', | |
| 12 'bionic/tools/relocation_packer/src/packer.cc', | |
| 13 'bionic/tools/relocation_packer/src/sleb128.cc', | |
| 14 ], | |
| 15 'relocation_packer_main_source': [ | |
| 16 'bionic/tools/relocation_packer/src/main.cc', | |
| 17 ], | |
| 18 'relocation_packer_test_sources': [ | |
| 19 'bionic/tools/relocation_packer/src/debug_unittest.cc', | |
| 20 'bionic/tools/relocation_packer/src/delta_encoder_unittest.cc', | |
| 21 'bionic/tools/relocation_packer/src/elf_file_unittest.cc', | |
| 22 'bionic/tools/relocation_packer/src/packer_unittest.cc', | |
| 23 'bionic/tools/relocation_packer/src/sleb128_unittest.cc', | |
| 24 'bionic/tools/relocation_packer/src/run_all_unittests.cc', | |
| 25 ], | |
| 26 'relocation_packer_test_data_sources': [ | |
| 27 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm32.s
o', | |
| 28 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm32_p
acked.so', | |
| 29 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm64.s
o', | |
| 30 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm64_p
acked.so', | |
| 31 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_ia32.so
', | |
| 32 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_ia32_pa
cked.so', | |
| 33 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_x64.so'
, | |
| 34 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_x64_pac
ked.so', | |
| 35 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_mips32.
so', | |
| 36 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_mips32_
packed.so', | |
| 37 ], | |
| 38 }, | |
| 39 'targets': [ | |
| 40 { | |
| 41 # GN: //third_party/android_platform:android_lib_relocation_packer | |
| 42 'target_name': 'android_lib_relocation_packer', | |
| 43 'toolsets': ['host'], | |
| 44 'type': 'static_library', | |
| 45 'dependencies': [ | |
| 46 '../../third_party/elfutils/elfutils.gyp:libelf', | |
| 47 ], | |
| 48 'sources': [ | |
| 49 '<@(relocation_packer_sources)' | |
| 50 ], | |
| 51 }, | |
| 52 { | |
| 53 # GN: //third_party/android_platform:android_relocation_packer | |
| 54 'target_name': 'android_relocation_packer', | |
| 55 'toolsets': ['host'], | |
| 56 'type': 'executable', | |
| 57 'dependencies': [ | |
| 58 '../../third_party/elfutils/elfutils.gyp:libelf', | |
| 59 'android_lib_relocation_packer', | |
| 60 ], | |
| 61 'sources': [ | |
| 62 '<@(relocation_packer_main_source)' | |
| 63 ], | |
| 64 }, | |
| 65 { | |
| 66 # GN: //third_party/android_platform:android_relocation_packer_unittests | |
| 67 'target_name': 'android_relocation_packer_unittests', | |
| 68 'toolsets': ['host'], | |
| 69 'type': 'executable', | |
| 70 'dependencies': [ | |
| 71 '../../testing/gtest.gyp:gtest', | |
| 72 'android_lib_relocation_packer', | |
| 73 ], | |
| 74 'include_dirs': [ | |
| 75 '../..', | |
| 76 ], | |
| 77 'sources': [ | |
| 78 '<@(relocation_packer_test_sources)' | |
| 79 ], | |
| 80 'copies': [ | |
| 81 { | |
| 82 'destination': '<(PRODUCT_DIR)', | |
| 83 'files': [ | |
| 84 '<@(relocation_packer_test_data_sources)' | |
| 85 ], | |
| 86 }, | |
| 87 ], | |
| 88 }, | |
| 89 ], | |
| 90 } | |
| OLD | NEW |