Port Android relocation packer to chromium build
commit418115b3467e12e606e6e48ac3532f583e9f09ac
authorSimon Baldwin <simonb@chromium.org>
Thu, 26 Mar 2015 16:47:26 +0000 (26 16:47 +0000)
committerSimon Baldwin <simonb@chromium.org>
Thu, 26 Mar 2015 16:48:57 +0000 (26 16:48 +0000)
tree328db08068cc15922e8729b0790b5bc5d4334dad
parent81366316e1f70c78dde633ae9e24746371a6c14a
Port Android relocation packer to chromium build

- Copy Android relocation packer source from AOSP:
    bionic/tools/relocation_packer/
- Remove golden test data generation scripts (not needed here)
- Add a local ScopedFd.h, to avoid any dependency on base
- Add gyp and gn build files for chromium
- Update third_party/android_platform/README.chromium

BUG=385553
R=rmcilroy@chromium.org

Review URL: https://codereview.chromium.org/1027823002

Cr-Commit-Position: refs/heads/master@{#322401}
33 files changed:
third_party/android_platform/BUILD.gn [new file with mode: 0644]
third_party/android_platform/README.chromium
third_party/android_platform/bionic/tools/relocation_packer/Android.mk [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/LICENSE [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/debug.cc [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/debug.h [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/debug_unittest.cc [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/delta_encoder.cc [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/delta_encoder.h [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/delta_encoder_unittest.cc [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/elf_file.cc [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/elf_file.h [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/elf_file_unittest.cc [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/elf_traits.h [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/leb128.cc [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/leb128.h [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/leb128_unittest.cc [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/main.cc [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/nativehelper/ScopedFd.h [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/packer.cc [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/packer.h [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/packer_unittest.cc [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/run_all_unittests.cc [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/sleb128.cc [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/sleb128.h [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/src/sleb128_unittest.cc [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs.cc [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm32.so [new file with mode: 0755]
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm32_packed.so [new file with mode: 0755]
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm64.so [new file with mode: 0755]
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm64_packed.so [new file with mode: 0755]
third_party/android_platform/config.gni [new file with mode: 0644]
third_party/android_platform/relocation_packer.gyp [new file with mode: 0644]