Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust patch to work with newer versions of Dart #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions dart_sdk.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/BUILD.gn b/BUILD.gn
index 3dd681d9d41..a8e43bc5953 100644
index 7af5c7945d1..8185905877b 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -100,6 +100,10 @@ group("create_sdk") {
@@ -127,6 +127,10 @@ group("create_sdk") {
public_deps = [ "sdk:create_sdk" ]
}

Expand All @@ -14,10 +14,10 @@ index 3dd681d9d41..a8e43bc5953 100644
public_deps = [ "sdk:create_platform_sdk" ]
}
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 29ada988abb..2e4cf4ea9c8 100644
index b77bab8676c..b9739fab43a 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -260,8 +260,9 @@ config("compiler") {
@@ -254,8 +254,9 @@ config("compiler") {
cflags += [ "-fPIC" ]
ldflags += [ "-fPIC" ]
} else {
Expand All @@ -28,12 +28,12 @@ index 29ada988abb..2e4cf4ea9c8 100644
+ ldflags += [ "-fPIC" ]
}
}

diff --git a/runtime/bin/BUILD.gn b/runtime/bin/BUILD.gn
index be0893506f2..7c5bb919ad4 100644
index b3a1350fd57..068580dd219 100644
--- a/runtime/bin/BUILD.gn
+++ b/runtime/bin/BUILD.gn
@@ -1170,3 +1170,47 @@ if (defined(is_linux) && is_linux && defined(is_asan) && is_asan &&
@@ -1185,6 +1185,49 @@ if (defined(is_linux) && is_linux && defined(is_asan) && is_asan &&
}
}
}
Expand Down Expand Up @@ -81,3 +81,6 @@ index be0893506f2..7c5bb919ad4 100644
+ sources += [ "observatory_assets_empty.cc" ]
+ }
+}

source_set("dart_embedder_runtime_jit_set") {
include_dirs = [