Honglin Yu | c17bb43 | 2020-06-17 23:55:46 +1000 | [diff] [blame] | 1 | # Copyright 2020 The Chromium OS Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | group("all") { |
| 6 | deps = [ |
| 7 | ":libutf", |
| 8 | ] |
| 9 | } |
| 10 | |
| 11 | static_library("libutf") { |
| 12 | sources = [ |
| 13 | "rune.c", |
| 14 | "runestrcat.c", |
| 15 | "runestrchr.c", |
| 16 | "runestrcmp.c", |
| 17 | "runestrcpy.c", |
| 18 | "runestrdup.c", |
| 19 | "runestrecpy.c", |
| 20 | "runestrlen.c", |
| 21 | "runestrncat.c", |
| 22 | "runestrncmp.c", |
| 23 | "runestrncpy.c", |
| 24 | "runestrrchr.c", |
| 25 | "runestrstr.c", |
| 26 | "runetype.c", |
| 27 | "utfecpy.c", |
| 28 | "utflen.c", |
| 29 | "utfnlen.c", |
| 30 | "utfrrune.c", |
| 31 | "utfrune.c", |
| 32 | "utfutf.c", |
| 33 | ] |
| 34 | |
| 35 | # Make the library into a standalone one. |
| 36 | configs += [ |
| 37 | "//common-mk:nouse_thin_archive" |
| 38 | ] |
| 39 | configs -= [ "//common-mk:use_thin_archive" ] |
| 40 | } |