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

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: Removed two nugatory files Created 5 years, 8 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
« no previous file with comments | « third_party/android_platform/config.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 '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: //third_party/android_platform:android_lib_relocation_packer
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: //third_party/android_platform:android_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 }
OLDNEW
« no previous file with comments | « third_party/android_platform/config.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698