Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(521)

Side by Side Diff: third_party/android_platform/relocation_packer.gyp

Issue 1027823002: Port Android relocation packer to chromium build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 'targets': [
7 {
8 # GN: //tools/relocation_packer:lib_relocation_packer
9 'target_name': 'android_lib_relocation_packer',
10 'toolsets': ['host'],
11 'type': 'static_library',
12 'dependencies': [
13 '../../third_party/elfutils/elfutils.gyp:libelf',
14 ],
15 'sources': [
16 'relocation_packer/src/debug.cc',
17 'relocation_packer/src/delta_encoder.cc',
18 'relocation_packer/src/elf_file.cc',
19 'relocation_packer/src/leb128.cc',
20 'relocation_packer/src/packer.cc',
21 'relocation_packer/src/sleb128.cc',
rmcilroy 2015/03/20 17:38:26 Could you pull out the sources into a gypi file wh
simonb (inactive) 2015/03/20 18:33:24 Done. (Specifically, pulled from variables within
22 ],
23 },
24 {
25 # GN: //tools/relocation_packer:relocation_packer
26 'target_name': 'android_relocation_packer',
27 'toolsets': ['host'],
28 'type': 'executable',
29 'dependencies': [
30 '../../third_party/elfutils/elfutils.gyp:libelf',
31 'android_lib_relocation_packer',
32 ],
33 'sources': [
34 'relocation_packer/src/main.cc',
35 ],
36 },
37 {
38 # GN: //tools/relocation_packer:relocation_packer_unittests
rmcilroy 2015/03/20 17:38:26 Maybe better to do a TODO(GN) here (and remove the
simonb (inactive) 2015/03/20 18:33:24 Done.
39 'target_name': 'android_relocation_packer_unittests',
40 'toolsets': ['host'],
41 'type': 'executable',
42 'dependencies': [
43 '../../testing/gtest.gyp:gtest',
44 'android_lib_relocation_packer',
45 ],
46 'include_dirs': [
47 '../..',
48 ],
49 'sources': [
50 'relocation_packer/src/debug_unittest.cc',
51 'relocation_packer/src/delta_encoder_unittest.cc',
52 'relocation_packer/src/elf_file_unittest.cc',
53 'relocation_packer/src/leb128_unittest.cc',
54 'relocation_packer/src/packer_unittest.cc',
55 'relocation_packer/src/sleb128_unittest.cc',
56 'relocation_packer/src/run_all_unittests.cc',
57 ],
58 'copies': [
59 {
60 'destination': '<(PRODUCT_DIR)',
61 'files': [
62 'relocation_packer/test_data/elf_file_unittest_relocs_arm32.so',
63 'relocation_packer/test_data/elf_file_unittest_relocs_arm32_packed.s o',
64 'relocation_packer/test_data/elf_file_unittest_relocs_arm64.so',
65 'relocation_packer/test_data/elf_file_unittest_relocs_arm64_packed.s o',
66 ],
67 },
68 ],
69 },
70 ],
71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698