From 170ad0fe1a0a13351f476f854f7e7541f3c6c353 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Mon, 12 Jul 2021 16:53:05 -0700 Subject: [PATCH] Don't specify the secondary build tree when importing glfw. (flutter/engine#27344) This lookup is implicit in GN. Explicitly specifying the glfw in //build/secondary makes GN think multiple sources generate the same intermediate object file. This used to work because no other target also includes glfw. But I am changing that in an upcoming test harness. --- engine/src/flutter/shell/platform/glfw/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/glfw/BUILD.gn b/engine/src/flutter/shell/platform/glfw/BUILD.gn index a0b7dbda63..4b2e948492 100644 --- a/engine/src/flutter/shell/platform/glfw/BUILD.gn +++ b/engine/src/flutter/shell/platform/glfw/BUILD.gn @@ -54,12 +54,12 @@ source_set("flutter_glfw") { deps = [ ":flutter_glfw_headers", - "//build/secondary/third_party/glfw", "//flutter/shell/platform/common:common_cpp", "//flutter/shell/platform/common:common_cpp_input", "//flutter/shell/platform/common/client_wrapper:client_wrapper", "//flutter/shell/platform/embedder:embedder_as_internal_library", "//flutter/shell/platform/glfw/client_wrapper:client_wrapper_glfw", + "//third_party/glfw", "//third_party/rapidjson", ]