From e057d096fd67bd273bb261d0ef2fdeb65ab9b815 Mon Sep 17 00:00:00 2001 From: Avindra Goolcharan Date: Fri, 25 Dec 2020 04:15:35 -0500 Subject: [PATCH] Use "include" to specify kept files (#559) --- Cargo.toml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8543aec8..f72a8da9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,17 +36,20 @@ exclude = [ "v8/docs/", "v8/samples/", "v8/test/", - "v8/tools/", + "v8/tools/" +] + +include = [ # These files are required for the build. - "!.gn", - "!BUILD.gn", - "!tools/clang/scripts/update.py", - "!v8/test/torque/test-torque.tq", - "!v8/tools/gen-postmortem-metadata.py", - "!v8/tools/js2c.py", - "!v8/tools/run.py", - "!v8/tools/snapshot/asm_to_inline_asm.py", - "!v8/tools/testrunner/utils/dump_build_config.py", + ".gn", + "BUILD.gn", + "tools/clang/scripts/update.py", + "v8/test/torque/test-torque.tq", + "v8/tools/gen-postmortem-metadata.py", + "v8/tools/js2c.py", + "v8/tools/run.py", + "v8/tools/snapshot/asm_to_inline_asm.py", + "v8/tools/testrunner/utils/dump_build_config.py", ] [dependencies]