diff options
author | Dave Tapuska <dtapuska@chromium.org> | 2023-02-01 17:23:56 -0500 |
---|---|---|
committer | Dave Tapuska <dtapuska@chromium.org> | 2023-02-01 17:23:56 -0500 |
commit | 0b6e6a152242c2fa30ffb29633d1b7d7b229b46b (patch) | |
tree | c8d4fdede41dc3b4c0c33d95593b52a78f989232 | |
parent | ed683925e4897a84b3bffc5c1414c85b97a129a3 (diff) | |
download | libjpeg-turbo-0b6e6a152242c2fa30ffb29633d1b7d7b229b46b.tar.gz |
Allow blink for iOS to include libjpeg_turbo
A new build setting has been added that denotes whether blink
is being compiled, use that instead of is_ios.
Bug: 1411704
Change-Id: Ib41f6e54ea477b49f0fc1233cb3fba51196ce8e2
-rw-r--r-- | BUILD.gn | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,12 +5,13 @@ # Do not use the targets in this file unless you need a certain libjpeg # implementation. Use the meta target //third_party:jpeg instead. +import("//build/config/features.gni") import("//build/config/sanitizers/sanitizers.gni") if (current_cpu == "arm" || current_cpu == "arm64") { import("//build/config/arm.gni") } -assert(!is_ios, "This is not used on iOS, don't drag it in unintentionally") +assert(use_blink, "This is not used on if blink is not enabled, don't drag it in unintentionally") source_set("libjpeg_headers") { sources = [ |