Skip to content

Commit 444cb00

Browse files
filmilcommit-bot@chromium.org
authored andcommitted
Fix the #include path for ICU headers
The ICU headers in os_fuchsia.cc have been included with their path relative to the dart root directory. They should instead be included relative to the paths mentioned in `-I` directives of the current compiler invocation. This allows downstreams that have a different directory organization to build dart sdk even if they don't exactly replicate the directory structure of dart sdk. Change-Id: Iec79f261aee5ccc7b74448978fc69244e260400a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/154163 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Filip Filmar <fmil@google.com>
1 parent 72bb1d1 commit 444cb00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/vm/os_fuchsia.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
#include <zircon/syscalls/object.h>
2222
#include <zircon/types.h>
2323

24-
#include "third_party/icu/source/common/unicode/errorcode.h"
25-
#include "third_party/icu/source/i18n/unicode/timezone.h"
24+
#include "unicode/errorcode.h"
25+
#include "unicode/timezone.h"
2626

2727
#include "platform/assert.h"
2828
#include "platform/syslog.h"

0 commit comments

Comments
 (0)