diff options
author | 2015-12-22 14:56:59 +0000 | |
---|---|---|
committer | 2015-12-22 19:17:45 +0000 | |
commit | 18d209582e0bb1caed97102a86b416173f5aad42 (patch) | |
tree | 5c79afefe9f895a6b752d98d92127a6c0884f846 | |
parent | 424446ba807186a374e1789296d651ddfe6f214c (diff) |
Override notice file for OpenJdk based modules.
Change-Id: Iff63708c83c2a18b82f0de6aa884e1388ed8b32b
-rw-r--r-- | NOTICE | 36 | ||||
-rw-r--r-- | runtime/Android.mk | 3 | ||||
-rw-r--r-- | runtime/openjdkjvm/NOTICE | 29 | ||||
-rw-r--r-- | runtime/openjdkjvm/OpenjdkJvm.cc (renamed from runtime/native/OpenjdkJvm.cc) | 2 |
4 files changed, 32 insertions, 38 deletions
@@ -262,39 +262,3 @@ OpenBSD regex llvm/lib/Support/{reg*, COPYRIGHT.regex} pyyaml tests llvm/test/YAMLParser/{*.data, LICENSE.TXT} ARM contributions llvm/lib/Target/ARM/LICENSE.TXT md5 contributions llvm/lib/Support/MD5.cpp llvm/include/llvm/Support/MD5.h - -------------------------------------------------------------------- - -For art/runtime/OpenjdkJvm.cc (libopenjdkjvm.so) - -Copyright (C) 2014 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. - -------------------------------------------------------------------- diff --git a/runtime/Android.mk b/runtime/Android.mk index e4a370cabe..c561ac0846 100644 --- a/runtime/Android.mk +++ b/runtime/Android.mk @@ -362,7 +362,7 @@ LIBART_ENUM_OPERATOR_OUT_HEADER_FILES := \ thread_state.h \ verifier/method_verifier.h -LIBOPENJDKJVM_SRC_FILES := native/OpenjdkJvm.cc +LIBOPENJDKJVM_SRC_FILES := openjdkjvm/OpenjdkJvm.cc LIBART_CFLAGS := -DBUILDING_LIBART=1 @@ -560,6 +560,7 @@ endif else LOCAL_SHARED_LIBRARIES += libartd endif + LOCAL_NOTICE_FILE := $(LOCAL_PATH)/openjdkjvm/NOTICE endif LOCAL_ADDITIONAL_DEPENDENCIES := art/build/Android.common_build.mk LOCAL_ADDITIONAL_DEPENDENCIES += $$(LOCAL_PATH)/Android.mk diff --git a/runtime/openjdkjvm/NOTICE b/runtime/openjdkjvm/NOTICE new file mode 100644 index 0000000000..700a206a6c --- /dev/null +++ b/runtime/openjdkjvm/NOTICE @@ -0,0 +1,29 @@ +Copyright (C) 2014 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. diff --git a/runtime/native/OpenjdkJvm.cc b/runtime/openjdkjvm/OpenjdkJvm.cc index db9ad5cb83..ab0d93431a 100644 --- a/runtime/native/OpenjdkJvm.cc +++ b/runtime/openjdkjvm/OpenjdkJvm.cc @@ -52,7 +52,7 @@ #include "../../libcore/ojluni/src/main/native/jvm.h" // TODO(narayan): fix it #include "jni_internal.h" #include "mirror/string-inl.h" -#include "scoped_fast_native_object_access.h" +#include "native/scoped_fast_native_object_access.h" #include "ScopedLocalRef.h" #include <sys/time.h> #include <sys/socket.h> |