OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 # A tool that removes all non-interface-specific parts from a .jar file. | |
6 | |
7 if (current_toolchain == host_toolchain) { | |
8 executable("ijar") { | |
9 sources = [ | |
10 "classfile.cc", | |
11 "common.h", | |
12 "ijar.cc", | |
13 "zip.cc", | |
14 "zip.h", | |
15 ] | |
16 configs -= [ | |
17 "//build/config/compiler:chromium_code", | |
18 "//build/config:debug", | |
Dirk Pranke
2015/09/03 15:48:15
Does this fail in a release build?
agrieve
2015/09/03 18:38:49
No... no it does not. (fixed!)
| |
19 ] | |
20 configs += [ | |
21 "//build/config/compiler:no_chromium_code", | |
22 "//build/config:release", | |
23 ] | |
24 ldflags = [ "-lz" ] | |
25 deps = [ | |
26 "//build/config/sanitizers:deps", | |
27 ] | |
28 } | |
29 } | |
OLD | NEW |