blob: 9656b91c69170c9966194d710923709cde9db822 [file] [log] [blame]
# Copyright 2018 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
config("skcms_public") {
include_dirs = [ "." ]
}
source_set("skcms") {
public_configs = [ ":skcms_public" ]
cflags = []
if (!is_win || is_clang) {
cflags += [
"-w",
"-std=c11",
]
if (!is_clang) {
# This seems to be the default in newer GCCs, but of course we test with older GCCs.
cflags += [ "-flax-vector-conversions" ]
}
}
defines = []
sources = [
"skcms.c",
]
}