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

Side by Side Diff: runtime/vm/BUILD.gn

Issue 1744573002: Fix Flutter Dart role (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | sdk/lib/rules.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 config("libdart_vm_config") { 5 config("libdart_vm_config") {
6 libs = [ 6 libs = [
7 "dl", 7 "dl",
8 ] 8 ]
9 9
10 if (!is_android) { 10 if (!is_android) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 configs += ["..:dart_config"] 48 configs += ["..:dart_config"]
49 public_configs = [":libdart_vm_config"] 49 public_configs = [":libdart_vm_config"]
50 50
51 vm_sources_list = exec_script("../../tools/gypi_to_gn.py", 51 vm_sources_list = exec_script("../../tools/gypi_to_gn.py",
52 [rebase_path("vm_sources.gypi")], 52 [rebase_path("vm_sources.gypi")],
53 "scope", 53 "scope",
54 ["vm_sources.gypi"]) 54 ["vm_sources.gypi"])
55 55
56 set_sources_assignment_filter(["*_test.cc", "*_test.h"]) 56 set_sources_assignment_filter(["*_test.cc", "*_test.h"])
57 sources = vm_sources_list.sources 57 sources = vm_sources_list.sources
58 - ["vtune.cc", "vtune.h"]
59 include_dirs = [ 58 include_dirs = [
60 "..", 59 "..",
61 ] 60 ]
62 } 61 }
63 62
64 63
65 static_library("libdart_vm_precompiled_runtime") { 64 static_library("libdart_vm_precompiled_runtime") {
66 configs += ["..:dart_config_no_precompiler"] 65 configs += ["..:dart_config_no_precompiler"]
67 public_configs = [":libdart_vm_config"] 66 public_configs = [":libdart_vm_config"]
68 defines = ["DART_PRECOMPILED_RUNTIME"] 67 defines = ["DART_PRECOMPILED_RUNTIME"]
69 vm_sources_list = exec_script("../../tools/gypi_to_gn.py", 68 vm_sources_list = exec_script("../../tools/gypi_to_gn.py",
70 [rebase_path("vm_sources.gypi")], 69 [rebase_path("vm_sources.gypi")],
71 "scope", 70 "scope",
72 ["vm_sources.gypi"]) 71 ["vm_sources.gypi"])
73 72
74 set_sources_assignment_filter(["*_test.cc", "*_test.h"]) 73 set_sources_assignment_filter(["*_test.cc", "*_test.h"])
75 sources = vm_sources_list.sources 74 sources = vm_sources_list.sources
76 - ["vtune.cc", "vtune.h"]
77 include_dirs = [ 75 include_dirs = [
78 "..", 76 "..",
79 ] 77 ]
80 } 78 }
81 79
82 80
83 static_library("libdart_vm_nosnapshot") { 81 static_library("libdart_vm_nosnapshot") {
84 configs += ["..:dart_config"] 82 configs += ["..:dart_config"]
85 public_configs = [":libdart_vm_config"] 83 public_configs = [":libdart_vm_config"]
86 defines = [ "DART_NO_SNAPSHOT" ] 84 defines = [ "DART_NO_SNAPSHOT" ]
87 vm_sources_list = exec_script("../../tools/gypi_to_gn.py", 85 vm_sources_list = exec_script("../../tools/gypi_to_gn.py",
88 [rebase_path("vm_sources.gypi")], 86 [rebase_path("vm_sources.gypi")],
89 "scope", 87 "scope",
90 ["vm_sources.gypi"]) 88 ["vm_sources.gypi"])
91 89
92 set_sources_assignment_filter(["*_test.cc", "*_test.h"]) 90 set_sources_assignment_filter(["*_test.cc", "*_test.h"])
93 sources = vm_sources_list.sources 91 sources = vm_sources_list.sources
94 - ["vtune.cc", "vtune.h"]
95 include_dirs = [ 92 include_dirs = [
96 "..", 93 "..",
97 ] 94 ]
98 } 95 }
99 96
100 97
101 template("generate_library_source") { 98 template("generate_library_source") {
102 assert(defined(invoker.libname), "Need libname in $target_name") 99 assert(defined(invoker.libname), "Need libname in $target_name")
103 assert(defined(invoker.filename), "Need a filename in $target_name") 100 assert(defined(invoker.filename), "Need a filename in $target_name")
104 assert(defined(invoker.kind), "Need kind in $target_name") 101 assert(defined(invoker.kind), "Need kind in $target_name")
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 ["developer", "developer"], 214 ["developer", "developer"],
218 ["_internal", "internal"], 215 ["_internal", "internal"],
219 ["isolate", "isolate"], 216 ["isolate", "isolate"],
220 ["math", "math"], 217 ["math", "math"],
221 ["mirrors", "mirrors"], 218 ["mirrors", "mirrors"],
222 ["profiler", "profiler"], 219 ["profiler", "profiler"],
223 ["typed_data", "typed_data"], 220 ["typed_data", "typed_data"],
224 ["_vmservice", "vmservice"], 221 ["_vmservice", "vmservice"],
225 ] 222 ]
226 } 223 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698