| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'include': [ | 6 'include': [ |
| 7 '../native_client/build/untrusted.gypi', | 7 '../native_client/build/untrusted.gypi', |
| 8 ], | 8 ], |
| 9 'target_defaults': { | 9 'target_defaults': { |
| 10 'variables': { | 10 'variables': { |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 'defines': [ | 120 'defines': [ |
| 121 'NACL_BLOCK_SHIFT=5', | 121 'NACL_BLOCK_SHIFT=5', |
| 122 'NACL_BLOCK_SIZE=32', | 122 'NACL_BLOCK_SIZE=32', |
| 123 '<@(nacl_defines)', | 123 '<@(nacl_defines)', |
| 124 ], | 124 ], |
| 125 }, | 125 }, |
| 126 }, | 126 }, |
| 127 ], | 127 ], |
| 128 }], | 128 }], |
| 129 ['OS=="linux" and coverage==0', { | 129 ['OS=="linux" and coverage==0', { |
| 130 'conditions': [ | |
| 131 ['target_arch=="x64"', { | |
| 132 'variables': { | |
| 133 # No extra reservation. | |
| 134 'nacl_reserve_top': [], | |
| 135 } | |
| 136 }], | |
| 137 ['target_arch=="ia32"', { | |
| 138 'variables': { | |
| 139 # 1G address space. | |
| 140 'nacl_reserve_top': ['--defsym', 'RESERVE_TOP=0x40000000'], | |
| 141 } | |
| 142 }], | |
| 143 ['target_arch=="arm"', { | |
| 144 'variables': { | |
| 145 # 1G address space, plus 4K guard area above because | |
| 146 # immediate offsets are 12 bits. | |
| 147 'nacl_reserve_top': ['--defsym', 'RESERVE_TOP=0x40001000'], | |
| 148 } | |
| 149 }], | |
| 150 ], | |
| 151 'targets': [ | 130 'targets': [ |
| 152 { | 131 { |
| 153 'target_name': 'nacl_helper', | 132 'target_name': 'nacl_helper', |
| 154 'type': 'executable', | 133 'type': 'executable', |
| 155 'include_dirs': [ | 134 'include_dirs': [ |
| 156 '..', | 135 '..', |
| 157 ], | 136 ], |
| 158 'dependencies': [ | 137 'dependencies': [ |
| 159 'nacl', | 138 'nacl', |
| 160 ], | 139 ], |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 'target_name': 'nacl_win64', | 184 'target_name': 'nacl_win64', |
| 206 'type': 'none', | 185 'type': 'none', |
| 207 'sources': [], | 186 'sources': [], |
| 208 }, | 187 }, |
| 209 ], | 188 ], |
| 210 }], | 189 }], |
| 211 ], | 190 ], |
| 212 }], | 191 }], |
| 213 ], | 192 ], |
| 214 } | 193 } |
| OLD | NEW |