Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Issue 2884353004: fuchsia: base_unittests (mostly) compiling (Closed)

Created:
3 years, 7 months ago by scottmg
Modified:
3 years, 7 months ago
Reviewers:
Nico
CC:
chromium-reviews, sadrul, vmpstr+watch_chromium.org, wfh+watch_chromium.org, dominicc+watchlist_chromium.org, ail_google.com, tracing+reviews_chromium.org, danakj+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

fuchsia: base_unittests (mostly) compiling Things that are compiled out of base at the moment (without replacements implemented in this CL): message loop, process control, signal handling in test runner, and backtraces, all of which will need to be implemented in Fuchsia-specific ways in subsequent patches, rather than using the Linux-y/Posix-y ways. Two functions in trace_event are also stubbed for now, not for any good reason, just because I'm not sure how to implement them yet, and this gets things compiling. BUG=706592 Review-Url: https://codereview.chromium.org/2884353004 Cr-Commit-Position: refs/heads/master@{#472983} Committed: https://chromium.googlesource.com/chromium/src/+/6ea9ff3e27ed759a26158a6e71fd3d9ea7789aeb

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Total comments: 14

Patch Set 3 : fixes #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -25 lines) Patch
M BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M base/BUILD.gn View 1 4 chunks +14 lines, -3 lines 0 comments Download
M base/files/file_enumerator_posix.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M base/files/file_util_posix.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M base/message_loop/message_loop.cc View 1 2 3 3 chunks +7 lines, -5 lines 0 comments Download
M base/process/process_metrics.h View 1 2 3 3 chunks +5 lines, -3 lines 0 comments Download
M base/process/process_metrics_posix.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M base/test/launcher/test_launcher.cc View 1 2 5 chunks +11 lines, -6 lines 0 comments Download
M base/threading/platform_thread_posix.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/trace_event/malloc_dump_provider.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M base/trace_event/memory_allocator_dump_unittest.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M base/trace_event/process_memory_dump.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/libxml/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 37 (25 generated)
scottmg
https://codereview.chromium.org/2884353004/diff/1/base/files/file_util_posix.cc File base/files/file_util_posix.cc (right): https://codereview.chromium.org/2884353004/diff/1/base/files/file_util_posix.cc#newcode59 base/files/file_util_posix.cc:59: #include <sys/errno.h> ../../third_party/fuchsia-sdk/sysroot/x86_64-fuchsia/include/sys/errno.h:1:2: error: redirecting incorrect #include <sys/errno.h> to ...
3 years, 7 months ago (2017-05-17 05:18:26 UTC) #12
Nico
That's surprisingly un-gross so far! https://codereview.chromium.org/2884353004/diff/60001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/2884353004/diff/60001/base/BUILD.gn#newcode1233 base/BUILD.gn:1233: if (is_fuchsia) { You ...
3 years, 7 months ago (2017-05-17 15:52:54 UTC) #16
scottmg
Thanks! https://codereview.chromium.org/2884353004/diff/60001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/2884353004/diff/60001/base/BUILD.gn#newcode1233 base/BUILD.gn:1233: if (is_fuchsia) { On 2017/05/17 15:52:53, Nico wrote: ...
3 years, 7 months ago (2017-05-17 16:52:51 UTC) #23
Nico
Hm, I think we want to get rid of -Wno-deprecated on Linux globally eventually. (We ...
3 years, 7 months ago (2017-05-17 18:09:34 UTC) #24
scottmg
On 2017/05/17 18:09:34, Nico wrote: > Hm, I think we want to get rid of ...
3 years, 7 months ago (2017-05-17 18:21:38 UTC) #25
scottmg
I'm not sure which flag it is now. I tried removing -Wno-deprecated and everything seems ...
3 years, 7 months ago (2017-05-17 20:58:12 UTC) #26
scottmg
On 2017/05/17 20:58:12, scottmg wrote: > I'm not sure which flag it is now. I ...
3 years, 7 months ago (2017-05-17 20:58:53 UTC) #27
scottmg
On 2017/05/17 20:58:53, scottmg wrote: > On 2017/05/17 20:58:12, scottmg wrote: > > I'm not ...
3 years, 7 months ago (2017-05-17 21:04:43 UTC) #28
scottmg
OK, removed -Wno-deprecated entirely, and Fuchsia ICU change is elsewhere. PTanotherL.
3 years, 7 months ago (2017-05-18 17:31:58 UTC) #31
Nico
LGTM!
3 years, 7 months ago (2017-05-18 17:44:45 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2884353004/140001
3 years, 7 months ago (2017-05-18 18:01:07 UTC) #34
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 00:08:29 UTC) #37
Message was sent while issue was closed.
Committed patchset #4 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/6ea9ff3e27ed759a26158a6e71fd...

Powered by Google App Engine
This is Rietveld 408576698