[build] Fix scudo BUILD.gn file.

The binary equivalence between the libc.so binaries generated by the
Zircon and Fuchsia builds was broken (i.e. the files were no longer
byte identical). Investigation shows that this was due to a previous
CL [1], that changed the way the Scudo library is built in the
Fuchsia build, but not the Zircon build. Moreover, the CL was buggy
because it no longer compiled the src/flags.cpp source file with a
required compiler define and include path.

This CL fixes the issue, and ensures that BUILD.zircon.gn is now a
symlink into BUILD.gn to avoid this kind of mistake in the future.

For testing, I have manually verified that these two files are now
identical after the CL is applied:

  out/default/user.libc_x64/libc.so
  out/default.zircon/user-x64-clang.shlib/obj/system/ulib/c/libc.so

Bug: 60613
Testing: See above.

[1] https://fuchsia-review.googlesource.com/c/fuchsia/+/446536

Change-Id: If014a00609dcc7dce3b503461bfbc724c9886fdc
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/448334
Fuchsia-Auto-Submit: David Turner <digit@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Reviewed-by: Shai Barack <shayba@google.com>
3 files changed
tree: 99952378af0927b136f224c1b262cd1153974349
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. garnet/
  7. products/
  8. scripts/
  9. sdk/
  10. src/
  11. third_party/
  12. tools/
  13. zircon/
  14. .clang-format
  15. .clang-tidy
  16. .gitattributes
  17. .gitignore
  18. .gn
  19. .style.yapf
  20. AUTHORS
  21. BUILD.gn
  22. CODE_OF_CONDUCT.md
  23. CONTRIBUTING.md
  24. LICENSE
  25. OWNERS
  26. PATENTS
  27. README.md
  28. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

Read more about Fuchsia's principles.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.