| 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 | 5 |
| 6 declare_args() { | 6 declare_args() { |
| 7 dart_io_support = false | 7 dart_io_support = false |
| 8 dart_boringssl_path = "../../third_party/boringssl" | 8 |
| 9 if (!is_fuchsia) { |
| 10 dart_boringssl_path = "../../third_party/boringssl" |
| 11 } |
| 9 } | 12 } |
| 10 | 13 |
| 11 | 14 |
| 12 resources_sources_gypi = | 15 resources_sources_gypi = |
| 13 exec_script("../../tools/gypi_to_gn.py", | 16 exec_script("../../tools/gypi_to_gn.py", |
| 14 [rebase_path("vmservice/vmservice_sources.gypi")], | 17 [rebase_path("vmservice/vmservice_sources.gypi")], |
| 15 "scope", | 18 "scope", |
| 16 ["vmservice/vmservice_sources.gypi"]) | 19 ["vmservice/vmservice_sources.gypi"]) |
| 17 | 20 |
| 18 # Generate a resources.cc file for the service isolate without Observatory. | 21 # Generate a resources.cc file for the service isolate without Observatory. |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 | 203 |
| 201 include_dirs = [ | 204 include_dirs = [ |
| 202 "..", | 205 "..", |
| 203 ] | 206 ] |
| 204 | 207 |
| 205 defines = [ | 208 defines = [ |
| 206 "DART_SHARED_LIB", | 209 "DART_SHARED_LIB", |
| 207 ] | 210 ] |
| 208 } | 211 } |
| 209 | 212 |
| 213 if (!is_fuchsia) { |
| 210 | 214 |
| 211 executable("gen_snapshot") { | 215 executable("gen_snapshot") { |
| 212 configs += ["..:dart_config", | 216 configs += ["..:dart_config", |
| 213 "..:dart_product_config", | 217 "..:dart_product_config", |
| 214 "..:dart_precompiler_config"] | 218 "..:dart_precompiler_config"] |
| 215 deps = [ | 219 deps = [ |
| 216 ":gen_resources_cc", | 220 ":gen_resources_cc", |
| 217 ":gen_snapshot_dart_io", | 221 ":gen_snapshot_dart_io", |
| 218 ":generate_builtin_cc_file", | 222 ":generate_builtin_cc_file", |
| 219 ":generate_io_cc_file", | 223 ":generate_io_cc_file", |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 "log_macos.cc", | 352 "log_macos.cc", |
| 349 "log_win.cc", | 353 "log_win.cc", |
| 350 "log.h", | 354 "log.h", |
| 351 ] | 355 ] |
| 352 | 356 |
| 353 include_dirs = [ | 357 include_dirs = [ |
| 354 "..", | 358 "..", |
| 355 "//third_party" | 359 "//third_party" |
| 356 ] | 360 ] |
| 357 } | 361 } |
| 362 } # !is_fuchsia |
| 363 |
| 364 if (is_fuchsia) { |
| 365 executable("fuchsia_test") { |
| 366 sources = [ |
| 367 "fuchsia_test.cc", |
| 368 "log_fuchsia.cc", |
| 369 ] |
| 370 |
| 371 include_dirs = [ |
| 372 "..", |
| 373 "../include" |
| 374 ] |
| 375 |
| 376 deps = [ |
| 377 ":libdart_nosnapshot" |
| 378 ] |
| 379 } |
| 380 } |
| OLD | NEW |