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

Side by Side Diff: src/trusted/gdb_rsp/gdb_rsp.gyp

Issue 10025038: Debug stub: Remove the GDB_RSP_ABI_* #defines (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fix dependencies Created 8 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 | Annotate | Revision Log
« no previous file with comments | « src/trusted/gdb_rsp/build.scons ('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 # -*- python -*- 1 # -*- python -*-
2 # Copyright 2009, Google Inc. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # All rights reserved. 3 # Use of this source code is governed by a BSD-style license that can be
4 # 4 # found in the LICENSE file.
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are
7 # met:
8 #
9 # * Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer.
11 # * Redistributions in binary form must reproduce the above
12 # copyright notice, this list of conditions and the following disclaimer
13 # in the documentation and/or other materials provided with the
14 # distribution.
15 # * Neither the name of Google Inc. nor the names of its
16 # contributors may be used to endorse or promote products derived from
17 # this software without specific prior written permission.
18 #
19 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 5
31 { 6 {
32 'includes': [ 7 'includes': [
33 '../../../build/common.gypi', 8 '../../../build/common.gypi',
34 ], 9 ],
35 'target_defaults': { 10 'target_defaults': {
36 'conditions': [
37 ['target_arch=="ia32"', {
38 'defines': [
39 'GDB_RSP_ABI_X86',
40 ],
41 }],
42 ['target_arch=="x64"', {
43 'defines': [
44 'GDB_RSP_ABI_X86',
45 'GDB_RSP_ABI_X86_64',
46 ],
47 }],
48 ['target_arch=="arm"', {
49 'defines': [
50 'GDB_RSP_ABI_ARM',
51 ],
52 }],
53 ],
54 'target_conditions': [ 11 'target_conditions': [
55 ['OS=="linux" or OS=="mac"', { 12 ['OS=="linux" or OS=="mac"', {
56 'cflags': [ 13 'cflags': [
57 '-fexceptions', 14 '-fexceptions',
58 ], 15 ],
59 'cflags_cc' : [ 16 'cflags_cc' : [
60 '-frtti', 17 '-frtti',
61 ] 18 ]
62 }], 19 }],
63 ['OS=="mac"', { 20 ['OS=="mac"', {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 'target_test.cc', 58 'target_test.cc',
102 'util_test.cc', 59 'util_test.cc',
103 'test.cc', 60 'test.cc',
104 'test.h', 61 'test.h',
105 ], 62 ],
106 }, 63 },
107 'targets': [ 64 'targets': [
108 { 65 {
109 'target_name': 'gdb_rsp', 66 'target_name': 'gdb_rsp',
110 'type': 'static_library', 67 'type': 'static_library',
111 'sources': [ 68 'sources': [
112 '<@(gdb_rsp_sources)', 69 '<@(gdb_rsp_sources)',
113 ], 70 ],
71 'dependencies': [
72 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform',
73 ],
114 }, 74 },
115 { 75 {
116 'target_name': 'gdb_rsp_test', 76 'target_name': 'gdb_rsp_test',
117 'type': 'executable', 77 'type': 'executable',
118 'sources': [ 78 'sources': [
119 '<@(gdb_test_sources)', 79 '<@(gdb_test_sources)',
120 ], 80 ],
121 'dependencies': [ 81 'dependencies': [
122 'gdb_rsp', 82 'gdb_rsp',
123 ] 83 ]
124 }, 84 },
125 ], 85 ],
126 'conditions': [ 86 'conditions': [
127 ['OS=="win"', { 87 ['OS=="win"', {
128 'targets': [ 88 'targets': [
129 { 89 {
130 'target_name': 'gdb_rsp64', 90 'target_name': 'gdb_rsp64',
131 'type': 'static_library', 91 'type': 'static_library',
132 'sources': [ 92 'sources': [
133 '<@(gdb_rsp_sources)', 93 '<@(gdb_rsp_sources)',
134 ], 94 ],
135 'variables': { 95 'variables': {
136 'win_target': 'x64', 96 'win_target': 'x64',
137 }, 97 },
138 'defines': [ 98 'dependencies': [
139 'GDB_RSP_ABI_X86_64', 99 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform64' ,
140 ], 100 ],
141 }, 101 },
142 { 102 {
143 'target_name': 'gdb_rsp_test64', 103 'target_name': 'gdb_rsp_test64',
144 'type': 'executable', 104 'type': 'executable',
145 'sources': [ 105 'sources': [
146 '<@(gdb_test_sources)', 106 '<@(gdb_test_sources)',
147 ], 107 ],
148 'configurations': { 108 'configurations': {
149 'Common_Base': { 109 'Common_Base': {
150 'msvs_target_platform': 'x64', 110 'msvs_target_platform': 'x64',
151 }, 111 },
152 }, 112 },
153 'dependencies': [ 113 'dependencies': [
154 'gdb_rsp64', 114 'gdb_rsp64',
155 ] 115 ]
156 }, 116 },
157 ], 117 ],
158 }], 118 }],
159 ], 119 ],
160 } 120 }
OLDNEW
« no previous file with comments | « src/trusted/gdb_rsp/build.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698