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

Commit cc356db5 authored by Dan Albert's avatar Dan Albert Committed by Android Git Automerger
Browse files

am 5ee74388: Merge "Disallow using stlport."

* commit '5ee74388':
  Disallow using stlport.
parents 015b89cc 5ee74388
Loading
Loading
Loading
Loading
+2 −12
Original line number Diff line number Diff line
@@ -72,18 +72,8 @@ ifneq ($(filter $(my_cxx_stl),libc++ libc++_static),)
            my_shared_libraries += libdl
        endif
    endif
else ifneq ($(filter $(my_cxx_stl),stlport stlport_static),)
    ifndef LOCAL_IS_HOST_MODULE
        my_c_includes += external/stlport/stlport bionic/libstdc++/include \
                         bionic
        ifeq ($(my_cxx_stl),stlport)
            my_shared_libraries += libstdc++ libstlport
        else
            my_static_libraries += libstdc++ libstlport_static
        endif
    endif
else ifeq ($(my_cxx_stl),ndk)
    # Using an NDK STL. Handled farther up in this file.
    # Using an NDK STL. Handled in binary.mk.
    ifndef LOCAL_IS_HOST_MODULE
        my_system_shared_libraries += libstdc++
    endif
@@ -102,5 +92,5 @@ else ifeq ($(my_cxx_stl),none)
        my_ldlibs += $($(my_prefix)$(HOST_OS)_$(my_link_type)_gcclibs)
    endif
else
    $(error $(my_cxx_stl) is not a supported STL.)
    $(error $(LOCAL_PATH): $(LOCAL_MODULE): $(my_cxx_stl) is not a supported STL.)
endif