libadf: adf_test: fix clang + kati build am: 09f8f986a9

am: 33d2307567

Change-Id: I29392e60e5ee2f2b8301bc63d0d4cf65fc7a73d8
This commit is contained in:
Greg Hackmann 2017-02-01 04:45:22 +00:00 committed by android-build-merger
commit 8b680f9c3f
2 changed files with 5 additions and 1 deletions

View file

@ -19,3 +19,5 @@ cc_library_static {
local_include_dirs: ["include"],
export_include_dirs: ["include"],
}
subdirs = ["tests"]

View file

@ -149,11 +149,13 @@ protected:
int eng;
private:
const static adf_id_t dev_id = 0;
const static adf_id_t dev_id;
const static __u32 fmt8888[];
const static size_t n_fmt8888;
};
const adf_id_t AdfTest::dev_id = 0;
const __u32 AdfTest::fmt8888[] = {
DRM_FORMAT_XRGB8888,
DRM_FORMAT_XBGR8888,