|
2 | 2 | # Use of this source code is governed by a BSD-style license that can be
|
3 | 3 | # found in the LICENSE file.
|
4 | 4 |
|
5 |
| -# Ensure use_xcode_clang is visibile to ANGLE. |
6 |
| -import("//build/toolchain/toolchain.gni") |
7 |
| - |
8 |
| -# The ANGLE build requires this file to point to the location of third-party |
9 |
| -# dependencies. |
10 |
| -angle_root = "//third_party/angle" |
11 |
| - |
12 |
| -angle_vma_version = 30000001 |
13 |
| - |
14 |
| -# Flutter's buildroot looks enough like Chromium to satisfy Angle, and enough |
15 |
| -# to cause GN variable collisions if we don't set this. |
16 |
| -if (!is_fuchsia) { |
17 |
| - angle_has_build = true |
18 |
| -} |
19 |
| - |
20 |
| -# Overrides for ANGLE's dependencies. |
21 |
| -angle_abseil_cpp_dir = "//flutter/third_party/abseil-cpp" |
22 |
| -angle_glslang_dir = "//flutter/third_party/vulkan-deps/glslang/src" |
23 |
| -angle_googletest_dir = "//third_party/googletest/googletest/src" |
24 |
| - |
25 |
| -# Note: This path doesn't actually exist; see |
26 |
| -# //build/secondary/third_party/jsoncpp/BUILD.gn |
27 |
| -angle_jsoncpp_dir = "//third_party/jsoncpp" |
28 |
| -angle_libjpeg_turbo_dir = "//third_party/libjpeg_turbo" |
29 |
| -angle_libpng_dir = "//flutter/third_party/libpng" |
30 |
| -angle_spirv_headers_dir = "//flutter/third_party/vulkan-deps/spirv-headers/src" |
31 |
| -angle_spirv_tools_dir = "//flutter/third_party/vulkan-deps/spirv-tools/src" |
32 |
| -angle_spirv_cross_dir = "//flutter/third_party/vulkan-deps/spirv-cross/src" |
33 |
| -angle_spirv_headers_dir = "//flutter/third_party/vulkan-deps/spirv-headers/src" |
34 |
| -angle_vulkan_memory_allocator_dir = "//third_party/vulkan_memory_allocator" |
35 |
| - |
36 |
| -# This is a general Chromium flag, but in the Flutter build only ANGLE needs it |
37 |
| -# so it is defined here. |
38 |
| -is_cfi = false |
| 5 | +# This file is a temporary shim needed during the elimination of the buildroot. |
| 6 | +# See: https://github.com/flutter/flutter/issues/67373 |
| 7 | +import("//flutter/build_overrides/angle.gni") |
0 commit comments