| # 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. |
| |
| library("runtime") { |
| sources = [ |
| "message.c", |
| "processargs.c", |
| "thread.c", |
| ] |
| |
| deps = [ |
| "$zx/system/ulib/zircon", |
| ] |
| |
| if (toolchain.environment == "user") { |
| configs -= [ "$zx/public/gn/config:user" ] |
| } |
| |
| configs += [ |
| "$zx/public/gn/config:visibility_hidden", |
| |
| # This code is used in early startup, where safe-stack is not ready yet. |
| "$zx/public/gn/config:no_sanitizers", |
| ] |
| } |