blob: 4521580544c5e1e4fa6d27a4d1095bc5179332af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build_overrides/build.gni")
config("tinycbor_internal_config") {
defines = [ "WITHOUT_OPEN_MEMSTREAM" ]
cflags = [ "-w" ] # Disable all warnings.
}
source_set("tinycbor") {
sources = [
"src/src/cbor.h",
"src/src/cborencoder.c",
"src/src/cborencoder_close_container_checked.c",
"src/src/cborerrorstrings.c",
"src/src/cborparser.c",
"src/src/cborpretty.c",
"src/src/cborvalidation.c",
"src/src/utf8_p.h",
]
configs += [ ":tinycbor_internal_config" ]
}
|