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

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

Issue 2909383002: GN: Build snapshot assembly files w/r/t current_toolchain. (Closed)
Patch Set: . Created 3 years, 6 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 | no next file » | 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 import("gypi_contents.gni") 5 import("gypi_contents.gni")
6 import("../runtime_args.gni") 6 import("../runtime_args.gni")
7 import("../../build/compiled_action.gni") 7 import("../../build/compiled_action.gni")
8 8
9 # Generate a resources.cc file for the service isolate without Observatory. 9 # Generate a resources.cc file for the service isolate without Observatory.
10 action("gen_resources_cc") { 10 action("gen_resources_cc") {
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 deps = invoker.deps 505 deps = invoker.deps
506 script = "../tools/bin_to_assembly.py" 506 script = "../tools/bin_to_assembly.py"
507 args = [ 507 args = [
508 "--input", 508 "--input",
509 rebase_path(invoker.input), 509 rebase_path(invoker.input),
510 "--output", 510 "--output",
511 rebase_path(invoker.output), 511 rebase_path(invoker.output),
512 "--symbol_name", 512 "--symbol_name",
513 invoker.symbol, 513 invoker.symbol,
514 "--target_os", 514 "--target_os",
515 target_os, 515 current_os,
516 ] 516 ]
517 if (invoker.executable) { 517 if (invoker.executable) {
518 args += [ "--executable" ] 518 args += [ "--executable" ]
519 } 519 }
520 inputs = [ 520 inputs = [
521 script, 521 script,
522 invoker.input, 522 invoker.input,
523 ] 523 ]
524 outputs = [ 524 outputs = [
525 invoker.output, 525 invoker.output,
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 ] 920 ]
921 if (is_linux || is_android) { 921 if (is_linux || is_android) {
922 cflags = [ "-fPIC" ] 922 cflags = [ "-fPIC" ]
923 } 923 }
924 if (is_win) { 924 if (is_win) {
925 libs = [ "dart.lib" ] 925 libs = [ "dart.lib" ]
926 abs_root_out_dir = rebase_path(root_out_dir) 926 abs_root_out_dir = rebase_path(root_out_dir)
927 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] 927 ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
928 } 928 }
929 } 929 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698