Chromium Code Reviews| 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/leb128.cc', | |
| 13 'bionic/tools/relocation_packer/src/packer.cc', | |
| 14 'bionic/tools/relocation_packer/src/sleb128.cc', | |
| 15 ], | |
| 16 'relocation_packer_main_source': [ | |
| 17 'bionic/tools/relocation_packer/src/main.cc', | |
| 18 ], | |
| 19 'relocation_packer_test_sources': [ | |
| 20 'bionic/tools/relocation_packer/src/debug_unittest.cc', | |
| 21 'bionic/tools/relocation_packer/src/delta_encoder_unittest.cc', | |
| 22 'bionic/tools/relocation_packer/src/elf_file_unittest.cc', | |
| 23 'bionic/tools/relocation_packer/src/leb128_unittest.cc', | |
| 24 'bionic/tools/relocation_packer/src/packer_unittest.cc', | |
| 25 'bionic/tools/relocation_packer/src/sleb128_unittest.cc', | |
| 26 'bionic/tools/relocation_packer/src/run_all_unittests.cc', | |
| 27 ], | |
| 28 }, | |
| 29 'targets': [ | |
| 30 { | |
| 31 # GN: //tools/relocation_packer:lib_relocation_packer | |
|
rmcilroy
2015/03/24 11:13:19
Should this be //third_party/android_platform/relo
simonb (inactive)
2015/03/24 16:54:44
It should have been //third_party/android_platform
| |
| 32 'target_name': 'android_lib_relocation_packer', | |
| 33 'toolsets': ['host'], | |
| 34 'type': 'static_library', | |
| 35 'dependencies': [ | |
| 36 '../../third_party/elfutils/elfutils.gyp:libelf', | |
| 37 ], | |
| 38 'sources': [ | |
| 39 '<@(relocation_packer_sources)' | |
| 40 ], | |
| 41 }, | |
| 42 { | |
| 43 # GN: //tools/relocation_packer:relocation_packer | |
| 44 'target_name': 'android_relocation_packer', | |
| 45 'toolsets': ['host'], | |
| 46 'type': 'executable', | |
| 47 'dependencies': [ | |
| 48 '../../third_party/elfutils/elfutils.gyp:libelf', | |
| 49 'android_lib_relocation_packer', | |
| 50 ], | |
| 51 'sources': [ | |
| 52 '<@(relocation_packer_main_source)' | |
| 53 ], | |
| 54 }, | |
| 55 { | |
| 56 # TODO(GN) | |
| 57 'target_name': 'android_relocation_packer_unittests', | |
| 58 'toolsets': ['host'], | |
| 59 'type': 'executable', | |
| 60 'dependencies': [ | |
| 61 '../../testing/gtest.gyp:gtest', | |
| 62 'android_lib_relocation_packer', | |
| 63 ], | |
| 64 'include_dirs': [ | |
| 65 '../..', | |
| 66 ], | |
| 67 'sources': [ | |
| 68 '<@(relocation_packer_test_sources)' | |
| 69 ], | |
| 70 'copies': [ | |
| 71 { | |
| 72 'destination': '<(PRODUCT_DIR)', | |
| 73 'files': [ | |
| 74 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_a rm32.so', | |
| 75 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_a rm32_packed.so', | |
| 76 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_a rm64.so', | |
| 77 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_a rm64_packed.so', | |
| 78 ], | |
| 79 }, | |
| 80 ], | |
| 81 }, | |
| 82 ], | |
| 83 } | |
| OLD | NEW |