Skip to content

Commit

Permalink
Remove //third_party/gflags
Browse files Browse the repository at this point in the history
  • Loading branch information
aiuto committed Jun 8, 2020
1 parent 034b09e commit d076da6
Show file tree
Hide file tree
Showing 41 changed files with 2 additions and 5,744 deletions.
3 changes: 0 additions & 3 deletions src/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,6 @@ JAVA_TOOLS = [
"//third_party/java/j2objc:embedded_tools_srcs",
"//third_party/py/abseil:srcs",
"//third_party/py/concurrent:srcs",
# TODO(laszlocsomor): delete "//third_party/py/gflags:srcs" after
# every script in @bazel_tools was migrated to use Abseil.
"//third_party/py/gflags:srcs",
"//third_party/py/six:srcs",
"//src/conditions:embedded_tools",
"//src/tools/android/java/com/google/devtools/build/android:embedded_tools",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,11 @@

import com.google.devtools.build.lib.blackbox.framework.BlackBoxTestContext;
import com.google.devtools.build.lib.blackbox.framework.ToolsSetup;
import java.io.IOException;

/** Setup for Bazel Python tools */
public class PythonToolsSetup implements ToolsSetup {
@Override
public void setup(BlackBoxTestContext context) throws IOException {
context.write(
"third_party/py/gflags/build",
"licenses([\"notice\"])"
+ "package(default_visibility = [\"//visibility:public\"])"
+ "py_library("
+ " name = \"gflags\","
+ ")");
public void setup(BlackBoxTestContext context) {
// nothing needed to be done
}
}
10 changes: 0 additions & 10 deletions src/test/shell/testenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,16 +139,6 @@ EOF
cp -R ${langtools_dir}/* third_party/java/jdk/langtools

chmod -R +w .

mkdir -p third_party/py/gflags
cat > third_party/py/gflags/BUILD <<EOF
licenses(["notice"])
package(default_visibility = ["//visibility:public"])
py_library(
name = "gflags",
)
EOF
}

# Report whether a given directory name corresponds to a tools directory.
Expand Down
1 change: 0 additions & 1 deletion third_party/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ filegroup(
"//third_party/protobuf:srcs",
"//third_party/py/abseil:srcs",
"//third_party/py/concurrent:srcs",
"//third_party/py/gflags:srcs",
"//third_party/py/mock:srcs",
"//third_party/py/six:srcs",
"//third_party/rules_python:srcs",
Expand Down
2 changes: 0 additions & 2 deletions third_party/py/gflags/AUTHORS

This file was deleted.

20 changes: 0 additions & 20 deletions third_party/py/gflags/BUILD

This file was deleted.

11 changes: 0 additions & 11 deletions third_party/py/gflags/CONTRIBUTING.md

This file was deleted.

28 changes: 0 additions & 28 deletions third_party/py/gflags/COPYING

This file was deleted.

132 changes: 0 additions & 132 deletions third_party/py/gflags/ChangeLog

This file was deleted.

16 changes: 0 additions & 16 deletions third_party/py/gflags/MANIFEST.in

This file was deleted.

69 changes: 0 additions & 69 deletions third_party/py/gflags/Makefile

This file was deleted.

18 changes: 0 additions & 18 deletions third_party/py/gflags/PKG-INFO

This file was deleted.

23 changes: 0 additions & 23 deletions third_party/py/gflags/README

This file was deleted.

6 changes: 0 additions & 6 deletions third_party/py/gflags/README.md

This file was deleted.

2 changes: 0 additions & 2 deletions third_party/py/gflags/__init__.py

This file was deleted.

Loading

0 comments on commit d076da6

Please sign in to comment.