summaryrefslogtreecommitdiff
path: root/chromium/third_party/BUILD.gn
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-07-12 14:07:37 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-07-17 10:29:26 +0000
commitec02ee4181c49b61fce1c8fb99292dbb8139cc90 (patch)
tree25cde714b2b71eb639d1cd53f5a22e9ba76e14ef /chromium/third_party/BUILD.gn
parentbb09965444b5bb20b096a291445170876225268d (diff)
downloadqtwebengine-chromium-ec02ee4181c49b61fce1c8fb99292dbb8139cc90.tar.gz
BASELINE: Update Chromium to 59.0.3071.134
Change-Id: Id02ef6fb2204c5fd21668a1c3e6911c83b17585a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/third_party/BUILD.gn')
-rw-r--r--chromium/third_party/BUILD.gn14
1 files changed, 14 insertions, 0 deletions
diff --git a/chromium/third_party/BUILD.gn b/chromium/third_party/BUILD.gn
index f973f84fb70..1fa7ac45b2a 100644
--- a/chromium/third_party/BUILD.gn
+++ b/chromium/third_party/BUILD.gn
@@ -43,3 +43,17 @@ group("jpeg") {
]
}
}
+
+# This is a meta target that forwards include paths only to the system's
+# libjpeg, third_party/libjpeg, or third_party/libjpeg_turbo depending on the
+# build args declared in this file. This is needed, rarely, for targets that
+# need to reference libjpeg without explicitly building it.
+group("jpeg_includes") {
+ if (use_system_libjpeg) {
+ public_configs = [ ":system_libjpeg_config" ]
+ } else if (use_libjpeg_turbo) {
+ public_configs = [ "//third_party/libjpeg_turbo:libjpeg_config" ]
+ } else {
+ public_configs = [ "//third_party/libjpeg:libjpeg_config" ]
+ }
+}