From patchwork Fri Feb 1 23:06:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Gall X-Patchwork-Id: 14417 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 3279823F8B for ; Fri, 1 Feb 2013 23:07:10 +0000 (UTC) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by fiordland.canonical.com (Postfix) with ESMTP id E1A79A1941B for ; Fri, 1 Feb 2013 23:07:09 +0000 (UTC) Received: by mail-ve0-f173.google.com with SMTP id oz10so3378518veb.18 for ; Fri, 01 Feb 2013 15:07:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=lqAs+/XTRVkqCFRQ5VfPv5T3u5x38bUOkWut1aFGKk4=; b=odhojSbvD5Hfy76gaP6pCDaMbnwMqky600sqtn9mMeKlkCUbmiiKlO+6fZIYIBzjbO JWb04DhWkSRtcoo7dx/VWne1CrFzAqsX2V5rNcaFG/PigbxkuQRgBakpSkA7nYTFkFbL WHQjXED08WdXLRyU22yvcSLIALs0B2GYp1iINxG8Uap+UMHyvKQ5uvLBjT24LLlHKbdP WyqNSBtTKZH60UInS2BkegP0Rt343GQCOapWS4kLdZjr5rGn/boyNWxfLgebBetzLRux 5p1aQeJ2DdKxD2hL470hPy/II+ZqnREK28tddD9VjSvg/zLdQO90+VIyn6WJMt6ix9PM IzSA== X-Received: by 10.220.149.200 with SMTP id u8mr11627343vcv.7.1359760029352; Fri, 01 Feb 2013 15:07:09 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.252.8 with SMTP id zo8csp140907vec; Fri, 1 Feb 2013 15:07:08 -0800 (PST) X-Received: by 10.50.169.37 with SMTP id ab5mr250774igc.61.1359760028726; Fri, 01 Feb 2013 15:07:08 -0800 (PST) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [2607:f8b0:4001:c03::235]) by mx.google.com with ESMTPS id v6si2973132igv.70.2013.02.01.15.07.08 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Feb 2013 15:07:08 -0800 (PST) Received-SPF: neutral (google.com: 2607:f8b0:4001:c03::235 is neither permitted nor denied by best guess record for domain of tom.gall@linaro.org) client-ip=2607:f8b0:4001:c03::235; Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:4001:c03::235 is neither permitted nor denied by best guess record for domain of tom.gall@linaro.org) smtp.mail=tom.gall@linaro.org Received: by mail-ie0-f181.google.com with SMTP id 17so3938365iea.26 for ; Fri, 01 Feb 2013 15:07:07 -0800 (PST) X-Received: by 10.50.203.3 with SMTP id km3mr260796igc.64.1359760027776; Fri, 01 Feb 2013 15:07:07 -0800 (PST) Received: from mars.mantorvilleexpress.com ([70.35.96.184]) by mx.google.com with ESMTPS id px5sm4909818igc.0.2013.02.01.15.07.06 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Feb 2013 15:07:06 -0800 (PST) From: Tom Gall To: piglit@lists.freedesktop.org Cc: patches@linaro.org, Tom Gall Subject: [PATCH 7/7] Android: Add Android.mk to build invalid-es3-queries & minmax Date: Fri, 1 Feb 2013 17:06:39 -0600 Message-Id: <1359759999-31064-7-git-send-email-tom.gall@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1359759999-31064-1-git-send-email-tom.gall@linaro.org> References: <1359759999-31064-1-git-send-email-tom.gall@linaro.org> X-Gm-Message-State: ALoCoQkJ3wpg8T/hEtGyYmAXohAlHVHXqg9g27LSO49CSHTQlAk/k5KcNXiY+i3WQfgAYH1qNwPZ Adds Android.mk to build invalid-es3-queries & minmax. Test binaries are installed into /system/xbin/piglit/ Signed-off-by: Tom Gall --- tests/spec/gles-2.0/Android.mk | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 tests/spec/gles-2.0/Android.mk diff --git a/tests/spec/gles-2.0/Android.mk b/tests/spec/gles-2.0/Android.mk new file mode 100644 index 0000000..62137b4 --- /dev/null +++ b/tests/spec/gles-2.0/Android.mk @@ -0,0 +1,31 @@ +include $(call all-subdir-makefiles) + +LOCAL_PATH:= $(call my-dir) + +piglit_shared_libs := libGLESv2 libwaffle-1 libpiglitutil_gles2 +piglit_c_includes := $(piglit_top)/tests/util \ + bionic \ + $(piglit_top)/src \ + external/waffle/include/waffle \ + external/mesa3d/include \ + +piglit_c_flags := -DPIGLIT_USE_WAFFLE -DPIGLIT_USE_OPENGL_ES2 -DPIGLIT_HAS_ANDROID + +module_name = piglit-spec-gles2 + +define $(module_name)_etc_add_executable + include $(CLEAR_VARS) + LOCAL_SHARED_LIBRARIES := $(piglit_shared_libs) + LOCAL_C_INCLUDES := $(piglit_c_includes) + LOCAL_CFLAGS := $(piglit_c_flags) + LOCAL_MODULE_TAGS := optional + LOCAL_MODULE_CLASS := tests + LOCAL_MODULE := $1_gles2 + systemtarball: $1_gles2 + LOCAL_SRC_FILES := $1.c + LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)/piglit/$(module_name) + include $(BUILD_EXECUTABLE) +endef + +test_names := invalid-es3-queries minmax +$(foreach item,$(test_names),$(eval $(call $(module_name)_etc_add_executable, $(item))))