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 # Because size is a concern, don't link against all of base. Instead, | 5 # Because size is a concern, don't link against all of base. Instead, |
6 # just bring in a copy of the one component that's needed, along with | 6 # just bring in a copy of the one component that's needed, along with |
7 # the adapter that allows it to be called from C (not C++) code. | 7 # the adapter that allows it to be called from C (not C++) code. |
8 static_library("goobsdiff_sha1_adapter") { | 8 static_library("goobsdiff_sha1_adapter") { |
9 visibility = [ ":*" ] | 9 visibility = [ ":*" ] |
10 | 10 |
11 check_includes = false | 11 check_includes = false |
12 | 12 |
13 sources = [ | 13 sources = [ |
14 "../../../../../base/sha1_portable.cc", | 14 "../../../../../base/sha1.cc", |
15 "sha1_adapter.cc", | 15 "sha1_adapter.cc", |
16 "sha1_adapter.h", | 16 "sha1_adapter.h", |
17 ] | 17 ] |
18 } | 18 } |
19 | 19 |
20 executable("goobsdiff") { | 20 executable("goobsdiff") { |
21 sources = [ | 21 sources = [ |
22 "goobsdiff.c", | 22 "goobsdiff.c", |
23 ] | 23 ] |
24 | 24 |
(...skipping 26 matching lines...) Expand all Loading... |
51 "//chrome/installer/mac/third_party/xz:lzma_decompress", | 51 "//chrome/installer/mac/third_party/xz:lzma_decompress", |
52 ] | 52 ] |
53 | 53 |
54 cflags = [ "-Os" ] | 54 cflags = [ "-Os" ] |
55 | 55 |
56 libs = [ | 56 libs = [ |
57 "bz2", | 57 "bz2", |
58 "z", | 58 "z", |
59 ] | 59 ] |
60 } | 60 } |
OLD | NEW |