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 source_set("sdch") { |
10 sources = [ | 10 sources = [ |
11 "open-vcdiff/src/addrcache.cc", | 11 "open-vcdiff/src/addrcache.cc", |
12 "open-vcdiff/src/blockhash.cc", | 12 "open-vcdiff/src/blockhash.cc", |
13 "open-vcdiff/src/blockhash.h", | 13 "open-vcdiff/src/blockhash.h", |
14 "open-vcdiff/src/checksum.h", | 14 "open-vcdiff/src/checksum.h", |
15 "open-vcdiff/src/codetable.cc", | 15 "open-vcdiff/src/codetable.cc", |
16 "open-vcdiff/src/codetable.h", | 16 "open-vcdiff/src/codetable.h", |
17 "open-vcdiff/src/compile_assert.h", | 17 "open-vcdiff/src/compile_assert.h", |
18 "open-vcdiff/src/decodetable.cc", | 18 "open-vcdiff/src/decodetable.cc", |
19 "open-vcdiff/src/decodetable.h", | 19 "open-vcdiff/src/decodetable.h", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 53 |
54 deps = [ "//third_party/zlib" ] | 54 deps = [ "//third_party/zlib" ] |
55 | 55 |
56 if (is_clang) { | 56 if (is_clang) { |
57 cflags = [ | 57 cflags = [ |
58 # TODO(mostynb): remove this if open-vcdiff is ever updated for c++11: | 58 # TODO(mostynb): remove this if open-vcdiff is ever updated for c++11: |
59 "-Wno-deprecated-declarations", | 59 "-Wno-deprecated-declarations", |
60 ] | 60 ] |
61 } | 61 } |
62 } | 62 } |
OLD | NEW |