| 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 28 matching lines...) Expand all Loading... |
| 39 "src/c/stdlib.c", | 39 "src/c/stdlib.c", |
| 40 "src/c/tcn.h", | 40 "src/c/tcn.h", |
| 41 "src/c/tcn_api.h", | 41 "src/c/tcn_api.h", |
| 42 "src/c/tcn_version.h", | 42 "src/c/tcn_version.h", |
| 43 "src/c/thread.c", | 43 "src/c/thread.c", |
| 44 "src/c/user.c", | 44 "src/c/user.c", |
| 45 ] | 45 ] |
| 46 include_dirs = [ "../apache-portable-runtime/src/include" ] | 46 include_dirs = [ "../apache-portable-runtime/src/include" ] |
| 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_all_but_jni_onload" ] |
| 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_java") { | 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", |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 } |
| OLD | NEW |