From patchwork Tue Sep 16 13:30:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 4918011 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2A099BEEA5 for ; Tue, 16 Sep 2014 13:32:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8EF51201ED for ; Tue, 16 Sep 2014 13:32:22 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 0754B200F0 for ; Tue, 16 Sep 2014 13:32:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 339716E0D4; Tue, 16 Sep 2014 06:32:20 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by gabe.freedesktop.org (Postfix) with ESMTP id 1D0B16E0D4 for ; Tue, 16 Sep 2014 06:32:17 -0700 (PDT) Received: by mail-wi0-f175.google.com with SMTP id cc10so6285317wib.14 for ; Tue, 16 Sep 2014 06:32:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hEatVhQYVor9t5qLNqPPBMgVQvb6aC4TP7fttvq2GQ8=; b=okTdODyV8C9FMi9UOjcOHfJjST3VtW2UYcchuVRqQa3QD36rTBZUi6WLUd5hTl4raU hskctD8tY3gMEwQdtgtE2w01FQkL8RxHu3LKys3PWXasxOWHg9qAAPBNO3TWgPJLDzSk G1DgxGyIlKEMBfWREjc9Huyj6F8mg3T5pniJvgHhd5qfGsStJxhncovYZyGo27gykvYB UpHRxqWsLT2gqUAPhqbEti6TwbZwyhhQMkHH2chNWstwqScT7k9UFK2xJa6S9pOkB2r4 frM+cCQWxFab80OMRJ6airrtcX4zrRQxBndp2ppHMZyrCJJaXt/hME0n3SysCl4dccCd cZyA== X-Received: by 10.194.189.233 with SMTP id gl9mr41762604wjc.2.1410874333703; Tue, 16 Sep 2014 06:32:13 -0700 (PDT) Received: from arch-laptop.localdomain (cpc6-nott17-2-0-cust458.12-2.cable.virginm.net. [86.0.53.203]) by mx.google.com with ESMTPSA id hi4sm18392452wjb.46.2014.09.16.06.32.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Sep 2014 06:32:12 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCHv2 09/18] modetest: add Android build Date: Tue, 16 Sep 2014 14:30:58 +0100 Message-Id: <1410874258-31457-1-git-send-email-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1410125413-19465-10-git-send-email-emil.l.velikov@gmail.com> References: <1410125413-19465-10-git-send-email-emil.l.velikov@gmail.com> Cc: emil.l.velikov@gmail.com, Benjamin Gaignard X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP v2: include modetest rather than modeset. Spotted by Mauro Rossi and Paulo Sergio. Cc: Benjamin Gaignard Signed-off-by: Emil Velikov Reviewed-by: Jakob Bornecrantz (v1) --- Android.mk | 3 ++- tests/modetest/Android.mk | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 tests/modetest/Android.mk diff --git a/Android.mk b/Android.mk index 4d02b05..6f76113 100644 --- a/Android.mk +++ b/Android.mk @@ -56,7 +56,8 @@ SUBDIRS := \ intel \ nouveau \ radeon \ - libkms + libkms \ + tests/modetest mkfiles := $(patsubst %,$(LIBDRM_TOP)/%/Android.mk,$(SUBDIRS)) include $(mkfiles) diff --git a/tests/modetest/Android.mk b/tests/modetest/Android.mk new file mode 100644 index 0000000..0a32b5f --- /dev/null +++ b/tests/modetest/Android.mk @@ -0,0 +1,14 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) +include $(LOCAL_PATH)/Makefile.sources + +LOCAL_SRC_FILES := $(MODETEST_FILES) + +LOCAL_MODULE := modetest + +LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libdrm + +LOCAL_SHARED_LIBRARIES := libdrm libkms + +include $(BUILD_EXECUTABLE)