mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
61 lines
1.2 KiB
Plaintext
61 lines
1.2 KiB
Plaintext
|
# Copyright 2016 The Chromium Authors. All rights reserved.
|
||
|
# Use of this source code is governed by a BSD-style license that can be
|
||
|
# found in the LICENSE file.
|
||
|
|
||
|
# Because size is a concern, don't link against all of base. Instead,
|
||
|
# just bring in a copy of the one component that's needed, along with
|
||
|
# the adapter that allows it to be called from C (not C++) code.
|
||
|
static_library("goobsdiff_sha1_adapter") {
|
||
|
visibility = [ ":*" ]
|
||
|
|
||
|
check_includes = false
|
||
|
|
||
|
sources = [
|
||
|
"../../../../../base/sha1.cc",
|
||
|
"sha1_adapter.cc",
|
||
|
"sha1_adapter.h",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
executable("goobsdiff") {
|
||
|
sources = [
|
||
|
"goobsdiff.c",
|
||
|
]
|
||
|
|
||
|
configs -= [ "//build/config/compiler:chromium_code" ]
|
||
|
configs += [ "//build/config/compiler:no_chromium_code" ]
|
||
|
|
||
|
deps = [
|
||
|
":goobsdiff_sha1_adapter",
|
||
|
"//chrome/installer/mac/third_party/xz:lzma",
|
||
|
]
|
||
|
|
||
|
cflags = [ "-Os" ]
|
||
|
|
||
|
libs = [
|
||
|
"bz2",
|
||
|
"z",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
executable("goobspatch") {
|
||
|
sources = [
|
||
|
"goobspatch.c",
|
||
|
]
|
||
|
|
||
|
configs -= [ "//build/config/compiler:chromium_code" ]
|
||
|
configs += [ "//build/config/compiler:no_chromium_code" ]
|
||
|
|
||
|
deps = [
|
||
|
":goobsdiff_sha1_adapter",
|
||
|
"//chrome/installer/mac/third_party/xz:lzma_decompress",
|
||
|
]
|
||
|
|
||
|
cflags = [ "-Os" ]
|
||
|
|
||
|
libs = [
|
||
|
"bz2",
|
||
|
"z",
|
||
|
]
|
||
|
}
|