blob: 063d7f310593afaae8ff9f8368ba7fb16f225307 [file] [log] [blame]
# Copyright 2014 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.
# Do not use the targets in this file unless you need a certain libjpeg
# implementation. Use the meta target //third_party:jpeg instead.
config("libjpeg_config") {
include_dirs = [ "." ]
source_set("libjpeg") {
sources = [
defines = [ "NO_GETENV" ] # getenv() is not thread-safe.
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
public_configs = [ ":libjpeg_config" ]