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

Commit 7622958

Browse files
committed
Move FLUTTER_ENABLE_DIFF_CONTEXT to //flutter:config
1 parent 303698c commit 7622958

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

BUILD.gn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ config("config") {
2828
if (is_fuchsia && flutter_enable_legacy_fuchsia_embedder) {
2929
defines = [ "LEGACY_FUCHSIA_EMBEDDER" ]
3030
}
31+
32+
if (is_debug) {
33+
defines = [ "FLUTTER_ENABLE_DIFF_CONTEXT" ]
34+
}
3135
}
3236

3337
config("export_dynamic_symbols") {

flow/BUILD.gn

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ import("//build/fuchsia/sdk.gni")
66
import("//flutter/common/config.gni")
77
import("//flutter/testing/testing.gni")
88

9-
config("config") {
10-
if (is_debug) {
11-
defines = [ "FLUTTER_ENABLE_DIFF_CONTEXT" ]
12-
}
13-
}
14-
159
source_set("flow") {
1610
sources = [
1711
"compositor_context.cc",
@@ -76,10 +70,7 @@ source_set("flow") {
7670
"surface_frame.h",
7771
]
7872

79-
public_configs = [
80-
"//flutter:config",
81-
":config",
82-
]
73+
public_configs = [ "//flutter:config" ]
8374

8475
deps = [
8576
"//flutter/common",

0 commit comments

Comments
 (0)