OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # Builds the Netty fork of Tomcat Native. See http://netty.io/wiki/forked-tomcat
-native.html | 5 # Builds the Netty fork of Tomcat Native. See http://netty.io/wiki/forked-tomcat
-native.html |
6 | 6 |
7 import("//build/config/android/config.gni") | 7 import("//build/config/android/config.gni") |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 | 9 |
10 # Builds the native part of netty-tcnative library. | 10 # Builds the native part of netty-tcnative library. |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 defines = [ "HAVE_OPENSSL" ] | 47 defines = [ "HAVE_OPENSSL" ] |
48 cflags = [ "-w" ] | 48 cflags = [ "-w" ] |
49 configs -= [ "//build/config/android:hide_native_jni_exports" ] | 49 configs -= [ "//build/config/android:hide_native_jni_exports" ] |
50 deps = [ | 50 deps = [ |
51 "../apache-portable-runtime:apr", | 51 "../apache-portable-runtime:apr", |
52 "../boringssl:boringssl", | 52 "../boringssl:boringssl", |
53 ] | 53 ] |
54 } | 54 } |
55 | 55 |
56 # Builds the Java part of netty-tcnative library. | 56 # Builds the Java part of netty-tcnative library. |
57 android_library("netty-tcnative") { | 57 android_library("netty-tcnative_java") { |
58 java_files = [ | 58 java_files = [ |
59 "src/java/src/org/apache/tomcat/Apr.java", | 59 "src/java/src/org/apache/tomcat/Apr.java", |
60 "src/java/src/org/apache/tomcat/jni/Address.java", | 60 "src/java/src/org/apache/tomcat/jni/Address.java", |
61 "src/java/src/org/apache/tomcat/jni/BIOCallback.java", | 61 "src/java/src/org/apache/tomcat/jni/BIOCallback.java", |
62 "src/java/src/org/apache/tomcat/jni/Buffer.java", | 62 "src/java/src/org/apache/tomcat/jni/Buffer.java", |
63 "src/java/src/org/apache/tomcat/jni/CertificateVerifier.java", | 63 "src/java/src/org/apache/tomcat/jni/CertificateVerifier.java", |
64 "src/java/src/org/apache/tomcat/jni/Directory.java", | 64 "src/java/src/org/apache/tomcat/jni/Directory.java", |
65 "src/java/src/org/apache/tomcat/jni/Error.java", | 65 "src/java/src/org/apache/tomcat/jni/Error.java", |
66 "src/java/src/org/apache/tomcat/jni/FileInfo.java", | 66 "src/java/src/org/apache/tomcat/jni/FileInfo.java", |
67 "src/java/src/org/apache/tomcat/jni/File.java", | 67 "src/java/src/org/apache/tomcat/jni/File.java", |
(...skipping 28 matching lines...) Expand all Loading... |
96 "src/java/src/org/apache/tomcat/jni/Stdlib.java", | 96 "src/java/src/org/apache/tomcat/jni/Stdlib.java", |
97 "src/java/src/org/apache/tomcat/jni/Thread.java", | 97 "src/java/src/org/apache/tomcat/jni/Thread.java", |
98 "src/java/src/org/apache/tomcat/jni/Time.java", | 98 "src/java/src/org/apache/tomcat/jni/Time.java", |
99 "src/java/src/org/apache/tomcat/jni/User.java", | 99 "src/java/src/org/apache/tomcat/jni/User.java", |
100 ] | 100 ] |
101 run_findbugs_override = false | 101 run_findbugs_override = false |
102 deps = [ | 102 deps = [ |
103 "//base:base_java", | 103 "//base:base_java", |
104 ] | 104 ] |
105 } | 105 } |
106 | |
107 # Builds both the Java and native parts of netty-tcnative library. | |
108 group("netty-tcnative_all") { | |
109 deps = [ | |
110 ":netty-tcnative", | |
111 ":netty-tcnative-so", | |
112 ] | |
113 public_deps = [ | |
114 ":netty-tcnative-so", | |
115 ] | |
116 } | |
OLD | NEW |