Skip to content

Commit bce0747

Browse files
[Fuchsia] remove build/fuchsia (#839)
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]>
1 parent e9c4eeb commit bce0747

File tree

9 files changed

+6
-240
lines changed

9 files changed

+6
-240
lines changed

build/config/compiler/BUILD.gn

+6-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ if (is_win) {
1717
import("//build/config/c++/c++.gni")
1818
import("//build/config/profiler.gni")
1919
import("//build/config/sanitizers/sanitizers.gni")
20-
import("//build/fuchsia/config.gni")
2120
import("//build/toolchain/ccache.gni")
2221
import("//build/toolchain/clang.gni")
2322
import("//build/toolchain/toolchain.gni")
@@ -427,9 +426,7 @@ config("compiler") {
427426
# Fuchsia-specific flags setup.
428427
# -----------------------------
429428
if (is_fuchsia) {
430-
if (fuchsia_target_api_level != -1) {
431-
cflags += [ "-ffuchsia-api-level=${fuchsia_target_api_level}" ]
432-
}
429+
configs = ["//flutter/tools/fuchsia/gn-sdk/src/config:compiler"]
433430
}
434431

435432
asmflags = cflags
@@ -582,6 +579,11 @@ config("runtime_library") {
582579
libs += [ "gcc" ]
583580
}
584581
}
582+
583+
# Fuchsia standard library setup.
584+
if (is_fuchsia) {
585+
configs = ["//flutter/tools/fuchsia/gn-sdk/src/config:runtime_library"]
586+
}
585587
}
586588

587589
# default_warning_flags collects all warning flags that are used by default.

build/fuchsia/BUILD.gn

-13
This file was deleted.

build/fuchsia/config.gni

-9
This file was deleted.

build/fuchsia/fidl/BUILD.gn

-11
This file was deleted.

build/fuchsia/fidl_gen_cpp.py

-99
This file was deleted.

build/fuchsia/fuchsia.cipd.yaml

-6
This file was deleted.

build/fuchsia/pave_device.py

-73
This file was deleted.

build/fuchsia/pkg/BUILD.gn

-14
This file was deleted.

build/fuchsia/sysroot/BUILD.gn

-11
This file was deleted.

0 commit comments

Comments
 (0)