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

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

Issue 1415803005: Port android_relocation_packer_unittests to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/BUILD.gn ('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
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 # These files lists are shared with the GN build. 7 # These files lists are shared with the GN build.
8 'relocation_packer_sources': [ 8 'relocation_packer_sources': [
9 'bionic/tools/relocation_packer/src/debug.cc', 9 'bionic/tools/relocation_packer/src/debug.cc',
10 'bionic/tools/relocation_packer/src/delta_encoder.cc', 10 'bionic/tools/relocation_packer/src/delta_encoder.cc',
11 'bionic/tools/relocation_packer/src/elf_file.cc', 11 'bionic/tools/relocation_packer/src/elf_file.cc',
12 'bionic/tools/relocation_packer/src/packer.cc', 12 'bionic/tools/relocation_packer/src/packer.cc',
13 'bionic/tools/relocation_packer/src/sleb128.cc', 13 'bionic/tools/relocation_packer/src/sleb128.cc',
14 ], 14 ],
15 'relocation_packer_main_source': [ 15 'relocation_packer_main_source': [
16 'bionic/tools/relocation_packer/src/main.cc', 16 'bionic/tools/relocation_packer/src/main.cc',
17 ], 17 ],
18 'relocation_packer_test_sources': [ 18 'relocation_packer_test_sources': [
19 'bionic/tools/relocation_packer/src/debug_unittest.cc', 19 'bionic/tools/relocation_packer/src/debug_unittest.cc',
20 'bionic/tools/relocation_packer/src/delta_encoder_unittest.cc', 20 'bionic/tools/relocation_packer/src/delta_encoder_unittest.cc',
21 'bionic/tools/relocation_packer/src/elf_file_unittest.cc', 21 'bionic/tools/relocation_packer/src/elf_file_unittest.cc',
22 'bionic/tools/relocation_packer/src/packer_unittest.cc', 22 'bionic/tools/relocation_packer/src/packer_unittest.cc',
23 'bionic/tools/relocation_packer/src/sleb128_unittest.cc', 23 'bionic/tools/relocation_packer/src/sleb128_unittest.cc',
24 'bionic/tools/relocation_packer/src/run_all_unittests.cc', 24 'bionic/tools/relocation_packer/src/run_all_unittests.cc',
25 ], 25 ],
26 'relocation_packer_test_data_sources': [
27 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm32.s o',
28 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm32_p acked.so',
29 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm64.s o',
30 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm64_p acked.so',
31 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_ia32.so ',
32 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_ia32_pa cked.so',
33 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_x64.so' ,
34 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_x64_pac ked.so',
35 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_mips32. so',
36 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_mips32_ packed.so',
37 ],
26 }, 38 },
27 'targets': [ 39 'targets': [
28 { 40 {
29 # GN: //third_party/android_platform:android_lib_relocation_packer 41 # GN: //third_party/android_platform:android_lib_relocation_packer
30 'target_name': 'android_lib_relocation_packer', 42 'target_name': 'android_lib_relocation_packer',
31 'toolsets': ['host'], 43 'toolsets': ['host'],
32 'type': 'static_library', 44 'type': 'static_library',
33 'dependencies': [ 45 'dependencies': [
34 '../../third_party/elfutils/elfutils.gyp:libelf', 46 '../../third_party/elfutils/elfutils.gyp:libelf',
35 ], 47 ],
36 'sources': [ 48 'sources': [
37 '<@(relocation_packer_sources)' 49 '<@(relocation_packer_sources)'
38 ], 50 ],
39 }, 51 },
40 { 52 {
41 # GN: //third_party/android_platform:android_relocation_packer 53 # GN: //third_party/android_platform:android_relocation_packer
42 'target_name': 'android_relocation_packer', 54 'target_name': 'android_relocation_packer',
43 'toolsets': ['host'], 55 'toolsets': ['host'],
44 'type': 'executable', 56 'type': 'executable',
45 'dependencies': [ 57 'dependencies': [
46 '../../third_party/elfutils/elfutils.gyp:libelf', 58 '../../third_party/elfutils/elfutils.gyp:libelf',
47 'android_lib_relocation_packer', 59 'android_lib_relocation_packer',
48 ], 60 ],
49 'sources': [ 61 'sources': [
50 '<@(relocation_packer_main_source)' 62 '<@(relocation_packer_main_source)'
51 ], 63 ],
52 }, 64 },
53 { 65 {
54 # TODO(GN) 66 # GN: //third_party/android_platform:android_relocation_packer_unittests
55 'target_name': 'android_relocation_packer_unittests', 67 'target_name': 'android_relocation_packer_unittests',
56 'toolsets': ['host'], 68 'toolsets': ['host'],
57 'type': 'executable', 69 'type': 'executable',
58 'dependencies': [ 70 'dependencies': [
59 '../../testing/gtest.gyp:gtest', 71 '../../testing/gtest.gyp:gtest',
60 'android_lib_relocation_packer', 72 'android_lib_relocation_packer',
61 ], 73 ],
62 'include_dirs': [ 74 'include_dirs': [
63 '../..', 75 '../..',
64 ], 76 ],
65 'sources': [ 77 'sources': [
66 '<@(relocation_packer_test_sources)' 78 '<@(relocation_packer_test_sources)'
67 ], 79 ],
68 'copies': [ 80 'copies': [
69 { 81 {
70 'destination': '<(PRODUCT_DIR)', 82 'destination': '<(PRODUCT_DIR)',
71 'files': [ 83 'files': [
72 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_a rm32.so', 84 '<@(relocation_packer_test_data_sources)'
73 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_a rm32_packed.so',
74 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_a rm64.so',
75 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_a rm64_packed.so',
76 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_i a32.so',
77 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_i a32_packed.so',
78 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_x 64.so',
79 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_x 64_packed.so',
80 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_m ips32.so',
81 'bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_m ips32_packed.so',
82 ], 85 ],
83 }, 86 },
84 ], 87 ],
85 }, 88 },
86 ], 89 ],
87 } 90 }
OLDNEW
« no previous file with comments | « third_party/android_platform/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698