[Impeller] Copy shaders lib to output directory (flutter/engine#37225)
This commit is contained in:
@@ -94,7 +94,10 @@ impeller_component("impellerc") {
|
|||||||
|
|
||||||
sources = [ "impellerc_main.cc" ]
|
sources = [ "impellerc_main.cc" ]
|
||||||
|
|
||||||
deps = [ ":compiler_lib" ]
|
deps = [
|
||||||
|
":compiler_lib",
|
||||||
|
"shader_lib",
|
||||||
|
]
|
||||||
|
|
||||||
metadata = {
|
metadata = {
|
||||||
entitlement_file_path = [ "impellerc" ]
|
entitlement_file_path = [ "impellerc" ]
|
||||||
|
|||||||
10
engine/src/flutter/impeller/compiler/shader_lib/BUILD.gn
Normal file
10
engine/src/flutter/impeller/compiler/shader_lib/BUILD.gn
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# 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.
|
||||||
|
|
||||||
|
group("shader_lib") {
|
||||||
|
deps = [
|
||||||
|
"./flutter",
|
||||||
|
"./impeller",
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
# 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.
|
||||||
|
|
||||||
|
copy("flutter") {
|
||||||
|
sources = [ "runtime_effect.glsl" ]
|
||||||
|
outputs = [ "$root_out_dir/shader_lib/flutter/{{source_file_part}}" ]
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
# 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.
|
||||||
|
|
||||||
|
copy("impeller") {
|
||||||
|
sources = [
|
||||||
|
"blending.glsl",
|
||||||
|
"branching.glsl",
|
||||||
|
"color.glsl",
|
||||||
|
"constants.glsl",
|
||||||
|
"gaussian.glsl",
|
||||||
|
"texture.glsl",
|
||||||
|
"transform.glsl",
|
||||||
|
"types.glsl",
|
||||||
|
]
|
||||||
|
outputs = [ "$root_out_dir/shader_lib/impeller/{{source_file_part}}" ]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user