OLD | NEW |
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 | 6 |
7 config("libwebp_config") { | 7 config("libwebp_config") { |
8 include_dirs = [ "." ] | 8 include_dirs = [ "." ] |
9 } | 9 } |
10 | 10 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 ":libwebp_config" | 49 ":libwebp_config" |
50 ] | 50 ] |
51 configs -= [ "//build/config/compiler:chromium_code" ] | 51 configs -= [ "//build/config/compiler:chromium_code" ] |
52 configs += [ "//build/config/compiler:no_chromium_code" ] | 52 configs += [ "//build/config/compiler:no_chromium_code" ] |
53 } | 53 } |
54 | 54 |
55 | 55 |
56 source_set("libwebp_dsp") { | 56 source_set("libwebp_dsp") { |
57 sources = [ | 57 sources = [ |
58 "dsp/alpha_processing.c", | 58 "dsp/alpha_processing.c", |
| 59 "dsp/alpha_processing_sse2.c", |
59 "dsp/cpu.c", | 60 "dsp/cpu.c", |
60 "dsp/dec.c", | 61 "dsp/dec.c", |
61 "dsp/dec_clip_tables.c", | 62 "dsp/dec_clip_tables.c", |
62 "dsp/dec_mips32.c", | 63 "dsp/dec_mips32.c", |
63 "dsp/dec_sse2.c", | 64 "dsp/dec_sse2.c", |
64 "dsp/enc.c", | 65 "dsp/enc.c", |
65 "dsp/enc_avx2.c", | 66 "dsp/enc_avx2.c", |
66 "dsp/enc_mips32.c", | 67 "dsp/enc_mips32.c", |
67 "dsp/enc_sse2.c", | 68 "dsp/enc_sse2.c", |
68 "dsp/lossless.c", | 69 "dsp/lossless.c", |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 ":libwebp_enc", | 194 ":libwebp_enc", |
194 ":libwebp_utils", | 195 ":libwebp_utils", |
195 ] | 196 ] |
196 public_configs = [ | 197 public_configs = [ |
197 ":libwebp_config" | 198 ":libwebp_config" |
198 ] | 199 ] |
199 if (use_dsp_neon) { | 200 if (use_dsp_neon) { |
200 deps += [ ":libwebp_dsp_neon" ] | 201 deps += [ ":libwebp_dsp_neon" ] |
201 } | 202 } |
202 } | 203 } |
OLD | NEW |