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

Unified Diff: third_party/netty-tcnative/netty-tcnative.gyp

Issue 1537473002: [third-party] Netty fork of Tomcat Native (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed DEPS hash of netty-tcnative commit Created 4 years, 11 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
Index: third_party/netty-tcnative/netty-tcnative.gyp
diff --git a/third_party/netty-tcnative/netty-tcnative.gyp b/third_party/netty-tcnative/netty-tcnative.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..d1dc3e26c63ea469dac73afac17bc85f942b900f
--- /dev/null
+++ b/third_party/netty-tcnative/netty-tcnative.gyp
@@ -0,0 +1,69 @@
+# Builds the Netty fork of Tomcat Native. See http://netty.io/wiki/forked-tomcat-native.html
+{
+ 'targets': [
+ {
+ 'target_name': 'netty-tcnative-so',
+ 'product_name': 'netty-tcnative',
+ 'type': 'shared_library',
+ 'sources': [
+ 'src/c/address.c',
+ 'src/c/bb.c',
+ 'src/c/dir.c',
+ 'src/c/error.c',
+ 'src/c/file.c',
+ 'src/c/info.c',
+ 'src/c/jnilib.c',
+ 'src/c/lock.c',
+ 'src/c/misc.c',
+ 'src/c/mmap.c',
+ 'src/c/multicast.c',
+ 'src/c/network.c',
+ 'src/c/os.c',
+ 'src/c/os_unix_system.c',
+ 'src/c/os_unix_uxpipe.c',
+ 'src/c/poll.c',
+ 'src/c/pool.c',
+ 'src/c/proc.c',
+ 'src/c/shm.c',
+ 'src/c/ssl.c',
+ 'src/c/sslcontext.c',
+ 'src/c/sslinfo.c',
+ 'src/c/sslnetwork.c',
+ 'src/c/ssl_private.h',
+ 'src/c/sslutils.c',
+ 'src/c/stdlib.c',
+ 'src/c/tcn_api.h',
+ 'src/c/tcn.h',
+ 'src/c/tcn_version.h',
+ 'src/c/thread.c',
+ 'src/c/user.c',
+ ],
+ 'include_dirs': [
+ '../apache-portable-runtime/src/include',
+ ],
+ 'defines': [
+ 'HAVE_OPENSSL',
+ ],
+ 'cflags': [
+ '-w',
+ ],
+ 'dependencies': [
+ '../apache-portable-runtime/apr.gyp:apr',
+ '../boringssl/boringssl.gyp:boringssl',
+ ],
+ 'variables': {
+ 'component': 'static_library',
+ 'use_native_jni_exports': 1,
+ }
+ },
+ {
+ 'target_name': 'netty-tcnative',
+ 'type': 'none',
+ 'variables': {
mef 2016/01/21 17:02:55 maybe add dependency to netty-tcnative-so target h
kapishnikov 2016/01/21 19:43:31 Done.
+ 'java_in_dir': 'src/java',
+ 'javac_includes': [ '**/org/apache/tomcat/jni/*.java' ],
+ },
+ 'includes': [ '../../build/java.gypi' ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698