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 "Inflater.c", 29 "Deflater.c", 30 "CRC32.c", 31 "Adler32.c", 32 "jni_util.c", 33 "jni_util_md.c", 34 "io_util.c", 35 "canonicalize_md.c", 36 "FileDescriptor_md.c", 37 "DatagramChannelImpl.c", 38 "DatagramDispatcher.c", 39 "Console_md.c", 40 "IOUtil.c", 41 "PollArrayWrapper.c", 42 "SocketChannelImpl.c", 43 "FileChannelImpl.c", 44 "FileDispatcherImpl.c", 45 "FileInputStream.c", 46 "FileSystemPreferences.c", 47 "EPoll.c", 48 "EPollPort.c", 49 "UnixAsynchronousServerSocketChannelImpl.c", 50 "UnixAsynchronousSocketChannelImpl.c", 51 "io_util_md.c", 52 "NativeThread.c", 53 "FileKey.c", 54 "UnixFileSystem_md.c", 55 "ObjectStreamClass.c", 56 "ObjectOutputStream.c", 57 "ObjectInputStream.c", 58 "LinuxNativeDispatcher.c", 59 "LinuxWatchService.c", 60 "UnixCopyFile.c", 61 "UnixNativeDispatcher.c", 62 "InetAddress.c", 63 "net_util.c", 64 "net_util_md.c", 65 "Net.c", 66 "MappedByteBuffer.c", 67 "Inet6Address.c", 68 "Inet4Address.c", 69 "linux_close.cpp", 70 "ServerSocketChannelImpl.c", 71 "SocketInputStream.c", 72 "SocketOutputStream.c", 73 "Float.c", 74 "Double.c", 75 "StrictMath.c", 76 "Math.c", 77 "ProcessEnvironment_md.c", 78 "System.c", 79 "Runtime.c", 80 "UNIXProcess_md.c", 81 "Character.cpp", 82 "socket_tagger_util.cpp", 83 "OnLoad.cpp", 84 "JniConstants.cpp", 85 "UnixDomainSockets.c", 86 "jdk_internal_misc_VM.cpp", 87 ], 88} 89