Skip to content

Commit

Permalink
Rollback of commit 9dc24ef.
Browse files Browse the repository at this point in the history
*** Reason for rollback ***

looks like this is probably break []

*** Original change description ***

Bind path to xcrunwrapper in workspace files.

--
MOS_MIGRATED_REVID=120167193
  • Loading branch information
calpeyser authored and damienmg committed Apr 19, 2016
1 parent 3ee570f commit e5f125b
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 57 deletions.
5 changes: 1 addition & 4 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ filegroup(
filegroup(
name = "workspace-file",
srcs = [":WORKSPACE"],
visibility = [
"//src/test/shell/bazel:__pkg__",
"//tools/cpp/test:__pkg__",
],
visibility = ["//tools/cpp/test:__pkg__"],
)

filegroup(
Expand Down
3 changes: 0 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,3 @@ docker_repository()
# scripts/workspace_user.sh and uncomment the next two lines.
# load("/WORKSPACE.user", "android_repositories")
# android_repositories()

# This allows rules written in skylark to locate apple build tools.
bind(name = "xcrunwrapper", actual = "@bazel_tools//tools/objc:xcrunwrapper")
11 changes: 0 additions & 11 deletions src/test/shell/bazel/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ filegroup(
"testenv.sh",
"testing_server.py",
":langtools-copy",
"//:workspace-file",
"//examples:srcs",
"//external:bootclasspath",
"//external:extdir",
Expand Down Expand Up @@ -303,16 +302,6 @@ sh_test(
data = [":test-deps"],
)

sh_test(
name = "bound_targets_test",
size = "large",
srcs = ["bound_targets_test.sh"],
data = [
":objc-deps",
":test-deps",
],
)

test_suite(
name = "all_tests",
visibility = ["//visibility:public"],
Expand Down
26 changes: 0 additions & 26 deletions src/test/shell/bazel/bound_targets_test.sh

This file was deleted.

5 changes: 0 additions & 5 deletions src/test/shell/bazel/external_skylark_load_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ function run_external_skylark_load_test() {
create_new_workspace
external_repo=${new_workspace_dir}

# Since we're creating an artifical WORKSPACE file in this test, we must
# first remove the symlink to the actual bazel/WORKSPACE file.
rm ${WORKSPACE_DIR}/WORKSPACE
touch ${WORKSPACE_DIR}/WORKSPACE

cat > ${WORKSPACE_DIR}/WORKSPACE <<EOF
local_repository(name = "external_repo", path = "${external_repo}")
EOF
Expand Down
4 changes: 0 additions & 4 deletions src/test/shell/bazel/local_repository_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -657,10 +657,6 @@ EOF
int main() { return 0; };
EOF

# Since we're creating an artifical WORKSPACE file in this test, we must
# first remove the symlink to the actual bazel/WORKSPACE file.
rm ${WORKSPACE_DIR}/WORKSPACE
touch ${WORKSPACE_DIR}/WORKSPACE
cat > WORKSPACE <<EOF
local_repository(
name = "r",
Expand Down
2 changes: 1 addition & 1 deletion src/test/shell/bazel/test-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ function create_new_workspace() {
ln -s "${junitrunner_path}" tools/jdk/TestRunner_deploy.jar
ln -s "${ijar_path}" tools/jdk/ijar/ijar

ln -sv ${workspace_file} WORKSPACE
touch WORKSPACE
}

# Set-up a clean default workspace.
Expand Down
3 changes: 0 additions & 3 deletions src/test/shell/bazel/testenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
source "${TEST_SRCDIR}/src/test/shell/unittest.bash" || \
{ echo "Failed to source unittest.bash" >&2; exit 1; }

# WORKSPACE file
workspace_file="${TEST_SRCDIR}/WORKSPACE"

# Bazel
bazel_tree="${TEST_SRCDIR}/src/test/shell/bazel/doc-srcs.zip"
bazel="${TEST_SRCDIR}/src/bazel"
Expand Down

0 comments on commit e5f125b

Please sign in to comment.