1# Copyright 2020 The ANGLE Project 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. 4# 5# This file houses the build configuration for the ANGLE NULL back-end. 6 7import("../../../../gni/angle.gni") 8 9assert(angle_enable_null) 10 11_null_backend_sources = [ 12 "BufferNULL.cpp", 13 "BufferNULL.h", 14 "CompilerNULL.cpp", 15 "CompilerNULL.h", 16 "ContextNULL.cpp", 17 "ContextNULL.h", 18 "DeviceNULL.cpp", 19 "DeviceNULL.h", 20 "DisplayNULL.cpp", 21 "DisplayNULL.h", 22 "FenceNVNULL.cpp", 23 "FenceNVNULL.h", 24 "FramebufferNULL.cpp", 25 "FramebufferNULL.h", 26 "ImageNULL.cpp", 27 "ImageNULL.h", 28 "ProgramNULL.cpp", 29 "ProgramNULL.h", 30 "ProgramPipelineNULL.cpp", 31 "ProgramPipelineNULL.h", 32 "QueryNULL.cpp", 33 "QueryNULL.h", 34 "RenderbufferNULL.cpp", 35 "RenderbufferNULL.h", 36 "SamplerNULL.cpp", 37 "SamplerNULL.h", 38 "ShaderNULL.cpp", 39 "ShaderNULL.h", 40 "SurfaceNULL.cpp", 41 "SurfaceNULL.h", 42 "SyncNULL.cpp", 43 "SyncNULL.h", 44 "TextureNULL.cpp", 45 "TextureNULL.h", 46 "TransformFeedbackNULL.cpp", 47 "TransformFeedbackNULL.h", 48 "VertexArrayNULL.cpp", 49 "VertexArrayNULL.h", 50] 51 52config("angle_null_backend_config") { 53 defines = [ "ANGLE_ENABLE_NULL" ] 54} 55 56angle_source_set("angle_null_backend") { 57 sources = _null_backend_sources 58 59 public_deps = [ "$angle_root:libANGLE_headers" ] 60} 61