From 5e6e952b2ed549c576cf751577b8cc755cb415a4 Mon Sep 17 00:00:00 2001 From: Trevor Radcliffe Date: Wed, 22 Mar 2023 20:21:04 +0000 Subject: Add build file for CFI file Bug: 251217226 Test: Unit tests Change-Id: If4d3b608d185918f3f3606bb01785bd424817eb1 --- lib/cfi/BUILD | 15 +++++++++++++++ lib/cfi/LICENSE | 29 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 lib/cfi/BUILD create mode 100644 lib/cfi/LICENSE diff --git a/lib/cfi/BUILD b/lib/cfi/BUILD new file mode 100644 index 000000000..0a8014cf7 --- /dev/null +++ b/lib/cfi/BUILD @@ -0,0 +1,15 @@ +# Copyright (C) 2023 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +exports_files(["cfi_blocklist.txt"]) diff --git a/lib/cfi/LICENSE b/lib/cfi/LICENSE new file mode 100644 index 000000000..05df1dbcb --- /dev/null +++ b/lib/cfi/LICENSE @@ -0,0 +1,29 @@ +Copyright (C) 2023 The Android Open Source Project +DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + +This file implements interfaces from the file jvm.h. This implementation +is licensed under the same terms as the file jvm.h. The +copyright and license information for the file jvm.h follows. + +Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. +DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + +This code is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License version 2 only, as +published by the Free Software Foundation. Oracle designates this +particular file as subject to the "Classpath" exception as provided +by Oracle in the LICENSE file that accompanied this code. + +This code is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +version 2 for more details (a copy is included in the LICENSE file that +accompanied this code). + +You should have received a copy of the GNU General Public License version +2 along with this work; if not, write to the Free Software Foundation, +Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + +Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +or visit www.oracle.com if you need additional information or have any +questions. -- cgit v1.2.3 From 266d31ba02190a2d908107cf0161a8ebcbeb3865 Mon Sep 17 00:00:00 2001 From: Trevor Radcliffe Date: Tue, 28 Mar 2023 20:27:23 +0000 Subject: Remove unnecessary LICENSE file Bug: 251217226 Test: N/A Change-Id: Id91e41bfba82aaebfd2eb52d2f0d4674b4a7d8bf --- lib/cfi/LICENSE | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 lib/cfi/LICENSE diff --git a/lib/cfi/LICENSE b/lib/cfi/LICENSE deleted file mode 100644 index 05df1dbcb..000000000 --- a/lib/cfi/LICENSE +++ /dev/null @@ -1,29 +0,0 @@ -Copyright (C) 2023 The Android Open Source Project -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - -This file implements interfaces from the file jvm.h. This implementation -is licensed under the same terms as the file jvm.h. The -copyright and license information for the file jvm.h follows. - -Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - -This code is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License version 2 only, as -published by the Free Software Foundation. Oracle designates this -particular file as subject to the "Classpath" exception as provided -by Oracle in the LICENSE file that accompanied this code. - -This code is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -version 2 for more details (a copy is included in the LICENSE file that -accompanied this code). - -You should have received a copy of the GNU General Public License version -2 along with this work; if not, write to the Free Software Foundation, -Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - -Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA -or visit www.oracle.com if you need additional information or have any -questions. -- cgit v1.2.3