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

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

Issue 2301833003: GN: Relativize occurrances of //dart (Closed)
Patch Set: Further cleanup. Remove unneeded rebase_path()s Created 4 years, 3 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 | runtime/observatory/BUILD.gn » ('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 5
6 declare_args() { 6 declare_args() {
7 dart_io_support = false 7 dart_io_support = false
8 8
9 # TODO(zra, jamesr): Remove this check once we start building boringssl for 9 # TODO(zra, jamesr): Remove this check once we start building boringssl for
10 # the fuchsia port. 10 # the fuchsia port.
(...skipping 13 matching lines...) Expand all
24 action("gen_resources_cc") { 24 action("gen_resources_cc") {
25 visibility = [ ":*" ] # Only targets in this file can see this. 25 visibility = [ ":*" ] # Only targets in this file can see this.
26 script = "../tools/create_resources.py" 26 script = "../tools/create_resources.py"
27 inputs = [ 27 inputs = [
28 "../tools/create_resources.py", 28 "../tools/create_resources.py",
29 ] 29 ]
30 # The path below is hard coded for the Mojo and Flutter trees. When moving 30 # The path below is hard coded for the Mojo and Flutter trees. When moving
31 # the Dart runtime to gn, this path might need to be updated. 31 # the Dart runtime to gn, this path might need to be updated.
32 sources = rebase_path(resources_sources_gypi.sources, 32 sources = rebase_path(resources_sources_gypi.sources,
33 "", 33 "",
34 "//dart/runtime/bin/vmservice/") 34 "../bin/vmservice/")
35 outputs = [ "$target_gen_dir/resources_gen.cc" ] 35 outputs = [ "$target_gen_dir/resources_gen.cc" ]
36 args = [ 36 args = [
37 "--output", 37 "--output",
38 rebase_path("$target_gen_dir/resources_gen.cc", root_build_dir), 38 rebase_path("$target_gen_dir/resources_gen.cc", root_build_dir),
39 "--outer_namespace", "dart", 39 "--outer_namespace", "dart",
40 "--inner_namespace", "bin", 40 "--inner_namespace", "bin",
41 "--table_name", "service_bin", 41 "--table_name", "service_bin",
42 "--root_prefix", rebase_path(".", root_build_dir) + "/", 42 "--root_prefix", rebase_path(".", root_build_dir) + "/",
43 ] + rebase_path(sources, root_build_dir) 43 ] + rebase_path(sources, root_build_dir)
44 } 44 }
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 sources = [ 566 sources = [
567 "run_vm_tests_fuchsia.cc" 567 "run_vm_tests_fuchsia.cc"
568 ] 568 ]
569 libs = [ 569 libs = [
570 "launchpad", 570 "launchpad",
571 "magenta", 571 "magenta",
572 "runtime", 572 "runtime",
573 ] 573 ]
574 } 574 }
575 } # defined(is_fuchsia) && is_fuchsia 575 } # defined(is_fuchsia) && is_fuchsia
OLDNEW
« no previous file with comments | « no previous file | runtime/observatory/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698