GN: make libjpeg_turbo target Chrome-compatible
authormtklein <mtklein@chromium.org>
Thu, 18 Aug 2016 19:04:13 +0000 (12:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 18 Aug 2016 19:04:13 +0000 (12:04 -0700)
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2257903002

Review-Url: https://codereview.chromium.org/2257903002

BUILD.gn
third_party/libjpeg_turbo/BUILD.gn

index 1c1cfec26e7a548f08832cd4c63312b7e195fd75..b95abc9076805921149b75d7705379c900524e65 100644 (file)
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -190,7 +190,7 @@ component("skia") {
   deps = [
     "//third_party/expat",
     "//third_party/giflib",
-    "//third_party/libjpeg_turbo",
+    "//third_party/libjpeg_turbo:libjpeg",
     "//third_party/libpng",
     "//third_party/libwebp",
     "//third_party/sfntly",
index 46d925193ef5696537b9a57ba794d86cfcb1dcd7..95a381b8e69465c25368c2acb00188b9a32a22c3 100644 (file)
@@ -8,7 +8,7 @@ declare_args() {
 
 import("../third_party.gni")
 
-third_party("libjpeg_turbo") {
+third_party("libjpeg") {
   public_include_dirs = [ "../externals/libjpeg-turbo" ]
 
   defines = [ "TURBO_FOR_WINDOWS" ]