mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
31 lines
764 B
Plaintext
31 lines
764 B
Plaintext
|
# Copyright 2015 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.
|
||
|
|
||
|
# A tool that removes all non-interface-specific parts from a .jar file.
|
||
|
|
||
|
if (current_toolchain == host_toolchain) {
|
||
|
executable("ijar") {
|
||
|
sources = [
|
||
|
"classfile.cc",
|
||
|
"common.h",
|
||
|
"ijar.cc",
|
||
|
"mapped_file.h",
|
||
|
"zip.cc",
|
||
|
"zip.h",
|
||
|
]
|
||
|
if (is_win) {
|
||
|
sources += [ "mapped_file_windows.cc" ]
|
||
|
} else {
|
||
|
sources += [ "mapped_file_unix.cc" ]
|
||
|
}
|
||
|
|
||
|
# Always build release since this is a build tool.
|
||
|
if (is_debug) {
|
||
|
configs -= [ "//build/config:debug" ]
|
||
|
configs += [ "//build/config:release" ]
|
||
|
}
|
||
|
ldflags = [ "-lz" ]
|
||
|
}
|
||
|
}
|