Skip to content

Commit

Permalink
Remove //third_party/gflags
Browse files Browse the repository at this point in the history
It is unused.

See #11201

Closes #11564.

PiperOrigin-RevId: 315438708
  • Loading branch information
aiuto authored and copybara-github committed Jun 9, 2020
1 parent 40f2f0e commit 2d0defc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 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

0 comments on commit 2d0defc

Please sign in to comment.