From d30664958ec1031a99373414e17c124b4fa468fa Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 6 Jul 2018 00:58:09 -0400 Subject: Further gn/rust cleanups Move rust.gni and deno.gni into build_extra/ Removes rust_library which was only an action. This instead defines rust_component, which is an action plus a gn "component" target to expose the resulting object file. This simplifies link code in rust.gni. Support rust modules that can be linked into C++. --- tools/format.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/format.sh b/tools/format.sh index f0c7ec0a1..44ca815ff 100755 --- a/tools/format.sh +++ b/tools/format.sh @@ -4,8 +4,9 @@ cd `dirname "$0"`/.. clang-format -i -style Google src/*.cc src/*.h gn format BUILD.gn -gn format deno.gni -gn format rust.gni +gn format build_extra/deno.gni +gn format build_extra/rust/rust.gni +gn format build_extra/rust/BUILD.gn gn format .gn yapf -i js/*.py -- cgit v1.2.3