# Copyright 2018 Google Inc. | |
# | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
import("skcms.gni") | |
config("skcms_public") { | |
include_dirs = [ "." ] | |
} | |
source_set("skcms") { | |
public_configs = [ ":skcms_public" ] | |
cflags = [] | |
if (!is_win || is_clang) { | |
cflags += [ | |
"-w", | |
"-std=c11", | |
] | |
} | |
defines = [ "SKCMS_LEGACY_POWF" ] | |
public = [ | |
"skcms.h", | |
] | |
sources = skcms_sources | |
} |