1 # Copyright 2017 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 LOCAL_CPP_EXTENSION := .cc
8 cros_gralloc/cros_gralloc_buffer.cc \
9 cros_gralloc/cros_gralloc_driver.cc \
10 cros_gralloc/cros_gralloc_helpers.cc \
11 cros_gralloc/i915_private_android.cc
13 ifeq ($(strip $(BOARD_USES_GRALLOC1)), true)
14 LOCAL_SRC_FILES += cros_gralloc/gralloc1/cros_gralloc1_module.cc
15 LOCAL_CPPFLAGS += -DUSE_GRALLOC1
17 LOCAL_SRC_FILES += cros_gralloc/gralloc0/gralloc0.cc