Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1082)

Unified Diff: runtime/BUILD.gn

Issue 2814513003: GN: Add libdart_jit and dart_api. (Closed)
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/BUILD.gn
diff --git a/runtime/BUILD.gn b/runtime/BUILD.gn
index 9bdb93f92f494517f9968def1974b37ab17f8f37..e834102c43e5db4099d80a745398d313ae43317e 100644
--- a/runtime/BUILD.gn
+++ b/runtime/BUILD.gn
@@ -203,6 +203,16 @@ config("dart_config") {
}
}
+source_set("dart_api") {
+ public_configs = [ ":dart_public_config" ]
+ sources = [
+ "include/dart_api.h",
+ "include/dart_mirrors_api.h",
+ "include/dart_native_api.h",
+ "include/dart_tools_api.h",
+ ]
+}
+
template("libdart_library") {
extra_configs = []
if (defined(invoker.extra_configs)) {
@@ -240,6 +250,8 @@ template("libdart_library") {
}
}
+# TODO(rmacnak): Remove after updating all clients to use libdart_jit
+# or libdart_precompiled_runtime.
libdart_library("libdart") {
extra_configs = [ ":dart_maybe_precompiled_runtime_config" ]
extra_deps = [
@@ -248,22 +260,18 @@ libdart_library("libdart") {
]
}
-libdart_library("libdart_precompiled_runtime") {
- extra_configs = [ ":dart_precompiled_runtime_config" ]
+libdart_library("libdart_jit") {
extra_deps = [
- "vm:libdart_lib_precompiled_runtime",
- "vm:libdart_vm_precompiled_runtime",
+ "vm:libdart_lib_jit",
+ "vm:libdart_vm_jit",
]
}
-libdart_library("libdart_nosnapshot") {
- extra_configs = [
- ":dart_no_snapshot_config",
- ":dart_maybe_precompiled_runtime_config",
- ]
+libdart_library("libdart_precompiled_runtime") {
+ extra_configs = [ ":dart_precompiled_runtime_config" ]
extra_deps = [
- "vm:libdart_lib_nosnapshot",
- "vm:libdart_vm_nosnapshot",
+ "vm:libdart_lib_precompiled_runtime",
+ "vm:libdart_vm_precompiled_runtime",
]
}
@@ -318,10 +326,10 @@ executable("libdart_dependency_helper") {
]
deps = [
"third_party/double-conversion/src:libdouble_conversion",
- "vm:libdart_lib",
- "vm:libdart_lib_nosnapshot",
- "vm:libdart_vm",
- "vm:libdart_vm_nosnapshot",
+ "vm:libdart_lib_jit",
+ "vm:libdart_lib_nosnapshot_with_precompiler",
+ "vm:libdart_vm_jit",
+ "vm:libdart_vm_nosnapshot_with_precompiler",
]
sources = [
"vm/libdart_dependency_helper.cc",
« no previous file with comments | « no previous file | runtime/bin/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698