OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/shim_headers.gni") | 5 import("//build/shim_headers.gni") |
6 | 6 |
7 shim_headers("libjpeg_shim") { | 7 shim_headers("libjpeg_shim") { |
8 root_path = "." | 8 root_path = "." |
9 headers = [ "jpeglib.h" ] | 9 headers = [ "jpeglib.h" ] |
10 } | 10 } |
11 | 11 |
12 source_set("libjpeg") { | 12 source_set("libjpeg") { |
13 deps = [ | 13 deps = [ |
14 ":libjpeg_shim", | 14 ":libjpeg_shim", |
15 ] | 15 ] |
16 libs = [ "jpeg" ] | 16 libs = [ "jpeg" ] |
17 } | 17 } |
18 | 18 |
19 source_set("simd") { | 19 source_set("simd") { |
20 } | 20 } |
21 | 21 |
22 source_set("simd_asm") { | 22 source_set("simd_asm") { |
23 } | 23 } |
| 24 |
| 25 config("libjpeg_config") { |
| 26 } |
OLD | NEW |