[fuchsia] Bump Fuchsia's API level to 16 (flutter/engine#50358)
Update Fuchsia's API level to 16. b/322503140 ## 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 and followed the [Flutter Style Guide] and the [C++, Objective-C, Java style guides]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I added new tests to check the change I am making or feature I am adding, or the PR is [test-exempt]. See [testing the engine] for instructions on writing and running engine tests. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I signed the [CLA]. - [x] All existing and new tests are passing.
This commit is contained in:
@@ -216,9 +216,14 @@ bool DartComponentController::CreateAndBindNamespace() {
|
||||
fdio_service_connect_at(dart_outgoing_dir_ptr_.channel().get(), "svc",
|
||||
dart_public_dir.NewRequest().TakeChannel().release());
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
|
||||
auto composed_service_dir = std::make_unique<vfs::ComposedServiceDir>();
|
||||
composed_service_dir->set_fallback(std::move(dart_public_dir));
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
// Clone and check if client is servicing the directory.
|
||||
dart_outgoing_dir_ptr_->Clone(
|
||||
fuchsia::io::OpenFlags::DESCRIBE |
|
||||
|
||||
@@ -259,9 +259,14 @@ ComponentV2::ComponentV2(
|
||||
fdio_service_connect_at(directory_ptr_.channel().get(), "svc",
|
||||
request.release());
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
|
||||
auto composed_service_dir = std::make_unique<vfs::ComposedServiceDir>();
|
||||
composed_service_dir->set_fallback(std::move(flutter_public_dir));
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
// Clone and check if client is servicing the directory.
|
||||
directory_ptr_->Clone(fuchsia::io::OpenFlags::DESCRIBE |
|
||||
fuchsia::io::OpenFlags::CLONE_SAME_RIGHTS,
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
|
||||
namespace dart_utils {
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
|
||||
class VMServiceObject : public vfs::LazyDir {
|
||||
public:
|
||||
static constexpr const char* kDirName = "DartVM";
|
||||
@@ -21,6 +24,8 @@ class VMServiceObject : public vfs::LazyDir {
|
||||
std::string name) const override;
|
||||
};
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
} // namespace dart_utils
|
||||
|
||||
#endif // FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_VMSERVICE_OBJECT_H_
|
||||
|
||||
@@ -1 +1 @@
|
||||
15
|
||||
16
|
||||
|
||||
Reference in New Issue
Block a user