Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Unified Diff: third_party/ijar/BUILD.gn

Issue 1323053003: Add ijar to third_party and use it for generating .jar.toc files in GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compiled_action
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/ijar/BUILD ('k') | third_party/ijar/LICENSE » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/ijar/BUILD.gn
diff --git a/third_party/ijar/BUILD.gn b/third_party/ijar/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..214bf19307e145273e18df1bc4958bc86bd524c6
--- /dev/null
+++ b/third_party/ijar/BUILD.gn
@@ -0,0 +1,29 @@
+# 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",
+ "zip.cc",
+ "zip.h",
+ ]
+ configs -= [
+ "//build/config/compiler:chromium_code",
+ "//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!)
+ ]
+ configs += [
+ "//build/config/compiler:no_chromium_code",
+ "//build/config:release",
+ ]
+ ldflags = [ "-lz" ]
+ deps = [
+ "//build/config/sanitizers:deps",
+ ]
+ }
+}
« no previous file with comments | « third_party/ijar/BUILD ('k') | third_party/ijar/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698