| # Copyright 2013 The Flutter Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/compiled_action.gni") |
| import("//flutter/impeller/tools/impeller.gni") |
| import("//flutter/testing/testing.gni") |
| |
| if (enable_unittests) { |
| impellerc("spirv_compile_general_shaders") { |
| shaders = [ |
| "blue_green_sampler.frag", |
| "children_and_uniforms.frag", |
| "functions.frag", |
| "simple.frag", |
| "uniforms.frag", |
| ] |
| |
| shader_target_flag = "--flutter-spirv" |
| } |
| } |