| OLD | NEW | 
|    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 786 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  797   if (dart_use_tcmalloc) { |  797   if (dart_use_tcmalloc) { | 
|  798     deps += [ "//third_party/tcmalloc" ] |  798     deps += [ "//third_party/tcmalloc" ] | 
|  799     defines += [ "DART_USE_TCMALLOC" ] |  799     defines += [ "DART_USE_TCMALLOC" ] | 
|  800   } |  800   } | 
|  801  |  801  | 
|  802   # The VM sources are already included in libdart, so we just want to add in |  802   # The VM sources are already included in libdart, so we just want to add in | 
|  803   # the tests here. |  803   # the tests here. | 
|  804   vm_tests = rebase_path(vm_tests_list, ".", "../vm") |  804   vm_tests = rebase_path(vm_tests_list, ".", "../vm") | 
|  805  |  805  | 
|  806   sources = [ |  806   sources = [ | 
 |  807               "error_exit.cc", | 
 |  808               "error_exit.h", | 
 |  809               "snapshot_utils.cc", | 
 |  810               "snapshot_utils.h", | 
|  807               "builtin_nolib.cc", |  811               "builtin_nolib.cc", | 
|  808               "run_vm_tests.cc", |  812               "run_vm_tests.cc", | 
|  809             ] + builtin_impl_tests_list + vm_tests |  813             ] + builtin_impl_tests_list + vm_tests | 
|  810  |  814  | 
|  811   if (!is_win) { |  815   if (!is_win) { | 
|  812     ldflags = [ "-rdynamic" ] |  816     ldflags = [ "-rdynamic" ] | 
|  813   } |  817   } | 
|  814  |  818  | 
|  815   if (is_win) { |  819   if (is_win) { | 
|  816     libs = [ |  820     libs = [ | 
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  861   ] |  865   ] | 
|  862   if (is_linux || is_android) { |  866   if (is_linux || is_android) { | 
|  863     cflags = [ "-fPIC" ] |  867     cflags = [ "-fPIC" ] | 
|  864   } |  868   } | 
|  865   if (is_win) { |  869   if (is_win) { | 
|  866     libs = [ "dart.lib" ] |  870     libs = [ "dart.lib" ] | 
|  867     abs_root_out_dir = rebase_path(root_out_dir) |  871     abs_root_out_dir = rebase_path(root_out_dir) | 
|  868     ldflags = [ "/LIBPATH:$abs_root_out_dir" ] |  872     ldflags = [ "/LIBPATH:$abs_root_out_dir" ] | 
|  869   } |  873   } | 
|  870 } |  874 } | 
| OLD | NEW |