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("libpng_config") { | 5 config("libpng_config") { |
6 include_dirs = [ | 6 include_dirs = [ |
7 ".", | 7 ".", |
8 ] | 8 ] |
9 | 9 |
10 defines = [ | 10 defines = [ |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 "pngset.c", | 46 "pngset.c", |
47 "pngtrans.c", | 47 "pngtrans.c", |
48 "pngusr.h", | 48 "pngusr.h", |
49 "pngvcrd.c", | 49 "pngvcrd.c", |
50 "pngwio.c", | 50 "pngwio.c", |
51 "pngwrite.c", | 51 "pngwrite.c", |
52 "pngwtran.c", | 52 "pngwtran.c", |
53 "pngwutil.c", | 53 "pngwutil.c", |
54 ] | 54 ] |
55 | 55 |
56 configs -= "//build/config/compiler:chromium_code" | 56 configs -= [ "//build/config/compiler:chromium_code" ] |
57 configs += "//build/config/compiler:no_chromium_code" | 57 configs += [ "//build/config/compiler:no_chromium_code" ] |
58 | 58 |
59 forward_dependent_configs_from = [ "//third_party/zlib" ] | 59 forward_dependent_configs_from = [ "//third_party/zlib" ] |
60 | 60 |
61 direct_dependent_configs = [ ":libpng_config" ] | 61 direct_dependent_configs = [ ":libpng_config" ] |
62 | 62 |
63 deps = [ | 63 deps = [ |
64 "//third_party/zlib", | 64 "//third_party/zlib", |
65 ] | 65 ] |
66 } | 66 } |
OLD | NEW |