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

Unified Diff: build/secondary/third_party/libjpeg_turbo/BUILD.gn

Issue 2149483002: Reduce chrome.exe .text size by 50 KB with static_library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweaking comments Created 4 years, 5 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
Index: build/secondary/third_party/libjpeg_turbo/BUILD.gn
diff --git a/build/secondary/third_party/libjpeg_turbo/BUILD.gn b/build/secondary/third_party/libjpeg_turbo/BUILD.gn
index c14472d13b4f75c547401353414dfd7fe876d913..c65f10fdd4ba7072682ec61a6621cde0ca98dd14 100644
--- a/build/secondary/third_party/libjpeg_turbo/BUILD.gn
+++ b/build/secondary/third_party/libjpeg_turbo/BUILD.gn
@@ -100,7 +100,7 @@ if (current_cpu == "x86" || current_cpu == "x64") {
}
}
-source_set("simd") {
+static_library("simd") {
if (current_cpu == "x86") {
deps = [
":simd_asm",
@@ -141,7 +141,7 @@ config("libjpeg_config") {
include_dirs = [ "." ]
}
-source_set("libjpeg") {
+static_library("libjpeg") {
sources = [
"jcapimin.c",
"jcapistd.c",

Powered by Google App Engine
This is Rietveld 408576698