Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: build/secondary/third_party/libjpeg_turbo/BUILD.gn

Issue 595073002: Replace forward_dependent_configs with public_deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # Do not use the targets in this file unless you need a certain libjpeg 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. 6 # implementation. Use the meta target //third_party:jpeg instead.
7 7
8 if (cpu_arch == "arm") { 8 if (cpu_arch == "arm") {
9 import("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 } 10 }
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 ] 194 ]
195 195
196 defines = [ 196 defines = [
197 "WITH_SIMD", 197 "WITH_SIMD",
198 "MOTION_JPEG_SUPPORTED", 198 "MOTION_JPEG_SUPPORTED",
199 "NO_GETENV", 199 "NO_GETENV",
200 ] 200 ]
201 201
202 configs += [ ":libjpeg_config" ] 202 configs += [ ":libjpeg_config" ]
203 203
204 direct_dependent_configs = [ ":libjpeg_config" ] 204 public_configs = [ ":libjpeg_config" ]
205 205
206 # MemorySanitizer doesn't support assembly code, so keep it disabled in 206 # MemorySanitizer doesn't support assembly code, so keep it disabled in
207 # MSan builds for now. 207 # MSan builds for now.
208 # TODO: Enable on Linux when .asm files are recognized. 208 # TODO: Enable on Linux when .asm files are recognized.
209 if (is_msan || is_linux) { 209 if (is_msan || is_linux) {
210 sources += [ "jsimd_none.c" ] 210 sources += [ "jsimd_none.c" ]
211 } else { 211 } else {
212 deps = [ ":simd" ] 212 deps = [ ":simd" ]
213 } 213 }
214 214
215 # TODO(GYP): Compile the .asm files with YASM as GYP does. 215 # TODO(GYP): Compile the .asm files with YASM as GYP does.
216 } 216 }
OLDNEW
« no previous file with comments | « build/secondary/third_party/leveldatabase/BUILD.gn ('k') | build/secondary/third_party/libsrtp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698