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.
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',
15 'relocation_packer_main_source': [
16 'bionic/tools/relocation_packer/src/main.cc',
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',
29 # GN: //third_party/android_platform:android_lib_relocation_packer
30 'target_name': 'android_lib_relocation_packer',
32 'type': 'static_library',
34 '../../third_party/elfutils/elfutils.gyp:libelf',
37 '<@(relocation_packer_sources)'
41 # GN: //third_party/android_platform:android_relocation_packer
42 'target_name': 'android_relocation_packer',
46 '../../third_party/elfutils/elfutils.gyp:libelf',
47 'android_lib_relocation_packer',
50 '<@(relocation_packer_main_source)'
55 'target_name': 'android_relocation_packer_unittests',
59 '../../testing/gtest.gyp:gtest',
60 'android_lib_relocation_packer',
66 '<@(relocation_packer_test_sources)'
70 'destination': '<(PRODUCT_DIR)',
72 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm32.so',
73 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm32_packed.so',
74 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm64.so',
75 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm64_packed.so',
76 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_ia32.so',
77 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_ia32_packed.so',
78 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_x64.so',
79 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_x64_packed.so',
80 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_mips32.so',
81 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_mips32_packed.so',