OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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("zlib_config") { | 5 config("zlib_config") { |
6 include_dirs = [ "//third_party/zlib" ] | 6 include_dirs = [ "//third_party/zlib" ] |
7 } | 7 } |
8 | 8 |
9 static_library("zlib") { | 9 static_library("zlib") { |
10 if (!is_win) { | 10 if (!is_win) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 "$zlib_path/zutil.c", | 42 "$zlib_path/zutil.c", |
43 "$zlib_path/zutil.h", | 43 "$zlib_path/zutil.h", |
44 ] | 44 ] |
45 | 45 |
46 configs -= [ "//build/config/compiler:chromium_code" ] | 46 configs -= [ "//build/config/compiler:chromium_code" ] |
47 configs += [ "//build/config/compiler:no_chromium_code" ] | 47 configs += [ "//build/config/compiler:no_chromium_code" ] |
48 | 48 |
49 all_dependent_configs = [ ":zlib_config" ] | 49 all_dependent_configs = [ ":zlib_config" ] |
50 | 50 |
51 if (is_clang) { | 51 if (is_clang) { |
52 cflags = [ | 52 cflags = [ "-Wno-shift-negative-value" ] |
53 "-Wno-shift-negative-value", | |
54 ] | |
55 } | 53 } |
56 } | 54 } |
OLD | NEW |