| Index: runtime/vm/BUILD.gn
|
| diff --git a/runtime/vm/BUILD.gn b/runtime/vm/BUILD.gn
|
| index b22a9d5e200bfa9cb81b811da89d49d6c2a0d7fa..bb568895771edf0a9283ff50654395b76c4ecc67 100644
|
| --- a/runtime/vm/BUILD.gn
|
| +++ b/runtime/vm/BUILD.gn
|
| @@ -45,17 +45,18 @@ static_library("libdart_platform") {
|
| ]
|
| }
|
|
|
| +
|
| +vm_sources_list = exec_script("../../tools/gypi_to_gn.py",
|
| + [rebase_path("vm_sources.gypi")],
|
| + "scope",
|
| + ["vm_sources.gypi"])
|
| +
|
| +
|
| static_library("libdart_vm") {
|
| configs += ["..:dart_config",
|
| "..:dart_product_config",
|
| "..:dart_precompiled_runtime_config"]
|
| public_configs = [":libdart_vm_config"]
|
| -
|
| - vm_sources_list = exec_script("../../tools/gypi_to_gn.py",
|
| - [rebase_path("vm_sources.gypi")],
|
| - "scope",
|
| - ["vm_sources.gypi"])
|
| -
|
| set_sources_assignment_filter(["*_test.cc", "*_test.h"])
|
| sources = vm_sources_list.sources
|
| include_dirs = [
|
| @@ -70,11 +71,6 @@ static_library("libdart_vm_nosnapshot") {
|
| "..:dart_precompiled_runtime_config"]
|
| public_configs = [":libdart_vm_config"]
|
| defines = [ "DART_NO_SNAPSHOT" ]
|
| - vm_sources_list = exec_script("../../tools/gypi_to_gn.py",
|
| - [rebase_path("vm_sources.gypi")],
|
| - "scope",
|
| - ["vm_sources.gypi"])
|
| -
|
| set_sources_assignment_filter(["*_test.cc", "*_test.h"])
|
| sources = vm_sources_list.sources
|
| include_dirs = [
|
| @@ -89,11 +85,6 @@ static_library("libdart_vm_nosnapshot_with_precompiler") {
|
| "..:dart_precompiler_config"]
|
| public_configs = [":libdart_vm_config"]
|
| defines = [ "DART_NO_SNAPSHOT" ]
|
| - vm_sources_list = exec_script("../../tools/gypi_to_gn.py",
|
| - [rebase_path("vm_sources.gypi")],
|
| - "scope",
|
| - ["vm_sources.gypi"])
|
| -
|
| set_sources_assignment_filter(["*_test.cc", "*_test.h"])
|
| sources = vm_sources_list.sources
|
| include_dirs = [
|
|
|