# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/dart/dart.conf # Copyright (C) 2024 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- makeopt= makeinstopt= var_insert GCC_WRAPPER_REMOVE " " "-s" hook_add prepatch 4 "depot_tools_extract" hook_add prepatch 5 "gn_gclient_sync" hook_add inmake 5 "gn_build" hook_add postmake 5 "gn_install" depot_tools_extract() { tar -C $builddir/ $taropt $(match_source_file -p depot) } gn_gclient_sync() { git clone --recurse-submodules https://github.com/dart-lang/sdk $builddir/dart cd $builddir/$pkg cat >.gclient <