| # 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("complex") { |
| include_dirs = [ "$zx/third_party/ulib/musl/third_party/include" ] |
| sources = [ |
| "cabs.c", |
| "cabsf.c", |
| "cabsl.c", |
| "cacos.c", |
| "cacosf.c", |
| "cacosh.c", |
| "cacoshf.c", |
| "cacoshl.c", |
| "cacosl.c", |
| "carg.c", |
| "cargf.c", |
| "cargl.c", |
| "casin.c", |
| "casinf.c", |
| "casinh.c", |
| "casinhf.c", |
| "casinhl.c", |
| "casinl.c", |
| "catanh.c", |
| "catanhf.c", |
| "catanhl.c", |
| "ccos.c", |
| "ccosf.c", |
| "ccoshl.c", |
| "ccosl.c", |
| "cexpl.c", |
| "cimag.c", |
| "cimagf.c", |
| "cimagl.c", |
| "clog.c", |
| "clogf.c", |
| "clogl.c", |
| "conj.c", |
| "conjf.c", |
| "conjl.c", |
| "cpow.c", |
| "cpowf.c", |
| "cpowl.c", |
| "cproj.c", |
| "cprojf.c", |
| "cprojl.c", |
| "creal.c", |
| "crealf.c", |
| "creall.c", |
| "csin.c", |
| "csinf.c", |
| "csinhl.c", |
| "csinl.c", |
| "csqrtl.c", |
| "ctan.c", |
| "ctanf.c", |
| "ctanhl.c", |
| "ctanl.c", |
| ] |
| configs -= [ "$zx/public/gn/config:user" ] |
| configs += [ "$zx/third_party/ulib/musl:musl_config" ] |
| deps = [ |
| "$zx/third_party/ulib/musl/third_party/complex", |
| ] |
| } |