mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[Impeller] Copy shaders lib to output directory (flutter/engine#37225)
This commit is contained in:
parent
bf1ab2f268
commit
eb408f324d
@ -94,7 +94,10 @@ impeller_component("impellerc") {
|
||||
|
||||
sources = [ "impellerc_main.cc" ]
|
||||
|
||||
deps = [ ":compiler_lib" ]
|
||||
deps = [
|
||||
":compiler_lib",
|
||||
"shader_lib",
|
||||
]
|
||||
|
||||
metadata = {
|
||||
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}}" ]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user