Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit f880b56

Browse files
authored
Made it so angle builds on linux (#56328)
fixes: flutter/flutter#151353 Before this PR, angle would not build on linux, now it does. example: ``` ./flutter/bin/et build -c host_debug_unopt //flutter/third_party/angle:libGLESv2 ``` There isn't a CI step that builds this today to verify it keeps working, I implemented this as part of the work to see if i could get the golden test runner working on linux. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
1 parent b7f070c commit f880b56

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

build_overrides/angle.gni

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ angle_spirv_headers_dir = "//flutter/third_party/vulkan-deps/spirv-headers/src"
3131
angle_spirv_tools_dir = "//flutter/third_party/vulkan-deps/spirv-tools/src"
3232
angle_spirv_cross_dir = "//flutter/third_party/vulkan-deps/spirv-cross/src"
3333
angle_spirv_headers_dir = "//flutter/third_party/vulkan-deps/spirv-headers/src"
34-
angle_vulkan_memory_allocator_dir =
35-
"//flutter/third_party/vulkan_memory_allocator"
34+
angle_vulkan_memory_allocator_dir = "//flutter/flutter_vma"
3635

3736
# This is a general Chromium flag, but in the Flutter build only ANGLE needs it
3837
# so it is defined here.

ci/licenses_golden/excluded_files

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
../../../flutter/flow/texture_unittests.cc
8585
../../../flutter/flow/view_slicer_unittests.cc
8686
../../../flutter/flutter_frontend_server
87+
../../../flutter/flutter_vma/include/README.md
8788
../../../flutter/fml/ascii_trie_unittests.cc
8889
../../../flutter/fml/backtrace_unittests.cc
8990
../../../flutter/fml/base32_unittest.cc

flutter_vma/include/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This folder is here to match Angle's expectations for the VMA directory.

0 commit comments

Comments
 (0)