mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
34 lines
826 B
Plaintext
34 lines
826 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" ]
|
|
deps = [
|
|
"//build/config:exe_and_shlib_deps",
|
|
]
|
|
}
|
|
}
|