Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80fa85c5 authored by Raman Tenneti's avatar Raman Tenneti Committed by Gerrit Code Review
Browse files

Merge "Revert "add unittests for libnativeloader""

parents ce813ef6 4ec2b289
Loading
Loading
Loading
Loading
+0 −23
Original line number Diff line number Diff line
@@ -70,26 +70,3 @@ cc_library_headers {
    host_supported: true,
    export_include_dirs: ["include"],
}

cc_test {
    name: "libnativeloader_test",
    srcs: [
        "native_loader_test.cpp",
        "native_loader.cpp",
        "library_namespaces.cpp",
        "native_loader_namespace.cpp",
        "public_libraries.cpp",
    ],
    cflags: ["-DANDROID"],
    static_libs: [
        "libbase",
        "liblog",
        "libnativehelper",
        "libgmock",
    ],
    header_libs: [
        "libnativebridge-headers",
        "libnativeloader-headers",
    ],
    system_shared_libs: ["libc"],
}
+1 −4
Original line number Diff line number Diff line
@@ -42,10 +42,7 @@ class LibraryNamespaces {
  LibraryNamespaces& operator=(const LibraryNamespaces&) = delete;

  void Initialize();
  void Reset() {
    namespaces_.clear();
    initialized_ = false;
  }
  void Reset() { namespaces_.clear(); }
  NativeLoaderNamespace* Create(JNIEnv* env, uint32_t target_sdk_version, jobject class_loader,
                                bool is_shared, jstring dex_path, jstring java_library_path,
                                jstring java_permitted_path, std::string* error_msg);
+0 −566

File deleted.

Preview size limit exceeded, changes collapsed.