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

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

Issue 338633004: GN: Fix up various gpu targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « gpu/config/BUILD.gn ('k') | tools/gn/secondary/third_party/nss/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 defines += [ 96 defines += [
97 "MACHO", 97 "MACHO",
98 ] 98 ]
99 include_dirs = [ "mac" ] 99 include_dirs = [ "mac" ]
100 } else if (is_linux) { 100 } else if (is_linux) {
101 defines += [ 101 defines += [
102 "ELF", 102 "ELF",
103 ] 103 ]
104 include_dirs = [ "linux" ] 104 include_dirs = [ "linux" ]
105 } 105 }
106
107 } 106 }
108 107
109 } 108 }
110 109
111 source_set("simd") { 110 source_set("simd") {
112 if (cpu_arch == "x86") { 111 if (cpu_arch == "x86") {
113 deps = [ ":simd_asm" ] 112 deps = [ ":simd_asm" ]
114 sources = [ 113 sources = [
115 "simd/jsimd_i386.c", 114 "simd/jsimd_i386.c",
116 ] 115 ]
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 # MSan builds for now. 207 # MSan builds for now.
209 # TODO: Enable on Linux when .asm files are recognized. 208 # TODO: Enable on Linux when .asm files are recognized.
210 if (is_msan || is_linux) { 209 if (is_msan || is_linux) {
211 sources += [ "jsimd_none.c" ] 210 sources += [ "jsimd_none.c" ]
212 } else { 211 } else {
213 deps = [ ":simd" ] 212 deps = [ ":simd" ]
214 } 213 }
215 214
216 # TODO(GYP): Compile the .asm files with YASM as GYP does. 215 # TODO(GYP): Compile the .asm files with YASM as GYP does.
217 } 216 }
OLDNEW
« no previous file with comments | « gpu/config/BUILD.gn ('k') | tools/gn/secondary/third_party/nss/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698