Create files for planned Nvidia driver differ tool.

PiperOrigin-RevId: 655310943
This commit is contained in:
Anthony Cui
2024-07-23 14:50:30 -07:00
committed by gVisor bot
parent 582a07a766
commit 35efba2fe6
3 changed files with 52 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
load("//tools:defs.bzl", "build_test", "cc_binary")
package(
default_applicable_licenses = ["//:license"],
licenses = ["notice"],
)
cc_binary(
name = "driver_ast_parser",
srcs = [
"driver_ast_parser.cc",
"driver_ast_parser.h",
],
)
build_test(
name = "driver_ast_parser_test",
targets = [":driver_ast_parser"],
)
@@ -0,0 +1,16 @@
// Copyright 2024 The gVisor Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "tools/nvidia_driver_differ/driver_ast_parser.h"
int main(int argc, const char **argv) {}
@@ -0,0 +1,17 @@
// Copyright 2024 The gVisor Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef TOOLS_NVIDIA_DRIVER_DIFFER_DRIVER_AST_PARSER_H_
#define TOOLS_NVIDIA_DRIVER_DIFFER_DRIVER_AST_PARSER_H_
#endif // TOOLS_NVIDIA_DRIVER_DIFFER_DRIVER_AST_PARSER_H_