aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/skcms/BUILD.gn
blob: d4e5220e2f9b14ffce0dd1a4c46c55eaa3efe293 (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
26
27
28
# 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
}