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 config("libwebp_config") { | 5 config("libwebp_config") { |
6 include_dirs = [ "." ] | 6 include_dirs = [ "." ] |
7 } | 7 } |
8 | 8 |
9 source_set("libwebp_dec") { | 9 source_set("libwebp_dec") { |
10 sources = [ | 10 sources = [ |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 "dsp/enc.c", | 49 "dsp/enc.c", |
50 "dsp/enc_sse2.c", | 50 "dsp/enc_sse2.c", |
51 "dsp/lossless.c", | 51 "dsp/lossless.c", |
52 "dsp/upsampling.c", | 52 "dsp/upsampling.c", |
53 "dsp/upsampling_sse2.c", | 53 "dsp/upsampling_sse2.c", |
54 "dsp/yuv.c", | 54 "dsp/yuv.c", |
55 ] | 55 ] |
56 all_dependent_configs = [ | 56 all_dependent_configs = [ |
57 ":libwebp_config" | 57 ":libwebp_config" |
58 ] | 58 ] |
| 59 deps = [] |
| 60 if (is_android) { |
| 61 deps += [ "//third_party/android_tools:cpu_features" ] |
| 62 } |
59 # TODO(GYP): | 63 # TODO(GYP): |
60 # 'conditions': [ | 64 # 'conditions': [ |
61 # ['OS == "android"', { | |
62 # 'includes': [ '../../build/android/cpufeatures.gypi' ], | |
63 # }], | |
64 # ['order_profiling != 0', { | 65 # ['order_profiling != 0', { |
65 # 'target_conditions' : [ | 66 # 'target_conditions' : [ |
66 # ['_toolset=="target"', { | 67 # ['_toolset=="target"', { |
67 # 'cflags!': [ '-finstrument-functions' ], | 68 # 'cflags!': [ '-finstrument-functions' ], |
68 # }], | 69 # }], |
69 # ], | 70 # ], |
70 # }], | 71 # }], |
71 # ], | 72 # ], |
72 } | 73 } |
73 | 74 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 ":libwebp_dsp", | 153 ":libwebp_dsp", |
153 # TODO(GYP): | 154 # TODO(GYP): |
154 # ":libwebp_dsp_neon", | 155 # ":libwebp_dsp_neon", |
155 ":libwebp_enc", | 156 ":libwebp_enc", |
156 ":libwebp_utils", | 157 ":libwebp_utils", |
157 ] | 158 ] |
158 direct_dependent_configs = [ | 159 direct_dependent_configs = [ |
159 ":libwebp_config" | 160 ":libwebp_config" |
160 ] | 161 ] |
161 } | 162 } |
OLD | NEW |