From patchwork Fri Feb 1 23:06:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Gall X-Patchwork-Id: 14415 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 7F8FA23F8B for ; Fri, 1 Feb 2013 23:07:04 +0000 (UTC) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by fiordland.canonical.com (Postfix) with ESMTP id 2134CA19414 for ; Fri, 1 Feb 2013 23:07:04 +0000 (UTC) Received: by mail-ve0-f174.google.com with SMTP id pb11so808618veb.19 for ; Fri, 01 Feb 2013 15:07:03 -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=NBiyUMrXS5z4D/pwLFsVvilABOiPXvOdsLb9f/u16Pk=; b=TDJfK0P73d1qQWwGh2zljHfZzmjTEI4jfvB1jw/HIINBU0qLwYViCQ7PIbAhky/IVp c8Ic/2yXfVde1bL1BA0aeenZHDwMl1sAuUZCV+qxztwNjGYRO0ApKr9BT3htQGEaKItm cvdvW47l5bYQeLU4A/xZhub+LA++9nn3DtOxPcpFwxIK2ch5/uLUonT9ebGAK37X0Vox WTquzWtX4X2/CLeBQktMigvfkMAFh87quNSKf1Kr/fYLwpY1Rx4VJJNbx7/m+SpnsTl5 d//679pJeQ/RlIkkrYDNFS9LkDRToo9xUErL7a+haxbDLnA/i8Y40J409DDdrTGBb0JS exuA== X-Received: by 10.58.231.196 with SMTP id ti4mr8756215vec.25.1359760023585; Fri, 01 Feb 2013 15:07:03 -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 zo8csp140900vec; Fri, 1 Feb 2013 15:07:03 -0800 (PST) X-Received: by 10.50.222.226 with SMTP id qp2mr218207igc.103.1359760022984; Fri, 01 Feb 2013 15:07:02 -0800 (PST) Received: from mail-ie0-x22c.google.com (ie-in-x022c.1e100.net [2607:f8b0:4001:c03::22c]) by mx.google.com with ESMTPS id bs4si1682998icc.71.2013.02.01.15.07.02 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Feb 2013 15:07:02 -0800 (PST) Received-SPF: neutral (google.com: 2607:f8b0:4001:c03::22c is neither permitted nor denied by best guess record for domain of tom.gall@linaro.org) client-ip=2607:f8b0:4001:c03::22c; Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:4001:c03::22c 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-f172.google.com with SMTP id c10so3925194ieb.17 for ; Fri, 01 Feb 2013 15:07:02 -0800 (PST) X-Received: by 10.50.6.230 with SMTP id e6mr315306iga.3.1359760022733; Fri, 01 Feb 2013 15:07:02 -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.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Feb 2013 15:07:01 -0800 (PST) From: Tom Gall To: piglit@lists.freedesktop.org Cc: patches@linaro.org, Tom Gall Subject: [PATCH 5/7] Android: build shader_runner with Android.mk Date: Fri, 1 Feb 2013 17:06:37 -0600 Message-Id: <1359759999-31064-5-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: ALoCoQmKFVtiu3J0fH2YzECxJBMM3EJSp0pC4+7Gklib/tPmAXwnytkD036XOtM2qM5+nQrEggah Adds Android.mk to build shader_runner. Signed-off-by: Tom Gall --- tests/shaders/Android.mk | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 tests/shaders/Android.mk diff --git a/tests/shaders/Android.mk b/tests/shaders/Android.mk new file mode 100644 index 0000000..5e81e3a --- /dev/null +++ b/tests/shaders/Android.mk @@ -0,0 +1,33 @@ +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-shader-test + +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 := eng + 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 := shader_runner +$(foreach item,$(test_names),$(eval $(call $(module_name)_etc_add_executable, $(item))))