[sdk][bazel] Documentation fixes.
Change-Id: I8de80c3fad7f773e857097f2ca72f54e5d607dce
diff --git a/sdk/bazel/README.md b/sdk/bazel/README.md
index 07ba09a..fda925d 100644
--- a/sdk/bazel/README.md
+++ b/sdk/bazel/README.md
@@ -100,10 +100,8 @@
path = "<FUCHSIA_SDK_URL>",
)
-load("@fuchsia_sdk//build_defs:crosstool.bzl", "install_fuchsia_crosstool")
-install_fuchsia_crosstool(
- name = "fuchsia_crosstool"
-)
+load("@fuchsia_sdk//build_defs:fuchsia_setup.bzl", "fuchsia_setup")
+fuchsia_setup(with_toolchain = True)
```
This adds the Fuchsia SDK to the workspace and sets up the necessary toolchains
@@ -117,7 +115,7 @@
build:fuchsia --host_crosstool_top=@bazel_tools//tools/cpp:toolchain
```
-Targets can then be built for Fuschsia with:
+Targets can then be built for Fuchsia with:
```
$ bazel build --config=fuchsia //...
@@ -134,6 +132,9 @@
path = "<FUCHSIA_SDK_URL>",
)
+load("@fuchsia_sdk//build_defs:fuchsia_setup.bzl", "fuchsia_setup")
+fuchsia_setup(with_toolchain = False)
+
http_archive(
name = "io_bazel_rules_dart",
url = "https://github.com/dart-lang/rules_dart/archive/master.zip",