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

Side by Side Diff: tools/relocation_packer/relocation_packer.gyp

Issue 404553003: Create builds configured for ARM and AARCH64. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Purge unused includes. Created 6 years, 5 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
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'lib_relocation_packer', 8 'target_name': 'lib_relocation_packer',
9 'toolsets': ['host'], 9 'toolsets': ['host'],
10 'type': 'static_library', 10 'type': 'static_library',
11 'cflags': [
12 '-DTARGET_ARM',
rmcilroy 2014/07/18 14:05:17 Could you pull this out into a variable and use th
simonb (inactive) 2014/07/21 12:15:49 Done.
13 ],
11 'dependencies': [ 14 'dependencies': [
12 '../../third_party/elfutils/elfutils.gyp:libelf', 15 '../../third_party/elfutils/elfutils.gyp:libelf',
13 ], 16 ],
14 'sources': [ 17 'sources': [
15 'src/debug.cc', 18 'src/debug.cc',
16 'src/elf_file.cc', 19 'src/elf_file.cc',
17 'src/leb128.cc', 20 'src/leb128.cc',
18 'src/packer.cc', 21 'src/packer.cc',
19 'src/run_length_encoder.cc', 22 'src/run_length_encoder.cc',
20 ], 23 ],
21 }, 24 },
22 { 25 {
23 'target_name': 'relocation_packer', 26 'target_name': 'relocation_packer',
24 'toolsets': ['host'], 27 'toolsets': ['host'],
25 'type': 'executable', 28 'type': 'executable',
29 'cflags': [
30 '-DTARGET_ARM',
31 ],
26 'dependencies': [ 32 'dependencies': [
27 '../../third_party/elfutils/elfutils.gyp:libelf', 33 '../../third_party/elfutils/elfutils.gyp:libelf',
28 'lib_relocation_packer', 34 'lib_relocation_packer',
29 ], 35 ],
30 'sources': [ 36 'sources': [
31 'src/main.cc', 37 'src/main.cc',
32 ], 38 ],
33 }, 39 },
34 { 40 {
35 'target_name': 'relocation_packer_unittests', 41 'target_name': 'relocation_packer_unittests',
36 'toolsets': ['host'], 42 'toolsets': ['host'],
37 'type': 'executable', 43 'type': 'executable',
38 'cflags': [ 44 'cflags': [
45 '-DTARGET_ARM',
39 '-DINTERMEDIATE_DIR="<(INTERMEDIATE_DIR)"', 46 '-DINTERMEDIATE_DIR="<(INTERMEDIATE_DIR)"',
40 ], 47 ],
41 'dependencies': [ 48 'dependencies': [
42 '../../testing/gtest.gyp:gtest', 49 '../../testing/gtest.gyp:gtest',
43 'lib_relocation_packer', 50 'lib_relocation_packer',
44 ], 51 ],
45 'include_dirs': [ 52 'include_dirs': [
46 '../..', 53 '../..',
47 ], 54 ],
48 'sources': [ 55 'sources': [
49 'src/debug_unittest.cc', 56 'src/debug_unittest.cc',
50 'src/elf_file_unittest.cc', 57 'src/elf_file_unittest.cc',
51 'src/leb128_unittest.cc', 58 'src/leb128_unittest.cc',
52 'src/packer_unittest.cc', 59 'src/packer_unittest.cc',
53 'src/run_length_encoder_unittest.cc', 60 'src/run_length_encoder_unittest.cc',
54 'src/run_all_unittests.cc', 61 'src/run_all_unittests.cc',
55 ], 62 ],
56 'copies': [ 63 'copies': [
57 { 64 {
58 'destination': '<(INTERMEDIATE_DIR)', 65 'destination': '<(INTERMEDIATE_DIR)',
59 'files': [ 66 'files': [
60 'test_data/elf_file_unittest_relocs.so', 67 'test_data/elf_file_unittest_relocs.so',
61 'test_data/elf_file_unittest_relocs_packed.so', 68 'test_data/elf_file_unittest_relocs_packed.so',
62 ], 69 ],
63 }, 70 },
64 ], 71 ],
65 }, 72 },
66 ], 73 ],
67 } 74 }
OLDNEW
« no previous file with comments | « no previous file | tools/relocation_packer/src/debug.h » ('j') | tools/relocation_packer/src/elf_file.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698