1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 # Do not use the targets in this file unless you need a certain libjpeg
6 # implementation. Use the meta target //third_party:jpeg instead.
8 config("libjpeg_config") {
12 source_set("libjpeg") {
70 defines = [ "NO_GETENV" ] # getenv() is not thread-safe.
72 configs -= [ "//build/config/compiler:chromium_code" ]
75 "//build/config/compiler:no_chromium_code",
78 public_configs = [ ":libjpeg_config" ]