Revert "[size_checker] Formats ICU data nodes nicely"

This reverts commit fe37c1ffee1b0a043a786c9357f226860a9bc4cc.

Reason for revert: size_checker_tests is hard-failing: https://luci-milo.appspot.com/p/fuchsia/builders/try/fuchsia-x64-asan/b8863924716378095104

Original change's description:
> [size_checker] Formats ICU data nodes nicely
>
> The old code used the generic display, which was confusing since it
> printed information that is irrelevant for the ICU data nodes.
>
> Here is the new display.  The relevant bits for diagnosis and debugging
> are:
>
>   - the total size of the data
>   - the distinct blob IDs used by icudtl.dat files
>   - the number of distinct reuses
>   - what are the packages or sources of reach reuse, formatted without
>     extra visual clutter.
>
> ```
> ICU Data                                 |   8.75 MiB |   9.50 MiB |   0.75 MiB
>   icudtl.dat: 8.75 MiB from 2 copies
>     Blob ID 295c8ef47e823fda756f3d176799b6b19e9620bef3d204cc20337579342801b0 (1 reuses):
>       ../../third_party/icu/common/icudtl.dat
>     Blob ID 8b91f538b55ca960535d952c50868cfa78a5c657792f058a5d541c0e56d2dc66 (1 reuses):
>       flutter_aot_product_runner
> ```
>
> Implementation note: a custom display function is introduced instead of
> extracting a Node interface: this is because the existing Node is very
> tied into its own implementation, and doing so seemed like too much
> refactoring for fairly little gain.  If we should find ourselves needing
> more display types, then perhaps the next step would be to factor
> distinct individual types out of Node.
>
> Since I was here, I added the ability to run the test in the host
> toolchain with `fx test //tools/size_checker`.  Looks like it was not
> present by default.
>
> Bug: 63885
> Change-Id: I182dfaeb5df9220ff77fc627713f2f4eeb270139
> Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/449236
> Commit-Queue: Filip Filmar <fmil@google.com>
> Reviewed-by: Fady Samuel <fsamuel@google.com>
> Testability-Review: Fady Samuel <fsamuel@google.com>

TBR=fsamuel@google.com,fmil@google.com

Change-Id: I7fdd2580829c7e28747733f2753cb14d89d31bb5
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 63885
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/449694
Reviewed-by: Oliver Newman <olivernewman@google.com>
Commit-Queue: Oliver Newman <olivernewman@google.com>
4 files changed
tree: 62686b3db9fa24f48f511759c81ffed6f285753d
  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.