Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2016 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 declare_args() { | |
| 6 # This arg is used when we want to tell the JIT-generating v8 code | |
| 7 # that we want to have it generate for an architecture that is different | |
| 8 # than the architecture that v8 will actually run on; we then run the | |
| 9 # code under an emulator. For example, we might run v8 on x86, but | |
| 10 # generate arm code and run that under emulation. | |
| 11 # | |
| 12 # This arg is defined here rather than in the v8 project because we want | |
| 13 # some of the common architecture-specific args (like arm_float_abi or | |
| 14 # mips_arch_variant) to be set to their defaults either if the current_cpu | |
| 15 # applies *or* if the v8_target_cpu applies. | |
| 16 # | |
| 17 # TODO(crbug.com/620527) - rework this whole approach so that it isn't | |
| 18 # v8-specific. | |
| 19 v8_target_cpu = target_cpu | |
|
Michael Achenbach
2016/06/16 07:49:55
This logic:
https://cs.chromium.org/chromium/src/v
Dirk Pranke
2016/06/16 17:35:05
Done, in the interest of moving forward, but I was
| |
| 20 } | |
| OLD | NEW |