Skip to content

Commit

Permalink
[Fuchsia] remove build/fuchsia (#839)
Browse files Browse the repository at this point in the history
After flutter/engine#51072, this folder is
obsolete and can be removed.

The change is locally tested.

Bug: http://b/40935282

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[test-exempt]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
[Discord]: https://github.com/flutter/flutter/wiki/Chat

---------

Co-authored-by: Jason Simmons <[email protected]>
  • Loading branch information
zijiehe-google-com and jason-simmons authored Mar 18, 2024
1 parent e9c4eeb commit bce0747
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 240 deletions.
10 changes: 6 additions & 4 deletions build/config/compiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ if (is_win) {
import("//build/config/c++/c++.gni")
import("//build/config/profiler.gni")
import("//build/config/sanitizers/sanitizers.gni")
import("//build/fuchsia/config.gni")
import("//build/toolchain/ccache.gni")
import("//build/toolchain/clang.gni")
import("//build/toolchain/toolchain.gni")
Expand Down Expand Up @@ -427,9 +426,7 @@ config("compiler") {
# Fuchsia-specific flags setup.
# -----------------------------
if (is_fuchsia) {
if (fuchsia_target_api_level != -1) {
cflags += [ "-ffuchsia-api-level=${fuchsia_target_api_level}" ]
}
configs = ["//flutter/tools/fuchsia/gn-sdk/src/config:compiler"]
}

asmflags = cflags
Expand Down Expand Up @@ -582,6 +579,11 @@ config("runtime_library") {
libs += [ "gcc" ]
}
}

# Fuchsia standard library setup.
if (is_fuchsia) {
configs = ["//flutter/tools/fuchsia/gn-sdk/src/config:runtime_library"]
}
}

# default_warning_flags collects all warning flags that are used by default.
Expand Down
13 changes: 0 additions & 13 deletions build/fuchsia/BUILD.gn

This file was deleted.

9 changes: 0 additions & 9 deletions build/fuchsia/config.gni

This file was deleted.

11 changes: 0 additions & 11 deletions build/fuchsia/fidl/BUILD.gn

This file was deleted.

99 changes: 0 additions & 99 deletions build/fuchsia/fidl_gen_cpp.py

This file was deleted.

6 changes: 0 additions & 6 deletions build/fuchsia/fuchsia.cipd.yaml

This file was deleted.

73 changes: 0 additions & 73 deletions build/fuchsia/pave_device.py

This file was deleted.

14 changes: 0 additions & 14 deletions build/fuchsia/pkg/BUILD.gn

This file was deleted.

11 changes: 0 additions & 11 deletions build/fuchsia/sysroot/BUILD.gn

This file was deleted.

0 comments on commit bce0747

Please sign in to comment.