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

Side by Side Diff: third_party/libwebp/BUILD.gn

Issue 2865363002: Compile Skia image encoders (Closed)
Patch Set: Fix ios and win Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « skia/ext/skia_encode_image.cc ('k') | third_party/libwebp/README.chromium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/arm.gni") 5 import("//build/config/arm.gni")
6 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 7
8 config("libwebp_config") { 8 config("libwebp_config") {
9 include_dirs = [ "." ] 9 include_dirs = [ "." ]
10 } 10 }
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 ] 71 ]
72 all_dependent_configs = [ ":libwebp_config" ] 72 all_dependent_configs = [ ":libwebp_config" ]
73 configs -= [ "//build/config/compiler:chromium_code" ] 73 configs -= [ "//build/config/compiler:chromium_code" ]
74 configs += [ "//build/config/compiler:no_chromium_code" ] 74 configs += [ "//build/config/compiler:no_chromium_code" ]
75 deps = [ 75 deps = [
76 ":libwebp_utils", 76 ":libwebp_utils",
77 ":libwebp_webp", 77 ":libwebp_webp",
78 ] 78 ]
79 } 79 }
80 80
81 static_library("libwebp_mux") {
82 sources = [
83 "mux/anim_encode.c",
84 "mux/muxedit.c",
85 "mux/muxinternal.c",
86 "mux/muxread.c",
87 ]
88 all_dependent_configs = [ ":libwebp_config" ]
89 configs -= [ "//build/config/compiler:chromium_code" ]
90 configs += [ "//build/config/compiler:no_chromium_code" ]
91 deps = [
92 ":libwebp_utils",
93 ":libwebp_webp",
94 ]
95 }
96
81 static_library("libwebp_dsp") { 97 static_library("libwebp_dsp") {
82 sources = [ 98 sources = [
83 "dsp/alpha_processing.c", 99 "dsp/alpha_processing.c",
84 "dsp/alpha_processing_mips_dsp_r2.c", 100 "dsp/alpha_processing_mips_dsp_r2.c",
85 "dsp/argb.c", 101 "dsp/argb.c",
86 "dsp/argb_mips_dsp_r2.c", 102 "dsp/argb_mips_dsp_r2.c",
87 "dsp/common_sse2.h", 103 "dsp/common_sse2.h",
88 "dsp/cost.c", 104 "dsp/cost.c",
89 "dsp/cost_mips32.c", 105 "dsp/cost_mips32.c",
90 "dsp/cost_mips_dsp_r2.c", 106 "dsp/cost_mips_dsp_r2.c",
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 352
337 public_configs = [ ":libwebp_utils_warnings" ] 353 public_configs = [ ":libwebp_utils_warnings" ]
338 } 354 }
339 355
340 group("libwebp") { 356 group("libwebp") {
341 deps = [ 357 deps = [
342 ":libwebp_dec", 358 ":libwebp_dec",
343 ":libwebp_demux", 359 ":libwebp_demux",
344 ":libwebp_dsp", 360 ":libwebp_dsp",
345 ":libwebp_enc", 361 ":libwebp_enc",
362 ":libwebp_mux",
346 ":libwebp_utils", 363 ":libwebp_utils",
347 ] 364 ]
348 public_configs = [ ":libwebp_config" ] 365 public_configs = [ ":libwebp_config" ]
349 if (use_dsp_neon) { 366 if (use_dsp_neon) {
350 deps += [ ":libwebp_dsp_neon" ] 367 deps += [ ":libwebp_dsp_neon" ]
351 } 368 }
352 } 369 }
OLDNEW
« no previous file with comments | « skia/ext/skia_encode_image.cc ('k') | third_party/libwebp/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698