| # Copyright 2016 The Chromium Authors. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| import("//fusl/fusl.gni") | |
| fusl_source_set("setjmp") { | |
| sources = [] | |
| if (current_cpu == "x64") { | |
| sources += [ | |
| "x86_64/longjmp.s", | |
| "x86_64/setjmp.s", | |
| ] | |
| } else { | |
| sources += [ | |
| "longjmp.c", | |
| "setjmp.c", | |
| ] | |
| } | |
| } |