OSDN Git Service

Clarify new dependencies since project Treble.
authorNicolas Capens <capn@google.com>
Thu, 31 Aug 2017 16:41:40 +0000 (12:41 -0400)
committerNicolas Capens <nicolascapens@google.com>
Thu, 31 Aug 2017 17:09:18 +0000 (17:09 +0000)
Change-Id: Ia4feb6791c6da8dc4beef86aab7eb4fa06af461b
Reviewed-on: https://swiftshader-review.googlesource.com/11869
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
src/Android.mk
src/OpenGL/libEGL/Android.mk
src/OpenGL/libGLES_CM/Android.mk
src/OpenGL/libGLESv2/Android.mk

index 1029b83..8621c9f 100644 (file)
@@ -21,8 +21,8 @@ COMMON_C_INCLUDES += \
        $(LOCAL_PATH)/../third_party/LLVM/include
 endif
 
-# libnativewindow is introduced from O
-ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26 && echo O),O)
+# Project Treble is introduced from Oreo
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26 && echo Oreo),Oreo)
 COMMON_SHARED_LIBRARIES := libnativewindow liblog
 COMMON_HEADER_LIBRARIES := libhardware_headers libnativebase_headers
 COMMON_STATIC_LIBRARIES := libarect
index 6020ee3..dd3796c 100644 (file)
@@ -39,8 +39,8 @@ COMMON_SHARED_LIBRARIES := \
        libcutils \
        libhardware
 
-# libnativewindow is introduced from O
-ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26 && echo O),O)
+# Project Treble is introduced from Oreo
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26 && echo Oreo),Oreo)
 COMMON_SHARED_LIBRARIES += libnativewindow
 COMMON_STATIC_LIBRARIES += libarect
 COMMON_HEADER_LIBRARIES += libnativebase_headers
index 06da2bd..12b68e1 100644 (file)
@@ -61,8 +61,8 @@ COMMON_SHARED_LIBRARIES := \
        libcutils \
        libhardware
 
-# libnativewindow is introduced from O
-ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26 && echo O),O)
+# Project Treble is introduced from Oreo
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26 && echo Oreo),Oreo)
 COMMON_SHARED_LIBRARIES += libnativewindow
 COMMON_STATIC_LIBRARIES += libarect
 COMMON_HEADER_LIBRARIES := libnativebase_headers
index a2f393f..12c4e9a 100644 (file)
@@ -68,8 +68,8 @@ COMMON_SHARED_LIBRARIES := \
        libcutils \
        libhardware
 
-# libnativewindow is introduced from O
-ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26 && echo O),O)
+# Project Treble is introduced from Oreo
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26 && echo Oreo),Oreo)
 COMMON_SHARED_LIBRARIES += libnativewindow
 COMMON_STATIC_LIBRARIES += libarect
 COMMON_HEADER_LIBRARIES := libnativebase_headers