docs: Fix style guide GN example
Rearrange deps and sources in the example to match the style guide.
Also fixed pw_span.
Change-Id: I1c3e4a240a2d84cb29d70eebe0cc35c67f4dc764
diff --git a/docs/style_guide.rst b/docs/style_guide.rst
index 17e7b90..f39379f 100644
--- a/docs/style_guide.rst
+++ b/docs/style_guide.rst
@@ -571,7 +571,7 @@
source_set("pw_sample_module") {
public_configs = [ ":default_config" ]
public_deps = [
- dir_pw_spam,
+ dir_pw_span,
dir_pw_status,
]
public = [ "public/pw_sample_module/sample_module.h" ]
@@ -588,8 +588,8 @@
}
pw_test("sample_module_test") {
- deps = [ ":sample_module" ]
sources = [ "sample_module_test.cc" ]
+ deps = [ ":sample_module" ]
}
pw_doc_group("docs") {