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

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

Issue 1955163002: Adds a gn argument for boringssl path (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 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 }
9 10
10 11
11 resources_sources_gypi = 12 resources_sources_gypi =
12 exec_script("../../tools/gypi_to_gn.py", 13 exec_script("../../tools/gypi_to_gn.py",
13 [rebase_path("vmservice/vmservice_sources.gypi")], 14 [rebase_path("vmservice/vmservice_sources.gypi")],
14 "scope", 15 "scope",
15 ["vmservice/vmservice_sources.gypi"]) 16 ["vmservice/vmservice_sources.gypi"])
16 17
17 # Generate a resources.cc file for the service isolate without Observatory. 18 # Generate a resources.cc file for the service isolate without Observatory.
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 ] 324 ]
324 } 325 }
325 set_sources_assignment_filter(custom_sources_filter) 326 set_sources_assignment_filter(custom_sources_filter)
326 327
327 if (is_mac || is_ios) { 328 if (is_mac || is_ios) {
328 libs = [ 329 libs = [
329 "Security.framework", 330 "Security.framework",
330 ] 331 ]
331 } else { 332 } else {
332 deps = [ 333 deps = [
333 "//third_party/boringssl", 334 rebase_path(dart_boringssl_path, "."),
334 ] 335 ]
335 } 336 }
336 337
337 sources = io_impl_sources_gypi.sources + builtin_impl_sources_gypi.sources 338 sources = io_impl_sources_gypi.sources + builtin_impl_sources_gypi.sources
338 sources += [ 339 sources += [
339 "builtin_nolib.cc", 340 "builtin_nolib.cc",
340 "builtin_natives.cc", 341 "builtin_natives.cc",
341 "io_natives.cc", 342 "io_natives.cc",
342 "io_natives.h", 343 "io_natives.h",
343 "embedded_dart_io.cc", 344 "embedded_dart_io.cc",
344 "embedded_dart_io.h", 345 "embedded_dart_io.h",
345 "log_android.cc", 346 "log_android.cc",
346 "log_linux.cc", 347 "log_linux.cc",
347 "log_macos.cc", 348 "log_macos.cc",
348 "log_win.cc", 349 "log_win.cc",
349 "log.h", 350 "log.h",
350 ] 351 ]
351 352
352 include_dirs = [ 353 include_dirs = [
353 "..", 354 "..",
354 "//third_party" 355 "//third_party"
355 ] 356 ]
356 } 357 }
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