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

Unified Diff: third_party/BUILD.gn

Issue 2205553002: gn: Add asserts that libjpeg_turbo is not used on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/secondary/third_party/libjpeg_turbo/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/BUILD.gn
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index f3ea1273804e2635c3d33eb17d6a5d15f6ea69ce..f973f84fb70e412cf6f67713ee480ac09b14168c 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -6,6 +6,8 @@ if (is_android) {
import("//build/config/android/config.gni")
}
+assert(!is_ios, "This is not used on iOS, don't drag it in unintentionally")
+
declare_args() {
# Uses system libjpeg. If true, overrides use_libjpeg_turbo.
use_system_libjpeg = false
« no previous file with comments | « build/secondary/third_party/libjpeg_turbo/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698