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("sdch_config") { | 5 config("sdch_config") { |
6 include_dirs = [ "open-vcdiff/src" ] | 6 include_dirs = [ "open-vcdiff/src" ] |
7 } | 7 } |
8 | 8 |
9 static_library("sdch") { | 9 static_library("sdch") { |
10 sources = [ | 10 sources = [ |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 include_dirs = [ "linux" ] | 45 include_dirs = [ "linux" ] |
46 } else if (is_ios) { | 46 } else if (is_ios) { |
47 include_dirs = [ "ios" ] | 47 include_dirs = [ "ios" ] |
48 } else if (is_mac) { | 48 } else if (is_mac) { |
49 include_dirs = [ "mac" ] | 49 include_dirs = [ "mac" ] |
50 } else if (is_win) { | 50 } else if (is_win) { |
51 include_dirs = [ "win" ] | 51 include_dirs = [ "win" ] |
52 } | 52 } |
53 | 53 |
54 deps = [ "//third_party/zlib" ] | 54 deps = [ "//third_party/zlib" ] |
| 55 |
| 56 if (is_clang) { |
| 57 cflags = [ |
| 58 # TODO(mostynb): remove this if open-vcdiff is ever updated for c++11: |
| 59 "-Wno-deprecated-declarations", |
| 60 ] |
| 61 } |
55 } | 62 } |
OLD | NEW |