aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2015-04-10 04:45:33 -0700
committerSean Paul <seanpaul@chromium.org>2015-04-15 06:16:44 -0700
commitcfc06ccf45d7766e57d185dc266b2cc4e02ec98f (patch)
treeedf3fcb701c62afca9fdb36953d2672b63c67aba /Android.mk
parentc10555daef886ddf6a3e50a542cc5718d03cd7df (diff)
downloaddrm_hwcomposer-cfc06ccf45d7766e57d185dc266b2cc4e02ec98f.tar.gz
drm_hwcomposer: Gate compilation on BOARD_USES_DRM_HWCOMPOSER
To avoid compiling on unwanted platforms. Change-Id: Iec8122d32c25ea10fc68fa78e6e051e186ff0efb Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 820235b..e3c3f0e 100644
--- a/Android.mk
+++ b/Android.mk
@@ -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