1// Copyright (C) 2017 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 // The native sources are GPLv2 with classpath exception. 17 // SPDX-license-identifier-GPL-2.0-with-classpath-exception 18 // For general tips, see http://go/android-license-faq 19 default_applicable_licenses: ["libcore_ojluni_src_main_license"], 20} 21 22filegroup { 23 name: "libopenjdk_native_srcs", 24 visibility: [ 25 "//libcore", 26 ], 27 srcs: [ 28 "ZipFile.c", 29 "Inflater.c", 30 "Deflater.c", 31 "CRC32.c", 32 "Adler32.c", 33 "zip_util.c", 34 "jni_util.c", 35 "jni_util_md.c", 36 "io_util.c", 37 "canonicalize_md.c", 38 "FileDescriptor_md.c", 39 "DatagramChannelImpl.c", 40 "DatagramDispatcher.c", 41 "Console_md.c", 42 "IOUtil.c", 43 "PollArrayWrapper.c", 44 "SocketChannelImpl.c", 45 "FileChannelImpl.c", 46 "FileDispatcherImpl.c", 47 "FileInputStream.c", 48 "FileSystemPreferences.c", 49 "EPoll.c", 50 "EPollPort.c", 51 "UnixAsynchronousServerSocketChannelImpl.c", 52 "UnixAsynchronousSocketChannelImpl.c", 53 "io_util_md.c", 54 "NativeThread.c", 55 "FileKey.c", 56 "UnixFileSystem_md.c", 57 "ObjectStreamClass.c", 58 "ObjectOutputStream.c", 59 "ObjectInputStream.c", 60 "LinuxNativeDispatcher.c", 61 "LinuxWatchService.c", 62 "UnixCopyFile.c", 63 "UnixNativeDispatcher.c", 64 "InetAddress.c", 65 "net_util.c", 66 "net_util_md.c", 67 "Net.c", 68 "MappedByteBuffer.c", 69 "Inet6Address.c", 70 "Inet4Address.c", 71 "linux_close.cpp", 72 "ServerSocketChannelImpl.c", 73 "SocketInputStream.c", 74 "SocketOutputStream.c", 75 "Float.c", 76 "Double.c", 77 "StrictMath.c", 78 "Math.c", 79 "ProcessEnvironment_md.c", 80 "System.c", 81 "Runtime.c", 82 "UNIXProcess_md.c", 83 "Character.cpp", 84 "socket_tagger_util.cpp", 85 "OnLoad.cpp", 86 "JniConstants.cpp", 87 "UnixDomainSockets.c", 88 "jdk_internal_misc_VM.cpp", 89 ], 90} 91