| # 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. |
| |
| source_set("prng") { |
| deps = [ "//zircon/third_party/ulib/musl:musl_internal" ] |
| sources = [ |
| "__rand48_step.c", |
| "__seed48.c", |
| "drand48.c", |
| "lcong48.c", |
| "lrand48.c", |
| "mrand48.c", |
| "rand.c", |
| "rand_r.c", |
| "random.c", |
| "seed48.c", |
| "srand48.c", |
| ] |
| |
| configs -= [ "//build/config:symbol_visibility_hidden" ] |
| |
| # TODO(https://fxbug.dev/42136089): delete the below and fix compiler warnings |
| configs += [ "//build/config:Wno-conversion" ] |
| } |