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

Side by Side 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: Make the build work on clang-tot bot Created 4 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Builds the Netty fork of Tomcat Native. See http://netty.io/wiki/forked-tomcat -native.html
2 {
3 'targets': [
4 {
5 'target_name': 'netty-tcnative-so',
6 'product_name': 'netty-tcnative',
7 'type': 'shared_library',
8 'sources': [
9 'src/c/address.c',
10 'src/c/bb.c',
11 'src/c/dir.c',
12 'src/c/error.c',
13 'src/c/file.c',
14 'src/c/info.c',
15 'src/c/jnilib.c',
16 'src/c/lock.c',
17 'src/c/misc.c',
18 'src/c/mmap.c',
19 'src/c/multicast.c',
20 'src/c/network.c',
21 'src/c/os.c',
22 'src/c/os_unix_system.c',
23 'src/c/os_unix_uxpipe.c',
24 'src/c/poll.c',
25 'src/c/pool.c',
26 'src/c/proc.c',
27 'src/c/shm.c',
28 'src/c/ssl.c',
29 'src/c/sslcontext.c',
30 'src/c/sslinfo.c',
31 'src/c/sslnetwork.c',
32 'src/c/ssl_private.h',
33 'src/c/sslutils.c',
34 'src/c/stdlib.c',
35 'src/c/tcn_api.h',
36 'src/c/tcn.h',
37 'src/c/tcn_version.h',
38 'src/c/thread.c',
39 'src/c/user.c',
40 ],
41 'include_dirs': [
42 '../apache-portable-runtime/src/include',
43 ],
44 'defines': [
45 'HAVE_OPENSSL',
46 ],
47 'cflags': [
48 '-w',
49 ],
50 'dependencies': [
51 '../apache-portable-runtime/apr.gyp:apr',
52 '../boringssl/boringssl.gyp:boringssl',
53 ],
54 'variables': {
55 'use_native_jni_exports': 1,
56 },
57 'conditions': [
58 ['component=="shared_library"', {
59 'direct_dependent_settings': {
60 'variables': {
61 'netty_tcnative_so_file_name': 'libnetty-tcnative.cr.so',
mef 2016/01/26 22:36:48 Can this do a copy and set 'additional_bundled_lib
kapishnikov 2016/01/27 00:46:07 I moved the copying and setting the shared library
mef 2016/01/27 16:08:08 Acknowledged.
62 },
63 },
64 }, {
65 'direct_dependent_settings': {
66 'variables': {
67 'netty_tcnative_so_file_name': 'libnetty-tcnative.so',
68 },
69 },
70 }],
71 ],
72 },
73 {
74 'target_name': 'netty-tcnative',
75 'type': 'none',
76 'variables': {
77 'java_in_dir': 'src/java',
78 'javac_includes': [ '**/org/apache/tomcat/jni/*.java' ],
79 'run_findbugs': 0,
80 },
81 'includes': [ '../../build/java.gypi' ],
82 'dependencies': [
83 'netty-tcnative-so',
84 ],
85 },
86 ],
87 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698