# Copyright 2019 The Fuchsia Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
# TODO(mcgrathr): This code was all rewritten from scratch. Move it out of | |
# third_party/ulib/musl into system/ulib/c. | |
source_set("setjmp") { | |
configs -= [ "$zx/public/gn/config:user" ] | |
configs += [ "$zx/third_party/ulib/musl:musl_config" ] | |
sources = [ | |
"${toolchain.cpu}/longjmp.S", | |
"${toolchain.cpu}/setjmp.S", | |
"longjmp.c", | |
"setjmp.c", | |
] | |
} |