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

Side by Side Diff: ui/gfx/BUILD.gn

Issue 267723015: Add GN targets for third_party/libjpeg_turbo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 if (is_android) { 6 if (is_android) {
7 import("//build/config/android/config.gni") 7 import("//build/config/android/config.gni")
8 } 8 }
9 9
10 # Several targets want to include this header file, and some of them are 10 # Several targets want to include this header file, and some of them are
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 "//ui/gfx/geometry", 257 "//ui/gfx/geometry",
258 ] 258 ]
259 259
260 # iOS. 260 # iOS.
261 if (is_ios) { 261 if (is_ios) {
262 sources -= [ 262 sources -= [
263 "codec/jpeg_codec.cc", 263 "codec/jpeg_codec.cc",
264 "codec/jpeg_codec.h", 264 "codec/jpeg_codec.h",
265 ] 265 ]
266 } else { 266 } else {
267 deps += [ "//third_party/libjpeg" ] 267 deps += [ "//third_party:jpeg" ]
268 } 268 }
269 269
270 # Android. 270 # Android.
271 if (is_android) { 271 if (is_android) {
272 sources -= [ 272 sources -= [
273 "animation/throb_animation.cc", 273 "animation/throb_animation.cc",
274 "canvas_skia.cc", 274 "canvas_skia.cc",
275 "display_observer.cc", 275 "display_observer.cc",
276 "selection_model.cc", 276 "selection_model.cc",
277 ] 277 ]
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 ] 456 ]
457 457
458 configs += [ "//build/config/linux:x11" ] 458 configs += [ "//build/config/linux:x11" ]
459 459
460 deps = [ 460 deps = [
461 ":gfx_export", 461 ":gfx_export",
462 "//base" 462 "//base"
463 ] 463 ]
464 } 464 }
465 } 465 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698