OSDN Git Service

drm_hwcomposer: Gate compilation on BOARD_USES_DRM_HWCOMPOSER
authorSean Paul <seanpaul@chromium.org>
Fri, 10 Apr 2015 11:45:33 +0000 (04:45 -0700)
committerSean Paul <seanpaul@chromium.org>
Wed, 15 Apr 2015 13:16:44 +0000 (06:16 -0700)
To avoid compiling on unwanted platforms.

Change-Id: Iec8122d32c25ea10fc68fa78e6e051e186ff0efb
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Android.mk

index 820235b..e3c3f0e 100644 (file)
@@ -12,6 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+ifeq ($(strip $(BOARD_USES_DRM_HWCOMPOSER)),true)
 
 LOCAL_PATH := $(call my-dir)
 include $(CLEAR_VARS)
@@ -54,3 +55,5 @@ LOCAL_MODULE_RELATIVE_PATH := hw
 LOCAL_MODULE_CLASS := SHARED_LIBRARIES
 LOCAL_MODULE_SUFFIX := $(TARGET_SHLIB_SUFFIX)
 include $(BUILD_SHARED_LIBRARY)
+
+endif