New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 707030 link

Starred by 9 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: 300
NextAction: ----
OS: Fuchsia
Pri: 3
Type: Bug

Blocked on:
issue 750392

Blocking:
issue 707031



Sign in to add a comment

Fuchsia SDK for Chromium

Project Member Reported by cpu@chromium.org, Mar 30 2017

Issue description

This bug is meant to be the parent of all bugs related with the SDK used to port Chrome to fuchsia.


 

Comment 1 by cpu@chromium.org, Mar 30 2017

Blocking: 707031

Comment 2 by cpu@chromium.org, Mar 30 2017

Cc: scottmg@chromium.org

Comment 3 by cpu@chromium.org, May 11 2017

Labels: OS-Fuchsia
Project Member

Comment 4 by bugdroid1@chromium.org, Jun 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ecbdf4e071a703ba4250e3dafb7ed304e373aac1

commit ecbdf4e071a703ba4250e3dafb7ed304e373aac1
Author: Scott Graham <scottmg@chromium.org>
Date: Thu Jun 15 20:56:30 2017

Update Fuchsia SDK to f79f55be4e69ebd90ea84f79d7322525853256c3

Two notable changes:
- realpath() works.
- ERR_TIMED_OUT, et al. are guarded and MX_ prefixed are available.


Steps followed (mostly in Fuchsia tree):
- check if fuchsia-dashboard.appspot.com looks green
- sync
- fbuild
- fboot on Intel NUC
- runtests on device and make sure everything passes
- configure and build a release mode build with sdk config:

$ ./packages/gn/gen.py -r --goma -m runtime
$ ./packages/gn/build.py -r -j1000

- assemble sysroot and package tools into tgz

$ ./scripts/makesdk.go .

- compute sha1

$ sha1sum fuchsia-sdk.tgz
f79f55be4e69ebd90ea84f79d7322525853256c3

- upload to gs bucket

$ gsutil.py cp fuchsia-sdk.tgz gs://fuchsia-build/fuchsia/sdk/linux64/f79f55be4e69ebd90ea84f79d7322525853256c


Then, on the chromium side, update DEPS to point at this sdk rev, build
and confirm things are OK-ish, and make any changes required.

Bug: 706592,707030, 731280  
Change-Id: I05f1d6a30c03d58f515af313b54ffe2000a71c20
Reviewed-on: https://chromium-review.googlesource.com/537078
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#479822}
[modify] https://crrev.com/ecbdf4e071a703ba4250e3dafb7ed304e373aac1/DEPS
[modify] https://crrev.com/ecbdf4e071a703ba4250e3dafb7ed304e373aac1/build/fuchsia/test_runner.py

Project Member

Comment 5 by bugdroid1@chromium.org, Jun 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4a35e3d90743712ec05adee7808bb5d6bdfd2f9d

commit 4a35e3d90743712ec05adee7808bb5d6bdfd2f9d
Author: Scott Graham <scottmg@chromium.org>
Date: Sat Jun 17 00:45:53 2017

Update Fuchsia SDK to 9c7191fae2233b5688d34f9d66717ee5c16ee2c7

Followed steps in bug. Notable changes:
- headers compilable as c99.

Bug: 707030
Change-Id: I30e7e66b3bc49f099619724899541846918509ab
Reviewed-on: https://chromium-review.googlesource.com/538923
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#480249}
[modify] https://crrev.com/4a35e3d90743712ec05adee7808bb5d6bdfd2f9d/DEPS

Project Member

Comment 6 by bugdroid1@chromium.org, Jun 27 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/cdebfd33f1272331c405bf8f66016d1c9f0f87b4

commit cdebfd33f1272331c405bf8f66016d1c9f0f87b4
Author: Scott Graham <scottmg@chromium.org>
Date: Tue Jun 27 19:56:27 2017

Update Fuchsia SDK to 17e51e32c9a81d3f957afe533ac99ef1d565378c

Follows https://bugs.chromium.org/p/chromium/issues/detail?id=707030#c4.

Notable changes include:
- LP_CLONE_MXIO_ROOT -> LP_CLONE_MXIO_NAMESPACE
- removal of epoll (not used in currently-compiling code)

Bug: 707030
Change-Id: I8c29958fce0fb04a3513265c1485dec35c771b9d
Reviewed-on: https://chromium-review.googlesource.com/550403
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#482717}
[modify] https://crrev.com/cdebfd33f1272331c405bf8f66016d1c9f0f87b4/DEPS
[modify] https://crrev.com/cdebfd33f1272331c405bf8f66016d1c9f0f87b4/base/process/launch_fuchsia.cc

Project Member

Comment 7 by bugdroid1@chromium.org, Jun 28 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3994a970725cb1b67cfbc14b1e973a7998329d24

commit 3994a970725cb1b67cfbc14b1e973a7998329d24
Author: Scott Graham <scottmg@chromium.org>
Date: Wed Jun 28 19:37:34 2017

Roll Fuchsia SDK to ea457dcf78ad20e3f60e6558a06123ced6df3e5b

Follows https://bugs.chromium.org/p/chromium/issues/detail?id=707030#c4.

Notable changes:
- Includes https://fuchsia-review.googlesource.com/c/36583/ which allows
  this test
  https://cs.chromium.org/chromium/src/base/files/file_posix.cc?l=262 to
  succeed correctly, which fixes FileTest.Append.

Bug: 707030
Change-Id: I6eeb723935a9ab9a384c72b34de91cd7aad67f60
Reviewed-on: https://chromium-review.googlesource.com/552878
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#483100}
[modify] https://crrev.com/3994a970725cb1b67cfbc14b1e973a7998329d24/DEPS
[modify] https://crrev.com/3994a970725cb1b67cfbc14b1e973a7998329d24/testing/buildbot/filters/fuchsia.base_unittests.filter

Project Member

Comment 8 by bugdroid1@chromium.org, Jun 28 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7520afadc228507b98f51498151db3337ff9ce8c

commit 7520afadc228507b98f51498151db3337ff9ce8c
Author: Scott Graham <scottmg@chromium.org>
Date: Wed Jun 28 19:56:50 2017

Revert "Roll Fuchsia SDK to ea457dcf78ad20e3f60e6558a06123ced6df3e5b"

This reverts commit 3994a970725cb1b67cfbc14b1e973a7998329d24.

Reason for revert: Breaks https://cs.chromium.org/chromium/src/third_party/googletest/src/googletest/include/gtest/gtest.h?l=446&ct=xref_jump_to_def.

Original change's description:
> Roll Fuchsia SDK to ea457dcf78ad20e3f60e6558a06123ced6df3e5b
> 
> Follows https://bugs.chromium.org/p/chromium/issues/detail?id=707030#c4.
> 
> Notable changes:
> - Includes https://fuchsia-review.googlesource.com/c/36583/ which allows
>   this test
>   https://cs.chromium.org/chromium/src/base/files/file_posix.cc?l=262 to
>   succeed correctly, which fixes FileTest.Append.
> 
> Bug: 707030
> Change-Id: I6eeb723935a9ab9a384c72b34de91cd7aad67f60
> Reviewed-on: https://chromium-review.googlesource.com/552878
> Reviewed-by: Nico Weber <thakis@chromium.org>
> Commit-Queue: Scott Graham <scottmg@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#483100}

TBR=thakis@chromium.org,scottmg@chromium.org

Change-Id: Ie241ba39e4cff41cb727df3afa970c5c335ec979
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 707030
Reviewed-on: https://chromium-review.googlesource.com/552745
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#483106}
[modify] https://crrev.com/7520afadc228507b98f51498151db3337ff9ce8c/DEPS
[modify] https://crrev.com/7520afadc228507b98f51498151db3337ff9ce8c/testing/buildbot/filters/fuchsia.base_unittests.filter

Project Member

Comment 9 by bugdroid1@chromium.org, Jun 29 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5dfbd3fa246a046c79a1d015f8c99040aa416624

commit 5dfbd3fa246a046c79a1d015f8c99040aa416624
Author: Scott Graham <scottmg@chromium.org>
Date: Thu Jun 29 00:09:08 2017

Roll Fuchsia SDK to 8b1076a14d3e31dd3e569b44ddb49e49e0799baf

Includes
https://fuchsia.googlesource.com/magenta/+/86fca78429c3a09e4d7e99fcaf3cb79262f3cd7f
and
https://fuchsia.googlesource.com/magenta/+/4ae4c542d434ec4e3e619145b773f23818632d54

to fix FileTest.Append without regressing FileUtilTest.SetNonBlocking.

Bug: 707030, 706592
Change-Id: Ia29f3cca09101eb7fb721c924d688c6a3d0fb406
Reviewed-on: https://chromium-review.googlesource.com/553718
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#483208}
[modify] https://crrev.com/5dfbd3fa246a046c79a1d015f8c99040aa416624/DEPS
[modify] https://crrev.com/5dfbd3fa246a046c79a1d015f8c99040aa416624/testing/buildbot/filters/fuchsia.base_unittests.filter

Comment 10 by w...@chromium.org, Jul 15 2017

Components: Internals>PlatformIntegration
Project Member

Comment 11 by bugdroid1@chromium.org, Jul 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/91dc858cff81396515b153275a7887c2879150c4

commit 91dc858cff81396515b153275a7887c2879150c4
Author: Wez <wez@chromium.org>
Date: Tue Jul 18 02:11:56 2017

Roll Fuchsia SDK to 06ab789730c8f0749bda7eb4fd1e7988eccc38e0

Includes changes to:
- Deprecate the MX_PORT_OPT_V2 option.
- Remove various empty header files previously provided to aid porting
  of Linux code (e.g. sys/syscalls.h).

Bug: 707030
Change-Id: Ibb56470f791036037be69a341ebb716825b16b40
Reviewed-on: https://chromium-review.googlesource.com/572883
Commit-Queue: Wez <wez@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487345}
[modify] https://crrev.com/91dc858cff81396515b153275a7887c2879150c4/DEPS
[modify] https://crrev.com/91dc858cff81396515b153275a7887c2879150c4/base/message_loop/message_pump_fuchsia.cc

Project Member

Comment 12 by bugdroid1@chromium.org, Jul 22 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b29655da291d0fe10c945899913a21a63c278636

commit b29655da291d0fe10c945899913a21a63c278636
Author: Wez <wez@chromium.org>
Date: Sat Jul 22 01:38:11 2017

Roll Fuchsia SDK to 5c6db30993546cb0d76189c834697054ed5b680a

Includes changes to:
- Include the bootstrap service and default configuration in the bootfs.
- Support mmap()ing of files on tmpfs filesystems.

Bug: 707030
Change-Id: I4d3df8a0c2acc7bfaaa957f298dfddc8f567cbcb
Reviewed-on: https://chromium-review.googlesource.com/582048
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#488835}
[modify] https://crrev.com/b29655da291d0fe10c945899913a21a63c278636/DEPS

Project Member

Comment 13 by bugdroid1@chromium.org, Jul 25 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/db3c2b654c3dd2836f5d38d1644a86b9380056ae

commit db3c2b654c3dd2836f5d38d1644a86b9380056ae
Author: Scott Graham <scottmg@chromium.org>
Date: Tue Jul 25 04:23:16 2017

fuchsia: Point at new packaged SDK location

This SDK is built automatically by the Fuchsia team bot, rather than
having Cr-Fuchsia or Fuchsia do manual things to build it.

It's still manually tested though.

Bug: 707030
Change-Id: I3d4aa101e91e0fc447824a239fbc4c007d84ff6b
Reviewed-on: https://chromium-review.googlesource.com/584094
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#489229}
[modify] https://crrev.com/db3c2b654c3dd2836f5d38d1644a86b9380056ae/DEPS
[modify] https://crrev.com/db3c2b654c3dd2836f5d38d1644a86b9380056ae/build/fuchsia/update_sdk.py

Blockedon: 750392
Project Member

Comment 15 by bugdroid1@chromium.org, Jul 31 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/buildtools/+/335548b45d17d78abbad540672d8db89dcbb1491

commit 335548b45d17d78abbad540672d8db89dcbb1491
Author: Scott Graham <scottmg@chromium.org>
Date: Mon Jul 31 16:28:29 2017

fuchsia: Build libunwind on Fuchsia too

For https://chromium-review.googlesource.com/c/594270.

Bug: 707030,  750392 
Change-Id: I438a24df6c527c6383c16095645e79284c21a9ca

[modify] https://crrev.com/335548b45d17d78abbad540672d8db89dcbb1491/third_party/libc++abi/BUILD.gn

Project Member

Comment 17 by bugdroid1@chromium.org, Aug 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/131568b82901daf84658a300210a9002949b54a2

commit 131568b82901daf84658a300210a9002949b54a2
Author: Scott Graham <scottmg@chromium.org>
Date: Tue Aug 01 17:20:44 2017

fuchsia: Roll SDK to 2bebd264dfe3bec89469a4179a8292b416cdf2fa

Not the normal simple update-the-hash SDK update. Changes:

- Use our own libunwind (as it's been removed from the Fuchsia SDK);

- Use the toolchain hash as a version #define instead of the .stamp in
  sysroot (which has been removed). The Fuchsia team builds with -MD to
  cause rebuilds after ABI changes, Chromium builds with -MMD. The
  global define ensures we rebuild on SDK updates;

- Update clang version to '6.0.0' to get correct builtins lib;

- Update docs for pulling SDK from prebuilt package, rather than doing
  local builds.

- Don't include libc++ and libunwind .so into the runner disk image, as
  we link to them statically now.

Bug: 707030,  750392 
Change-Id: I6702ce208e23288107db00d80f4bed7f875820ae
Reviewed-on: https://chromium-review.googlesource.com/594270
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491035}
[modify] https://crrev.com/131568b82901daf84658a300210a9002949b54a2/DEPS
[modify] https://crrev.com/131568b82901daf84658a300210a9002949b54a2/build/config/c++/BUILD.gn
[modify] https://crrev.com/131568b82901daf84658a300210a9002949b54a2/build/config/fuchsia/BUILD.gn
[modify] https://crrev.com/131568b82901daf84658a300210a9002949b54a2/build/config/sysroot.gni
[modify] https://crrev.com/131568b82901daf84658a300210a9002949b54a2/build/fuchsia/test_runner.py
[modify] https://crrev.com/131568b82901daf84658a300210a9002949b54a2/docs/fuchsia_sdk_updates.md

Project Member

Comment 18 by bugdroid1@chromium.org, Aug 3 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/483a4433d8eb95b841adbefe3b306cb8521a3494

commit 483a4433d8eb95b841adbefe3b306cb8521a3494
Author: Scott Graham <scottmg@chromium.org>
Date: Thu Aug 03 20:14:12 2017

Roll Fuchsia SDK to bb4f07c0178ae528aeb9d284333e3d0bf59a0eb7

Notably includes
https://fuchsia.googlesource.com/magenta/+/396b28ef2039e962c19f9d972d72ed56aa665d5b
which makes the POSIX-y impl of PartitionAlloc work on Fuchsia, so
enable those tests.

TBR=wez@chromium.org

Bug: 706592, 707030
Change-Id: I81969597e87969c755afb6e538bccf5ab1cf1eb9
Reviewed-on: https://chromium-review.googlesource.com/600987
Reviewed-by: Scott Graham <scottmg@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491825}
[modify] https://crrev.com/483a4433d8eb95b841adbefe3b306cb8521a3494/DEPS
[modify] https://crrev.com/483a4433d8eb95b841adbefe3b306cb8521a3494/testing/buildbot/filters/fuchsia.base_unittests.filter

Project Member

Comment 19 by bugdroid1@chromium.org, Aug 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/92d0bbb18efb3be5f1c1b1fcc5273cb9e109bb18

commit 92d0bbb18efb3be5f1c1b1fcc5273cb9e109bb18
Author: Wez <wez@chromium.org>
Date: Thu Aug 10 05:26:06 2017

Roll Fuchsia SDK to 2c480ede6948b4134bde9c689d2a72a1ba0d1282.

This includes https://fuchsia-review.googlesource.com/c/48329, which is
a prerequisite for file-descriptor passing across Fuchsia IPC channels,
and a fix for an infrequent Fuchsia hang on startup.

TBR=scottmg

Bug: 707030,  754029 
Change-Id: I3232a4383a483a6947b266da94a9395b1c363c24
Reviewed-on: https://chromium-review.googlesource.com/609392
Commit-Queue: Wez <wez@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#493267}
[modify] https://crrev.com/92d0bbb18efb3be5f1c1b1fcc5273cb9e109bb18/DEPS

Project Member

Comment 20 by bugdroid1@chromium.org, Aug 16 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d83cbafd07629db864f055e2c28314eda9085239

commit d83cbafd07629db864f055e2c28314eda9085239
Author: Scott Graham <scottmg@chromium.org>
Date: Wed Aug 16 07:55:08 2017

fuchsia: Add helper script to build 'local' sdk

sgraham@river:/work/cr/src$ tools/fuchsia/local-sdk.py /work/fuchsia
Run: scripts/build-magenta.sh -t x86_64
...
Run: go run scripts/makesdk.go -output /tmp/tmp4CS41x/fuchsia-sdk.tgz .
Creating directory /work/cr/src/third_party/fuchsia-sdk

Script to temporarily replace third_party/fuchsia-sdk with a local build
out of the Fuchsia tree so that you can pull ToT without rolling, add
prints to Fuchsia itself, etc.

The "real" SDK can be restored by running `gclient runhooks` which will
re-download the SDK version specified in DEPS.

Bug: 707030, 707031
Change-Id: I00305378e9bb66ac3321f7031dfc97890f344404
Reviewed-on: https://chromium-review.googlesource.com/616302
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#494719}
[modify] https://crrev.com/d83cbafd07629db864f055e2c28314eda9085239/docs/fuchsia_sdk_updates.md
[add] https://crrev.com/d83cbafd07629db864f055e2c28314eda9085239/tools/fuchsia/local-sdk.py

Project Member

Comment 21 by bugdroid1@chromium.org, Aug 22 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c0505510bf51761aa62917fb6a8665dca57e8f93

commit c0505510bf51761aa62917fb6a8665dca57e8f93
Author: Scott Graham <scottmg@chromium.org>
Date: Tue Aug 22 02:36:10 2017

Roll Fuchsia sdk to 4f60d251ab16d2e514fb6394c83e4544ce91554c

This rolls to an sdk version to be an identifier that can usefully used
as an identifier to sync the fuchsia tree (this regressed for a while on
fuchsia side).

Includes fix for long command lines:
https://fuchsia.atlassian.net/browse/MG-1038

Bug: 707030
Change-Id: I200d39485acd8439977aa25a46ad7fee4d25b4c0
Reviewed-on: https://chromium-review.googlesource.com/625077
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#496182}
[modify] https://crrev.com/c0505510bf51761aa62917fb6a8665dca57e8f93/DEPS
[modify] https://crrev.com/c0505510bf51761aa62917fb6a8665dca57e8f93/docs/fuchsia_sdk_updates.md

Project Member

Comment 22 by bugdroid1@chromium.org, Aug 31 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ffd9654d27e456ddf734c3421a29e2a7e57fa8a0

commit ffd9654d27e456ddf734c3421a29e2a7e57fa8a0
Author: Scott Graham <scottmg@chromium.org>
Date: Thu Aug 31 17:32:23 2017

Roll Fuchsia SDK to 2947889cf6f6a53dcd9826e4ce41316920fcb05c

Includes fix for parent dir mtime not being updated (MG-1086).

Bug: 707030, 760687
Change-Id: I2e0fe0febf060f12b25ed8fbff5a3f64afd926d7
TBR: wez@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/646371
Reviewed-by: Scott Graham <scottmg@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#498908}
[modify] https://crrev.com/ffd9654d27e456ddf734c3421a29e2a7e57fa8a0/DEPS

Project Member

Comment 23 by bugdroid1@chromium.org, Sep 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/77dcd14773244dc6b8edcaa96b229fd7ea31dee7

commit 77dcd14773244dc6b8edcaa96b229fd7ea31dee7
Author: Scott Graham <scottmg@chromium.org>
Date: Fri Sep 01 20:14:05 2017

Roll Fuchsia SDK to d9ccb5f3ba70118dba419f8202ebd74613005c9c

Includes
https://fuchsia.googlesource.com/magenta/+/be89b326bedee758902868d7e5346862075abf6f
which fixes the behaviour seen in https://bugs.chromium.org/p/chromium/issues/detail?id=761214#c3.

Bug: 707030, 761214,  754861 
Change-Id: I53e708a66c0a51bba9b26ffb42d094d90fe2eae6
TBR: sergeyu@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/648220
Reviewed-by: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#499272}
[modify] https://crrev.com/77dcd14773244dc6b8edcaa96b229fd7ea31dee7/DEPS

Project Member

Comment 24 by bugdroid1@chromium.org, Sep 7 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/009a09061bcfb606c9f574bde74d8faf83de8663

commit 009a09061bcfb606c9f574bde74d8faf83de8663
Author: Sergey Ulanov <sergeyu@chromium.org>
Date: Thu Sep 07 20:13:11 2017

Roll Fuchsia SDK to 0a2d4198189795c3e67383e2d97c789db69b6c87

The new SDK includes fix for UDP sockets, see
https://fuchsia-review.googlesource.com/#/c/garnet/+/59525/

NOTRY=true

Bug: 707030,  731302 
Change-Id: Ie51b9b8982a42cf6cfeadbe59d1360abb3a962c0
Reviewed-on: https://chromium-review.googlesource.com/655797
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#500365}
[modify] https://crrev.com/009a09061bcfb606c9f574bde74d8faf83de8663/DEPS

Project Member

Comment 25 by bugdroid1@chromium.org, Sep 7 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4185e6ad296c64fa70b83ba42b467b3b6e0c574a

commit 4185e6ad296c64fa70b83ba42b467b3b6e0c574a
Author: Scott Graham <scottmg@chromium.org>
Date: Thu Sep 07 20:55:29 2017

Roll Fuchsia SDK to f319affb3cb0a9baa3cebe74ad33fa17f232f09c

Includes 'sbase' for basic command line utilities on the target.

NOTRY=true

Bug: 707030
Change-Id: Ic4d64ab8743c0d076ba8a7c0647c22a37a847a83
TBR: sergeyu@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/655946
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#500374}
[modify] https://crrev.com/4185e6ad296c64fa70b83ba42b467b3b6e0c574a/DEPS

Project Member

Comment 26 by bugdroid1@chromium.org, Sep 11 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4de6f1393f7efa9e4ff45254e402dbabb4727030

commit 4de6f1393f7efa9e4ff45254e402dbabb4727030
Author: Sergey Ulanov <sergeyu@chromium.org>
Date: Mon Sep 11 23:33:19 2017

Roll Fuchsia SDK to d7db7f4e971de73ccec78eaf6c34a0f424e8831f

Following issues are fixed in this version:
1. NET-170: MSG_TRUNC support in recvmsg().
2. NET-120: asynchronous connect().

NOTRY=true

Bug:  731302 , 707030
Change-Id: I74047a9d86fe4bce6c384658676903b115ed437a
Reviewed-on: https://chromium-review.googlesource.com/661298
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#501096}
[modify] https://crrev.com/4de6f1393f7efa9e4ff45254e402dbabb4727030/DEPS

Project Member

Comment 27 by bugdroid1@chromium.org, Sep 12 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f1c3ca49ed7f55362c6ee4b008a7f7f43213fa69

commit f1c3ca49ed7f55362c6ee4b008a7f7f43213fa69
Author: Sergey Ulanov <sergeyu@chromium.org>
Date: Tue Sep 12 21:18:04 2017

Revert "Roll Fuchsia SDK to d7db7f4e971de73ccec78eaf6c34a0f424e8831f"

This reverts commit 4de6f1393f7efa9e4ff45254e402dbabb4727030.

Reason for revert: net_unittests failures

Original change's description:
> Roll Fuchsia SDK to d7db7f4e971de73ccec78eaf6c34a0f424e8831f
> 
> Following issues are fixed in this version:
> 1. NET-170: MSG_TRUNC support in recvmsg().
> 2. NET-120: asynchronous connect().
> 
> NOTRY=true
> 
> Bug:  731302 , 707030
> Change-Id: I74047a9d86fe4bce6c384658676903b115ed437a
> Reviewed-on: https://chromium-review.googlesource.com/661298
> Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
> Reviewed-by: Scott Graham <scottmg@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#501096}

TBR=sergeyu@chromium.org,scottmg@chromium.org

Change-Id: I30e9140ea3d7a1119a234e74828d527b9214c782
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug:  731302 , 707030
Reviewed-on: https://chromium-review.googlesource.com/663498
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#501400}
[modify] https://crrev.com/f1c3ca49ed7f55362c6ee4b008a7f7f43213fa69/DEPS

Project Member

Comment 28 by bugdroid1@chromium.org, Sep 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/v8/v8.git/+/aabb893a3259c72a78920771280d0832411c92c1

commit aabb893a3259c72a78920771280d0832411c92c1
Author: Scott Graham <scottmg@chromium.org>
Date: Fri Sep 15 19:23:39 2017

fuchsia: Set up for 3-sided roll to convert Magenta->Zircon

Fuchsia changed their kernel name from Magenta to Zircon and all the
functions and defines along with it. In order to be able to roll the SDK
in Chromium, we first need to land with this define added in v8, so that
can roll in to Chromium, then roll the Fuchsia SDK with this magic
define set (CHROMIUM_ROLLING_MAGENTA_TO_ZIRCON), then actually update v8
to reference zx_ instead of mx_ and roll that again.

Chromium-side for reference: https://chromium-review.googlesource.com/c/chromium/src/+/669139

Bug:  chromium:765754 , chromium:707030
Change-Id: I4ed5027f455d2346f431e7c700e87693348d5b79
Reviewed-on: https://chromium-review.googlesource.com/668751
Reviewed-by: Bill Budge <bbudge@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48047}
[modify] https://crrev.com/aabb893a3259c72a78920771280d0832411c92c1/src/base/platform/platform-fuchsia.cc

Project Member

Comment 29 by bugdroid1@chromium.org, Sep 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/v8/v8.git/+/8c89502008d6475b558beaf53324b5a852bba8dc

commit 8c89502008d6475b558beaf53324b5a852bba8dc
Author: Michael Hablich <hablich@chromium.org>
Date: Mon Sep 18 07:58:14 2017

Revert "fuchsia: Set up for 3-sided roll to convert Magenta->Zircon"

This reverts commit aabb893a3259c72a78920771280d0832411c92c1.

Reason for revert: blocks roll https://chromium-review.googlesource.com/c/chromium/src/+/669540; Fix has not landed yet: https://chromium-review.googlesource.com/c/v8/v8/+/670280

Original change's description:
> fuchsia: Set up for 3-sided roll to convert Magenta->Zircon
> 
> Fuchsia changed their kernel name from Magenta to Zircon and all the
> functions and defines along with it. In order to be able to roll the SDK
> in Chromium, we first need to land with this define added in v8, so that
> can roll in to Chromium, then roll the Fuchsia SDK with this magic
> define set (CHROMIUM_ROLLING_MAGENTA_TO_ZIRCON), then actually update v8
> to reference zx_ instead of mx_ and roll that again.
> 
> Chromium-side for reference: https://chromium-review.googlesource.com/c/chromium/src/+/669139
> 
> Bug:  chromium:765754 , chromium:707030
> Change-Id: I4ed5027f455d2346f431e7c700e87693348d5b79
> Reviewed-on: https://chromium-review.googlesource.com/668751
> Reviewed-by: Bill Budge <bbudge@chromium.org>
> Commit-Queue: Scott Graham <scottmg@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#48047}

TBR=bbudge@chromium.org,scottmg@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug:  chromium:765754 , chromium:707030
Change-Id: Ic1563b10a69372a0946ee9eacc8a2d21eb3ee302
Reviewed-on: https://chromium-review.googlesource.com/670619
Reviewed-by: Michael Hablich <hablich@chromium.org>
Commit-Queue: Michael Hablich <hablich@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48059}
[modify] https://crrev.com/8c89502008d6475b558beaf53324b5a852bba8dc/src/base/platform/platform-fuchsia.cc

Project Member

Comment 30 by bugdroid1@chromium.org, Sep 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/v8/v8.git/+/afbdd1dd49045daa50245181d7cf55167e1ef198

commit afbdd1dd49045daa50245181d7cf55167e1ef198
Author: Scott Graham <scottmg@chromium.org>
Date: Mon Sep 18 15:00:47 2017

Reland "fuchsia: Set up for 3-sided roll to convert Magenta->Zircon"

This is a reland of aabb893a3259c72a78920771280d0832411c92c1
Original change's description:
> fuchsia: Set up for 3-sided roll to convert Magenta->Zircon
> 
> Fuchsia changed their kernel name from Magenta to Zircon and all the
> functions and defines along with it. In order to be able to roll the SDK
> in Chromium, we first need to land with this define added in v8, so that
> can roll in to Chromium, then roll the Fuchsia SDK with this magic
> define set (CHROMIUM_ROLLING_MAGENTA_TO_ZIRCON), then actually update v8
> to reference zx_ instead of mx_ and roll that again.
> 
> Chromium-side for reference: https://chromium-review.googlesource.com/c/chromium/src/+/669139
> 
> Bug:  chromium:765754 , chromium:707030
> Change-Id: I4ed5027f455d2346f431e7c700e87693348d5b79
> Reviewed-on: https://chromium-review.googlesource.com/668751
> Reviewed-by: Bill Budge <bbudge@chromium.org>
> Commit-Queue: Scott Graham <scottmg@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#48047}

TBR=bbudge@chromium.org

Bug:  chromium:765754 , chromium:707030
Change-Id: Ib6e99ca418af527014622614d07d295b6110f9d5
Reviewed-on: https://chromium-review.googlesource.com/670944
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48067}
[modify] https://crrev.com/afbdd1dd49045daa50245181d7cf55167e1ef198/src/base/platform/platform-fuchsia.cc

Project Member

Comment 31 by bugdroid1@chromium.org, Sep 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/fe0e9f46ab247ff5a28a823f344c93230953018f

commit fe0e9f46ab247ff5a28a823f344c93230953018f
Author: Scott Graham <scottmg@chromium.org>
Date: Mon Sep 18 21:25:04 2017

fuchsia: Magenta -> Zircon

Includes a Fuchsia SDK update, and a lot of mx_ -> zx_, et al.

Sets CHROMIUM_ROLLING_MAGENTA_TO_ZIRCON=1 as a global define
temporarily to support for 3-sided rolls of third_party DEPS.

Requires https://chromium-review.googlesource.com/c/v8/v8/+/668751 to
have landed and rolled.

Requires boringssl roll with similar change to have landed
https://chromium-review.googlesource.com/c/chromium/src/+/668704.

R=dcheng@chromium.org,nick@chromium.org,tsepez@chromium.org,rockot@chromium.org
TBR=nick@chromium.org

Bug:  765754 , 707030
Change-Id: I6c2ad37b3c5b13c2a3a98da6e1ff9160ad2de949
Reviewed-on: https://chromium-review.googlesource.com/669139
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: David Benjamin <davidben@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Ken Rockot <rockot@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#502678}
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/DEPS
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/BUILD.gn
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/debug/stack_trace_fuchsia.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/fuchsia/default_job.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/fuchsia/default_job.h
[delete] https://crrev.com/f9c2ab69a068a6c9b589086b7c9d1331a166dc1e/base/fuchsia/scoped_mx_handle.h
[add] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/fuchsia/scoped_zx_handle.h
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/memory/shared_memory_fuchsia.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/memory/shared_memory_handle.h
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/memory/shared_memory_handle_fuchsia.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/memory/shared_memory_unittest.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/message_loop/message_loop.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/message_loop/message_loop.h
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/message_loop/message_pump_fuchsia.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/message_loop/message_pump_fuchsia.h
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/metrics/field_trial.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/process/kill_fuchsia.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/process/launch.h
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/process/launch_fuchsia.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/process/process.h
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/process/process_fuchsia.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/process/process_handle.h
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/process/process_handle_fuchsia.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/process/process_util_unittest.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/rand_util_fuchsia.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/sys_info_fuchsia.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/test/launcher/test_launcher.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/threading/platform_thread.h
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/threading/platform_thread_posix.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/time/time.h
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/time/time_fuchsia.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/base/trace_event/heap_profiler_allocation_register_posix.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/build/config/fuchsia/BUILD.gn
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/build/fuchsia/runner_common.py
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/content/browser/browser_main_loop.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/content/browser/tracing/tracing_controller_impl.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/ipc/handle_attachment_fuchsia.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/ipc/handle_attachment_fuchsia.h
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/ipc/handle_fuchsia.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/ipc/handle_fuchsia.h
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/ipc/ipc_message_attachment.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/mojo/edk/embedder/platform_channel_pair_fuchsia.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/mojo/edk/embedder/platform_handle.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/mojo/edk/embedder/platform_handle.h
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/mojo/edk/embedder/platform_handle_utils_fuchsia.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/mojo/edk/system/channel.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/mojo/edk/system/channel.h
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/mojo/edk/system/channel_fuchsia.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/mojo/edk/system/platform_wrapper_unittest.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/mojo/public/c/system/platform_handle.h
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/mojo/public/cpp/system/platform_handle.cc
[modify] https://crrev.com/fe0e9f46ab247ff5a28a823f344c93230953018f/net/base/net_errors_posix.cc

Project Member

Comment 32 by bugdroid1@chromium.org, Sep 26 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9e4a3e9fc974b2c0267aba091ef3effe8ebcd3ca

commit 9e4a3e9fc974b2c0267aba091ef3effe8ebcd3ca
Author: Sergey Ulanov <sergeyu@chromium.org>
Date: Tue Sep 26 16:55:27 2017

Roll Fuchsia SDK to 36d9ffb6bda53112e826941757efe04654050d46

This version:
 - Fixes getaddrinfo().
 - Adds media_client library.

TBR=yzshen@chromium.org
NOTRY=true

Bug: 707030,  737802 ,  731302 
Change-Id: I271d9681194d81d2979635784b3f0ca2c0a946d0
Reviewed-on: https://chromium-review.googlesource.com/683311
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#504401}
[modify] https://crrev.com/9e4a3e9fc974b2c0267aba091ef3effe8ebcd3ca/DEPS
[modify] https://crrev.com/9e4a3e9fc974b2c0267aba091ef3effe8ebcd3ca/mojo/edk/embedder/platform_handle.h

Project Member

Comment 33 by bugdroid1@chromium.org, Oct 6 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f88170e15156f33171b07465cc0b6042dd130ef4

commit f88170e15156f33171b07465cc0b6042dd130ef4
Author: Wez <wez@chromium.org>
Date: Fri Oct 06 19:32:18 2017

Roll Fuchsia SDK to 226f6dd0cad1d6be63a353ce2649423470729ae9.

This roll includes:
- Redefinition of zx_handle_t from int to unsigned int, requiring fixes
  to call-sites that tried to reinterpret_cast<zx_handle_t>(int).
- Move of sysroot files to per-architecture sub-directories, as part of
  ARM64 bring-up.

Bug: 707030,  772031 
Change-Id: If65230b296c9a07eee3460cb9abbd5e7f7beeb30
Reviewed-on: https://chromium-review.googlesource.com/703989
Reviewed-by: Alexei Svitkine <asvitkine@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#507143}
[modify] https://crrev.com/f88170e15156f33171b07465cc0b6042dd130ef4/DEPS
[modify] https://crrev.com/f88170e15156f33171b07465cc0b6042dd130ef4/base/metrics/field_trial.cc
[modify] https://crrev.com/f88170e15156f33171b07465cc0b6042dd130ef4/build/fuchsia/runner_common.py

Project Member

Comment 34 by bugdroid1@chromium.org, Oct 12 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2dcc2090ea09a382bef131774c1967c3315d5110

commit 2dcc2090ea09a382bef131774c1967c3315d5110
Author: Sergey Ulanov <sergeyu@chromium.org>
Date: Thu Oct 12 03:00:21 2017

Roll Fuchsia SDK to bb7a8c4be8001868468ba0a76389ce4ee111620c

- x2APIC support in the kernel, should improve performance in nested VMs
  on GCE.
- Support for asynchronous connect()

Bug: 707030,  765720 
Change-Id: Id3b20b861ffefd82b9a4cead673e6df38e9957da
Reviewed-on: https://chromium-review.googlesource.com/710003
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#508236}
[modify] https://crrev.com/2dcc2090ea09a382bef131774c1967c3315d5110/DEPS

Project Member

Comment 35 by bugdroid1@chromium.org, Oct 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/fea2f07f106ebcb718a736770be8d35dbf71a07a

commit fea2f07f106ebcb718a736770be8d35dbf71a07a
Author: Sergey Ulanov <sergeyu@chromium.org>
Date: Sat Oct 21 04:34:26 2017

Roll Fuchsia SDK to 492eec9e40c9832dd8772f4718b7db6aac4d7921

In the new SDK:
 - NIC indices are 1-based now, which is useful for multicast UDP
   socket (for details see
   https://chromium-review.googlesource.com/c/chromium/src/+/729538)
 - LP_CLONE_FDIO_CWD was removed.

TBR=thakis@chromium.org

Bug: 707030,  768916 
Change-Id: If282c06ea01e7ec5e8f77d312529340e35ecc868
Reviewed-on: https://chromium-review.googlesource.com/731671
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#510660}
[modify] https://crrev.com/fea2f07f106ebcb718a736770be8d35dbf71a07a/DEPS
[modify] https://crrev.com/fea2f07f106ebcb718a736770be8d35dbf71a07a/base/process/launch.h
[modify] https://crrev.com/fea2f07f106ebcb718a736770be8d35dbf71a07a/base/process/launch_fuchsia.cc
[modify] https://crrev.com/fea2f07f106ebcb718a736770be8d35dbf71a07a/content/common/sandbox_policy_fuchsia.cc

Project Member

Comment 36 by bugdroid1@chromium.org, Oct 31 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d0aa2f4fc305f5cf801ceb43556d37b3ccd7833f

commit d0aa2f4fc305f5cf801ceb43556d37b3ccd7833f
Author: Scott Graham <scottmg@chromium.org>
Date: Tue Oct 31 02:41:54 2017

Add some notes about Zircon roller to Fuchsia SDK update docs

Bug: 707030
Change-Id: I77a50eccbfa58c5236330ba9a593fb96192c2c40
Reviewed-on: https://chromium-review.googlesource.com/745821
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512724}
[modify] https://crrev.com/d0aa2f4fc305f5cf801ceb43556d37b3ccd7833f/docs/fuchsia_sdk_updates.md

Project Member

Comment 37 by bugdroid1@chromium.org, Nov 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2ec422303b32292b0acd7bd2781f63498040de88

commit 2ec422303b32292b0acd7bd2781f63498040de88
Author: Scott Graham <scottmg@chromium.org>
Date: Wed Nov 01 06:22:49 2017

Roll Fuchsia SDK to ff6b8e980b4e5b0c898341e8a467b9c751857e5d

Reverts the QEMU binary which caused a substantial perf regression on
arm64 emu.

TBR: wez@chromium.org
Bug:  780096 , 707030
Change-Id: Ib48849dcfb261205a6211c9eec0a9e2b997970cd
Reviewed-on: https://chromium-review.googlesource.com/748682
Commit-Queue: Scott Graham <scottmg@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#513088}
[modify] https://crrev.com/2ec422303b32292b0acd7bd2781f63498040de88/DEPS

Project Member

Comment 38 by bugdroid1@chromium.org, Nov 9 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8a28390aab5f6910589f084c7975a78f6e2f3fe2

commit 8a28390aab5f6910589f084c7975a78f6e2f3fe2
Author: Scott Graham <scottmg@chromium.org>
Date: Thu Nov 09 21:11:02 2017

fuchsia: Update local-sdk.py for recent arg changes on Fuchsia side

Not just one arch, but instead a triple to build-zircon, and then the
arch to the gen/ninja commands.

Bug: 707030
Change-Id: I7f25df93989e22ea3c9619807b71ed217349ae3a
Reviewed-on: https://chromium-review.googlesource.com/761177
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: James Robinson <jamesr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#515288}
[modify] https://crrev.com/8a28390aab5f6910589f084c7975a78f6e2f3fe2/tools/fuchsia/local-sdk.py

Project Member

Comment 39 by bugdroid1@chromium.org, Nov 13 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8715f139f4ec9b37c0f24caef087784dfee1cb19

commit 8715f139f4ec9b37c0f24caef087784dfee1cb19
Author: Scott Graham <scottmg@chromium.org>
Date: Mon Nov 13 19:08:02 2017

fuchsia: Switch back to using PATH for envvar tests

With this SDK roll, Fuchsia now sets PATH. Switch environment variable
tests back to checking for its existence to remove #if.

Bug: 707030
Change-Id: Ifc0f1fea3388c6ad98f98864bb9bf7c4f8c87035
Reviewed-on: https://chromium-review.googlesource.com/766470
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#515996}
[modify] https://crrev.com/8715f139f4ec9b37c0f24caef087784dfee1cb19/DEPS
[modify] https://crrev.com/8715f139f4ec9b37c0f24caef087784dfee1cb19/base/environment_unittest.cc

Project Member

Comment 40 by bugdroid1@chromium.org, Dec 7 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8f109137bfff57962b6b872bfb55f8208d395d1a

commit 8f109137bfff57962b6b872bfb55f8208d395d1a
Author: Sergey Ulanov <sergeyu@chromium.org>
Date: Thu Dec 07 23:45:32 2017

[Fuchsia] Update local_sdk.py

Updated the script to work with the current version of Fuchsia:
  1. packets/gn/sdk was moved to garnet/packages/sdk
  2. projects were renamed to x86 and arm64

Bug: 707030
Change-Id: I886ad6d42930f12456e964d48d03ed054c024174
Reviewed-on: https://chromium-review.googlesource.com/815198
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#522621}
[modify] https://crrev.com/8f109137bfff57962b6b872bfb55f8208d395d1a/tools/fuchsia/local-sdk.py

Project Member

Comment 41 by bugdroid1@chromium.org, Dec 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1c610bb9ca28d976c23c0f7c4712ff0bdbb33503

commit 1c610bb9ca28d976c23c0f7c4712ff0bdbb33503
Author: Sergey Ulanov <sergeyu@chromium.org>
Date: Mon Dec 18 21:21:11 2017

Roll Fuchsia SDK 1a7e466 -> d0241d5

New SDK increased max number of DSOs crashlogger can load from 50 to 500,
so it can report stack trace from component builds.

Bug: 707030
Change-Id: Ic4954863fcdb940086a76cbbc9ea7bfbae6556e0
Reviewed-on: https://chromium-review.googlesource.com/833018
Reviewed-by: Wez <wez@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524803}
[modify] https://crrev.com/1c610bb9ca28d976c23c0f7c4712ff0bdbb33503/DEPS

Project Member

Comment 42 by bugdroid1@chromium.org, Dec 22 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3e8bea2d9e7c4a0495c259602f9448277dabd1a8

commit 3e8bea2d9e7c4a0495c259602f9448277dabd1a8
Author: Kevin Marshall <kmarshall@chromium.org>
Date: Fri Dec 22 20:17:41 2017

Roll Fuchsia SDK to 0ea54bf3.

The new SDK contains the Fuchsia package archival tool "far".

Bug: 707030
Change-Id: I41ecbe9e946919734f487ee824a48be177953a13
Reviewed-on: https://chromium-review.googlesource.com/843049
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#526047}
[modify] https://crrev.com/3e8bea2d9e7c4a0495c259602f9448277dabd1a8/DEPS

Project Member

Comment 43 by bugdroid1@chromium.org, Jan 4 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/61fdf783baf8b1e83f21d4f09241f8c3239876d5

commit 61fdf783baf8b1e83f21d4f09241f8c3239876d5
Author: Wez <wez@chromium.org>
Date: Thu Jan 04 01:20:43 2018

Roll Fuchsia SDK to 16f4a04b24e5affe5e3e4a43016f667894a54e63.

This includes a fix for the Real-Time Clock driver for x86-64.

Bug:  798578 , 707030
Change-Id: I633c221cb8f65f16cb683658665656d273ba8423
Reviewed-on: https://chromium-review.googlesource.com/849613
Commit-Queue: Wez <wez@chromium.org>
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#526887}
[modify] https://crrev.com/61fdf783baf8b1e83f21d4f09241f8c3239876d5/DEPS

Project Member

Comment 44 by bugdroid1@chromium.org, Jan 10 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/660ff99a094be171290b0f1fe4a6a3e450ca55ef

commit 660ff99a094be171290b0f1fe4a6a3e450ca55ef
Author: Kevin Marshall <kmarshall@chromium.org>
Date: Wed Jan 10 01:59:59 2018

Roll Fuchsia SDK to 6b4cb32d100d2ecfaaa9642adfb0de451c5b9a69.

- Fixes argv[0] to report package-relative path for "main" binary.
- Fixes 'threads' utility not to hang if threads exit mid-dump.
- Adds tracing command & service to the SDK, for easier debugging.
- Fixes SSH to return valid exit codes from remote commands.
- Fixes "run" to correctly route program output via stdout/stderr.
- Fixes NET-354 (SSH leaving processes hanging after client disconnects.)

Bug: 707030,  799268 ,  793412 ,  798851 , 778467
Change-Id: Ie3ab3fed54df1884089b57e1638883684de6836f
Reviewed-on: https://chromium-review.googlesource.com/857809
Commit-Queue: Wez <wez@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#528206}
[modify] https://crrev.com/660ff99a094be171290b0f1fe4a6a3e450ca55ef/DEPS

Project Member

Comment 45 by bugdroid1@chromium.org, Jan 26 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3d0476a897f85ba83f7fa280f625160518c64487

commit 3d0476a897f85ba83f7fa280f625160518c64487
Author: Scott Graham <scottmg@chromium.org>
Date: Fri Jan 26 18:08:16 2018

Roll Fuchsia SDK to 893404234442cf13abbc4e22ed996839ff5b1338

Updates clang toolchain_libs path to 7.0.0.

Includes https://fuchsia-review.googlesource.com/c/zircon/+/115121
which should fix component builds crashes.

Also renames calls from zx_time_get() to zx_clock_get() per recent
Fuchsia syscall change.

TBR=kmackay@chromium.org

Bug:  724204 , 707030,  803110 
Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: If2cb1d320c27b60fb32b0337ce1c6d2886b45b33
Reviewed-on: https://chromium-review.googlesource.com/884822
Reviewed-by: Kenneth MacKay <kmackay@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532014}
[modify] https://crrev.com/3d0476a897f85ba83f7fa280f625160518c64487/DEPS
[modify] https://crrev.com/3d0476a897f85ba83f7fa280f625160518c64487/base/time/time_fuchsia.cc
[modify] https://crrev.com/3d0476a897f85ba83f7fa280f625160518c64487/build/config/fuchsia/BUILD.gn
[modify] https://crrev.com/3d0476a897f85ba83f7fa280f625160518c64487/chromecast/media/cma/backend/audio_decoder_for_mixer.cc
[modify] https://crrev.com/3d0476a897f85ba83f7fa280f625160518c64487/chromecast/media/cma/backend/fuchsia/mixer_output_stream_fuchsia.cc
[modify] https://crrev.com/3d0476a897f85ba83f7fa280f625160518c64487/media/audio/fuchsia/audio_output_stream_fuchsia.cc

Project Member

Comment 46 by bugdroid1@chromium.org, Jan 30 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/07b216e355d5865e17b26179fa9c884e34a6d9ff

commit 07b216e355d5865e17b26179fa9c884e34a6d9ff
Author: Scott Graham <scottmg@chromium.org>
Date: Tue Jan 30 23:35:30 2018

fuchsia: Move sdk hash into update script instead of DEPS

Per discussion on https://chromium-review.googlesource.com/884822, this
is easier to work with for V8.

Bug: 707030
Change-Id: Ida09715f35280652408e209a408c2012a5648479
Reviewed-on: https://chromium-review.googlesource.com/894042
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#533081}
[modify] https://crrev.com/07b216e355d5865e17b26179fa9c884e34a6d9ff/DEPS
[modify] https://crrev.com/07b216e355d5865e17b26179fa9c884e34a6d9ff/build/fuchsia/update_sdk.py
[modify] https://crrev.com/07b216e355d5865e17b26179fa9c884e34a6d9ff/docs/fuchsia_sdk_updates.md

Project Member

Comment 47 by bugdroid1@chromium.org, Feb 5 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/041cd10c77b7a08483b4a30c4c312cbab8138acf

commit 041cd10c77b7a08483b4a30c4c312cbab8138acf
Author: Scott Graham <scottmg@chromium.org>
Date: Mon Feb 05 23:13:50 2018

fuchsia: Update local-sdk.py for recent gen.py changes

Bug: 707030
Change-Id: Ia61eecb9197af4040250980d8de20978b6b5739a
Reviewed-on: https://chromium-review.googlesource.com/902923
Reviewed-by: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#534526}
[modify] https://crrev.com/041cd10c77b7a08483b4a30c4c312cbab8138acf/tools/fuchsia/local-sdk.py

Project Member

Comment 48 by bugdroid1@chromium.org, Feb 12 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/v8/v8.git/+/eefad6677f234a09737a296487bcc57fff2e5039

commit eefad6677f234a09737a296487bcc57fff2e5039
Author: Wez <wez@chromium.org>
Date: Mon Feb 12 20:59:06 2018

Prepare libsampler Fuchsia implementation for SDK roll.

The next Fuchsia SDK roll changes the signature and types associated
with the zx_thread_read_state() API, so we temporarily need backward-
compatibility shims while we roll the SDK/Chromium/V8.

Bug: chromium:707030
Change-Id: I419a65bbb631a1ef0d7d5044b07d4cbbac08970f
Reviewed-on: https://chromium-review.googlesource.com/914695
Commit-Queue: Wez <wez@chromium.org>
Reviewed-by: Adam Klein <adamk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51256}
[modify] https://crrev.com/eefad6677f234a09737a296487bcc57fff2e5039/src/libsampler/sampler.cc

Project Member

Comment 49 by bugdroid1@chromium.org, Feb 14 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/151796356077baeb4d81beb59a04c65a325f8ff5

commit 151796356077baeb4d81beb59a04c65a325f8ff5
Author: Wez <wez@chromium.org>
Date: Wed Feb 14 02:50:03 2018

Roll Fuchsia SDK to af9c3aa2c72798dbb58a70de610bb7a30df322c0.

Only the freshest most succulent SDK builds are good enough for Chromium
and this one includes:

- Revised API definitions for thread-state debugging APIs.
- Reduce libc API surface, making it easier to spot use of unsupported
  POSIX APIs.

Bug: 707030
Change-Id: I7aa0e74b71bc78003f81049b75bf0b2a2201554e
Reviewed-on: https://chromium-review.googlesource.com/917661
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536625}
[modify] https://crrev.com/151796356077baeb4d81beb59a04c65a325f8ff5/build/fuchsia/update_sdk.py

Project Member

Comment 50 by bugdroid1@chromium.org, Feb 26 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/v8/v8.git/+/6fd918a23302322496f7ab40ad8ddefb63460eb0

commit 6fd918a23302322496f7ab40ad8ddefb63460eb0
Author: Wez <wez@chromium.org>
Date: Mon Feb 26 18:21:20 2018

Clean up usage of POSIX APIs that are unsupported under Fuchsia.

Recent Fuchsia SDKs have begun removing both symbols for unsupported
POSIX APIs, and also the relevant definitions, and even headers.

This CL:
- Removes dependencies on <sys/resource.h>.
- Adds a working implementation of GetUserTime().
- Fixes GetCurrentThreadId() to use the native (32-bit) Fuchsia thread
  handle, rather than the (64-bit) pthread*, to avoid potential for id
  clashes when truncating the value into a 32-bit int.

Bug: chromium:707030
Change-Id: Ic5774e138f7657123dd65d0fb7ef5d87876766e8
Reviewed-on: https://chromium-review.googlesource.com/933247
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Hannes Payer <hpayer@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51579}
[modify] https://crrev.com/6fd918a23302322496f7ab40ad8ddefb63460eb0/src/base/platform/platform-fuchsia.cc
[modify] https://crrev.com/6fd918a23302322496f7ab40ad8ddefb63460eb0/src/base/platform/platform-posix.cc
[modify] https://crrev.com/6fd918a23302322496f7ab40ad8ddefb63460eb0/src/base/sys-info.cc

Project Member

Comment 51 by bugdroid1@chromium.org, Feb 27 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/193277bcdc3b5c0527eec7f5e36d90588bdddc3d

commit 193277bcdc3b5c0527eec7f5e36d90588bdddc3d
Author: Wez <wez@chromium.org>
Date: Tue Feb 27 03:44:41 2018

Roll Fuchsia SDK to 739d1fd10565f97bacae8215903403b2677d8f48.

- Removes sys/resource.h, requiring some additional conditionals around
  includes of that header under OS_POSIX.
- Improves the system PRNG implementation to reduce the potential for
  lock contention.

We also clean up some test filter entries that either no longer refer
to an existing test, or are no longer required.

Bug: 707030,  801353 ,  809660 , 738275
Change-Id: Ic1f49625f20f2efc6c2509cf0f1fa8265d4e9f7f
Reviewed-on: https://chromium-review.googlesource.com/932822
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Eric Roman <eroman@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#539393}
[modify] https://crrev.com/193277bcdc3b5c0527eec7f5e36d90588bdddc3d/base/allocator/partition_allocator/partition_alloc_unittest.cc
[modify] https://crrev.com/193277bcdc3b5c0527eec7f5e36d90588bdddc3d/base/process/process_metrics_posix.cc
[modify] https://crrev.com/193277bcdc3b5c0527eec7f5e36d90588bdddc3d/base/process/process_util_unittest.cc
[modify] https://crrev.com/193277bcdc3b5c0527eec7f5e36d90588bdddc3d/base/sys_info_posix.cc
[modify] https://crrev.com/193277bcdc3b5c0527eec7f5e36d90588bdddc3d/base/threading/platform_thread_posix.cc
[modify] https://crrev.com/193277bcdc3b5c0527eec7f5e36d90588bdddc3d/build/fuchsia/update_sdk.py
[modify] https://crrev.com/193277bcdc3b5c0527eec7f5e36d90588bdddc3d/net/disk_cache/simple/simple_backend_impl.cc
[modify] https://crrev.com/193277bcdc3b5c0527eec7f5e36d90588bdddc3d/testing/buildbot/filters/fuchsia.base_unittests.filter

Project Member

Comment 52 by bugdroid1@chromium.org, Mar 1 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/26f4cdcf5fea1eb642e3cabd35c1bd1aaf502303

commit 26f4cdcf5fea1eb642e3cabd35c1bd1aaf502303
Author: Wez <wez@chromium.org>
Date: Thu Mar 01 07:39:27 2018

Roll Fuchsia SDK to 9d4016533477903c796470e7ab46c2e1dad31761.

- Removes sys/resource.h, requiring some additional conditionals around
  includes of that header under OS_POSIX.
- Improves the system PRNG implementation to reduce the potential for
  lock contention.

TBR: scottmg
Bug: 707030,  801353 ,  809660 , 738275,  817241 ,  817586 
Change-Id: I4e01a0b23ad66c060ac7a6776a45329775117886
Reviewed-on: https://chromium-review.googlesource.com/942685
Reviewed-by: Wez <wez@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#540093}
[modify] https://crrev.com/26f4cdcf5fea1eb642e3cabd35c1bd1aaf502303/build/fuchsia/update_sdk.py

Project Member

Comment 53 by bugdroid1@chromium.org, Mar 9 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/045f87da6588f2cfee731605539fb462c308d03e

commit 045f87da6588f2cfee731605539fb462c308d03e
Author: Sergey Ulanov <sergeyu@chromium.org>
Date: Fri Mar 09 02:21:15 2018

Roll Fuchsia SDK to c277a8a3c81b8012cfe03bff945cf15f945dfd63

The new SDK fixes NET-559. net_unittests should no longer timeout with
this change.

Bug: 707030,  818046 
Change-Id: Ie97df38a6bd02e1e9fcc22dce7f50888a3ad6f7e
Reviewed-on: https://chromium-review.googlesource.com/949970
Reviewed-by: Wez <wez@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541995}
[modify] https://crrev.com/045f87da6588f2cfee731605539fb462c308d03e/build/fuchsia/update_sdk.py

Project Member

Comment 54 by bugdroid1@chromium.org, Mar 19 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/081d9e05f5a0d5bd5156b408862952225bc663b4

commit 081d9e05f5a0d5bd5156b408862952225bc663b4
Author: Kevin Marshall <kmarshall@chromium.org>
Date: Mon Mar 19 19:44:49 2018

Fuchsia: Produce signed metadata+blob packages at build time.

* Remove FAR to package conversion logic.
* Migrate to "pm install" for installing packages on the deployment
  target.
* Plumb the unadorned application name through the various scripting
  layers, so that it can be run like "run foo_unittests".
* Roll SDK to 6e46feb3b26db267c65ea0923426a16f4da835bb.

Bug: 707030, 798851 

Change-Id: I4c8cc439a8be7a8d158df87200d0db6d67e6c9df
Reviewed-on: https://chromium-review.googlesource.com/963763
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#544130}
[modify] https://crrev.com/081d9e05f5a0d5bd5156b408862952225bc663b4/build/config/fuchsia/build_manifest.py
[modify] https://crrev.com/081d9e05f5a0d5bd5156b408862952225bc663b4/build/config/fuchsia/package.gni
[modify] https://crrev.com/081d9e05f5a0d5bd5156b408862952225bc663b4/build/config/fuchsia/rules.gni
[modify] https://crrev.com/081d9e05f5a0d5bd5156b408862952225bc663b4/build/fuchsia/runner_common.py
[modify] https://crrev.com/081d9e05f5a0d5bd5156b408862952225bc663b4/build/fuchsia/runner_v2/common_args.py
[modify] https://crrev.com/081d9e05f5a0d5bd5156b408862952225bc663b4/build/fuchsia/runner_v2/create_runner_script.py
[modify] https://crrev.com/081d9e05f5a0d5bd5156b408862952225bc663b4/build/fuchsia/runner_v2/exe_runner.py
[modify] https://crrev.com/081d9e05f5a0d5bd5156b408862952225bc663b4/build/fuchsia/runner_v2/qemu_target.py
[modify] https://crrev.com/081d9e05f5a0d5bd5156b408862952225bc663b4/build/fuchsia/runner_v2/run_package.py
[modify] https://crrev.com/081d9e05f5a0d5bd5156b408862952225bc663b4/build/fuchsia/runner_v2/test_runner.py
[modify] https://crrev.com/081d9e05f5a0d5bd5156b408862952225bc663b4/build/fuchsia/update_sdk.py

Project Member

Comment 55 by bugdroid1@chromium.org, Mar 20 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4b825d77e148a247c48f4fc5711f6f8bb4be1a29

commit 4b825d77e148a247c48f4fc5711f6f8bb4be1a29
Author: Kevin Marshall <kmarshall@chromium.org>
Date: Tue Mar 20 22:24:28 2018

Fuchsia: roll Fuchsia SDK from 6e46feb -> b62b7da.

This roll incorporates a recent fix with the SDK blobstore FVM size.

Bug: 707030
Change-Id: I180911bc70a38590db28812c23617f24975f3b73
Reviewed-on: https://chromium-review.googlesource.com/971843
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#544562}
[modify] https://crrev.com/4b825d77e148a247c48f4fc5711f6f8bb4be1a29/build/fuchsia/update_sdk.py

Project Member

Comment 56 by bugdroid1@chromium.org, Mar 21 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/cd54fed5e109370d5dd84d59e01819c1b786aefd

commit cd54fed5e109370d5dd84d59e01819c1b786aefd
Author: Kevin Marshall <kmarshall@chromium.org>
Date: Wed Mar 21 18:56:21 2018

Fuchsia: roll Fuchsia SDK from 6e46feb -> 3da56ad

This roll incorporates a recent fix with the SDK blobstore FVM size.

(This remedies the roll in commit 4b825d7, which used a SDK hash
that was cut too soon.)

TBR=sergeyu

Bug: 707030
Change-Id: I14e3dc7e7db0e3c3e832a815f1e91e9c7315494a
Reviewed-on: https://chromium-review.googlesource.com/972446
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#544787}
[modify] https://crrev.com/cd54fed5e109370d5dd84d59e01819c1b786aefd/build/fuchsia/update_sdk.py

Project Member

Comment 57 by bugdroid1@chromium.org, Mar 27 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/203787a481bba4de1438cd42863fd69e5e7e932e

commit 203787a481bba4de1438cd42863fd69e5e7e932e
Author: Sergey Ulanov <sergeyu@chromium.org>
Date: Tue Mar 27 20:16:22 2018

Move Fuchsia SDK to //third_party/fuchsia-sdk/sdk

Previously the SDK was unpacked in //third_party/fuchsia-sdk. Moving
it to a nested directory will allow adding GN build files under
//third_party/fuchsia-sdk for libraries and FIDL interfaces in the SDK.

Bug: 707030
Change-Id: I7687f7e44010e5b93ba487c25b7e48ea755ae024
Reviewed-on: https://chromium-review.googlesource.com/976741
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#546228}
[modify] https://crrev.com/203787a481bba4de1438cd42863fd69e5e7e932e/build/config/fuchsia/config.gni
[modify] https://crrev.com/203787a481bba4de1438cd42863fd69e5e7e932e/build/config/fuchsia/package.gni
[modify] https://crrev.com/203787a481bba4de1438cd42863fd69e5e7e932e/build/config/fuchsia/rules.gni
[modify] https://crrev.com/203787a481bba4de1438cd42863fd69e5e7e932e/build/fuchsia/runner_common.py
[modify] https://crrev.com/203787a481bba4de1438cd42863fd69e5e7e932e/build/fuchsia/runner_v2/common.py
[modify] https://crrev.com/203787a481bba4de1438cd42863fd69e5e7e932e/build/fuchsia/update_sdk.py
[modify] https://crrev.com/203787a481bba4de1438cd42863fd69e5e7e932e/third_party/.gitignore
[add] https://crrev.com/203787a481bba4de1438cd42863fd69e5e7e932e/third_party/fuchsia-sdk/OWNERS
[add] https://crrev.com/203787a481bba4de1438cd42863fd69e5e7e932e/third_party/fuchsia-sdk/README.chromium

Project Member

Comment 58 by bugdroid1@chromium.org, Apr 2 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2a112566cae8f0bbf4fc96d78d0b3d96c1a0dc5a

commit 2a112566cae8f0bbf4fc96d78d0b3d96c1a0dc5a
Author: Kevin Marshall <kmarshall@chromium.org>
Date: Mon Apr 02 23:50:31 2018

Fuchsia: extend the size of the blobstore FVM at build time.

This CL grows Fuchsia blobstore by a specified amount, large enough to
accommodate packaged executables installed at machine (QEMU) runtime.

Roll SDK from 32a56ad5 to de50ae25 for "fvm extend" and the inclusion
of fvm.blk.

Bug:  798851 , 707030
Change-Id: I5a6b6be21cc443e6ad46271918a2f40e191a26f6
Reviewed-on: https://chromium-review.googlesource.com/987012
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547568}
[modify] https://crrev.com/2a112566cae8f0bbf4fc96d78d0b3d96c1a0dc5a/build/config/fuchsia/BUILD.gn
[add] https://crrev.com/2a112566cae8f0bbf4fc96d78d0b3d96c1a0dc5a/build/config/fuchsia/extend_fvm.py
[modify] https://crrev.com/2a112566cae8f0bbf4fc96d78d0b3d96c1a0dc5a/build/config/fuchsia/rules.gni
[modify] https://crrev.com/2a112566cae8f0bbf4fc96d78d0b3d96c1a0dc5a/build/fuchsia/runner_v2/qemu_target.py
[modify] https://crrev.com/2a112566cae8f0bbf4fc96d78d0b3d96c1a0dc5a/build/fuchsia/sdk.sha1

Project Member

Comment 59 by bugdroid1@chromium.org, Apr 3 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/195beedfda5d3271d053eddfeea929e399229a03

commit 195beedfda5d3271d053eddfeea929e399229a03
Author: Wez <wez@chromium.org>
Date: Tue Apr 03 03:47:05 2018

Revert "Fuchsia: extend the size of the blobstore FVM at build time."

This reverts commit 2a112566cae8f0bbf4fc96d78d0b3d96c1a0dc5a.

Reason for revert: Unfortunately the SDK this CL rolled us to is subtley but badly broken. The CL fell narrowly short of Breaking All The Things, because some of the Things just don't touch the broken bits. :(

Original change's description:
> Fuchsia: extend the size of the blobstore FVM at build time.
> 
> This CL grows Fuchsia blobstore by a specified amount, large enough to
> accommodate packaged executables installed at machine (QEMU) runtime.
> 
> Roll SDK from 32a56ad5 to de50ae25 for "fvm extend" and the inclusion
> of fvm.blk.
> 
> Bug:  798851 , 707030
> Change-Id: I5a6b6be21cc443e6ad46271918a2f40e191a26f6
> Reviewed-on: https://chromium-review.googlesource.com/987012
> Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
> Reviewed-by: Wez <wez@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#547568}

TBR=wez@chromium.org,kmarshall@chromium.org

Bug:  828232 ,  828229 ,  798851 , 707030
Change-Id: I3ac0d1586c1a70700fbbd88d9f5762728bedc868
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/991672
Reviewed-by: Wez <wez@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547618}
[modify] https://crrev.com/195beedfda5d3271d053eddfeea929e399229a03/build/config/fuchsia/BUILD.gn
[delete] https://crrev.com/eb800e136bad107db6edd0976283d13e68377fdc/build/config/fuchsia/extend_fvm.py
[modify] https://crrev.com/195beedfda5d3271d053eddfeea929e399229a03/build/config/fuchsia/rules.gni
[modify] https://crrev.com/195beedfda5d3271d053eddfeea929e399229a03/build/fuchsia/runner_v2/qemu_target.py
[modify] https://crrev.com/195beedfda5d3271d053eddfeea929e399229a03/build/fuchsia/sdk.sha1

Project Member

Comment 60 by bugdroid1@chromium.org, Apr 4 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/febd80e463c099d074133e649d972bc5d49bc54d

commit febd80e463c099d074133e649d972bc5d49bc54d
Author: Kevin Marshall <kmarshall@chromium.org>
Date: Wed Apr 04 20:49:21 2018

Reland "Fuchsia: extend the size of the blobstore FVM at build time."

This is a reland of 2a112566cae8f0bbf4fc96d78d0b3d96c1a0dc5a , using
a newer SDK build which addresses the symbol visibility issues
that were causing the "new" operator to break.

TBR=wez@chromium.org

Original change's description:
> Fuchsia: extend the size of the blobstore FVM at build time.
>
> This CL grows Fuchsia blobstore by a specified amount, large enough to
> accommodate packaged executables installed at machine (QEMU) runtime.
>
> Roll SDK from 32a56ad5 to de50ae25 for "fvm extend" and the inclusion
> of fvm.blk.
>
> Bug:  798851 , 707030
> Change-Id: I5a6b6be21cc443e6ad46271918a2f40e191a26f6
> Reviewed-on: https://chromium-review.googlesource.com/987012
> Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
> Reviewed-by: Wez <wez@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#547568}

Bug:  798851 , 707030
Change-Id: I62de331c46b38ed7adb460bf9f5e8335e3f54a02
Reviewed-on: https://chromium-review.googlesource.com/996273
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548187}
[modify] https://crrev.com/febd80e463c099d074133e649d972bc5d49bc54d/build/config/fuchsia/BUILD.gn
[add] https://crrev.com/febd80e463c099d074133e649d972bc5d49bc54d/build/config/fuchsia/extend_fvm.py
[modify] https://crrev.com/febd80e463c099d074133e649d972bc5d49bc54d/build/config/fuchsia/rules.gni
[modify] https://crrev.com/febd80e463c099d074133e649d972bc5d49bc54d/build/fuchsia/runner_v2/qemu_target.py
[modify] https://crrev.com/febd80e463c099d074133e649d972bc5d49bc54d/build/fuchsia/sdk.sha1

Project Member

Comment 61 by bugdroid1@chromium.org, Apr 6 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2bc76418ee4be9a55b4eba0a490cd8aa017dfdca

commit 2bc76418ee4be9a55b4eba0a490cd8aa017dfdca
Author: Kevin Marshall <kmarshall@chromium.org>
Date: Fri Apr 06 00:09:39 2018

Fuchsia: Roll Fuchsia SDK to 836b86e (was 20cc9f093)

This roll incorporates a SDK fix which includes the QEMU-compatible
build of zircon.bin for arrch64.

Bug: 707030
Change-Id: Ib8efb5cdb5687af4f35b91fceb65a9343207dcf8
Reviewed-on: https://chromium-review.googlesource.com/999092
Reviewed-by: Wez <wez@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548616}
[modify] https://crrev.com/2bc76418ee4be9a55b4eba0a490cd8aa017dfdca/build/fuchsia/sdk.sha1

Project Member

Comment 62 by bugdroid1@chromium.org, Apr 12 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d8117c9a6a14bd59425684d02996e48afed10e37

commit d8117c9a6a14bd59425684d02996e48afed10e37
Author: Sergey Ulanov <sergeyu@chromium.org>
Date: Thu Apr 12 19:31:38 2018

Roll Fuchsia SDK to 9c13ee0b7ab9f0

New SDK contains
- fixes for goland fdio namespace
- pkgfs perf improvements
- updated async API

Bug: 707030
Change-Id: Ie97e68fc9a7623575d2673b6bba7647b5ef33733
Reviewed-on: https://chromium-review.googlesource.com/1010824
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550308}
[modify] https://crrev.com/d8117c9a6a14bd59425684d02996e48afed10e37/build/fuchsia/sdk.sha1

Project Member

Comment 63 by bugdroid1@chromium.org, Apr 17 2018

Labels: merge-merged-testbranch
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d8117c9a6a14bd59425684d02996e48afed10e37

commit d8117c9a6a14bd59425684d02996e48afed10e37
Author: Sergey Ulanov <sergeyu@chromium.org>
Date: Thu Apr 12 19:31:38 2018

Roll Fuchsia SDK to 9c13ee0b7ab9f0

New SDK contains
- fixes for goland fdio namespace
- pkgfs perf improvements
- updated async API

Bug: 707030
Change-Id: Ie97e68fc9a7623575d2673b6bba7647b5ef33733
Reviewed-on: https://chromium-review.googlesource.com/1010824
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550308}
[modify] https://crrev.com/d8117c9a6a14bd59425684d02996e48afed10e37/build/fuchsia/sdk.sha1

Project Member

Comment 64 by bugdroid1@chromium.org, Apr 19 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a92b79e78e62d9b3233341facc487fc432698179

commit a92b79e78e62d9b3233341facc487fc432698179
Author: Kevin Marshall <kmarshall@chromium.org>
Date: Thu Apr 19 20:20:18 2018

Fuchsia: Adapt struct literal to recent changes to async_ops_t.

Use named fields in compound literal for readability and protection
against struct layout churn.

Roll SDK to 3a1662dfbcb.

Bug: 707030
Change-Id: I1da12494cad5cd781ed02a519d68ebf1bea016f8
Reviewed-on: https://chromium-review.googlesource.com/1017301
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552143}
[modify] https://crrev.com/a92b79e78e62d9b3233341facc487fc432698179/base/fuchsia/async_dispatcher.cc
[modify] https://crrev.com/a92b79e78e62d9b3233341facc487fc432698179/base/fuchsia/async_dispatcher.h
[modify] https://crrev.com/a92b79e78e62d9b3233341facc487fc432698179/build/fuchsia/sdk.sha1

Project Member

Comment 65 by bugdroid1@chromium.org, Apr 21 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0c26d5400809b15144f20e4a9c56645abc3c5aca

commit 0c26d5400809b15144f20e4a9c56645abc3c5aca
Author: Sergey Ulanov <sergeyu@chromium.org>
Date: Sat Apr 21 02:04:29 2018

Roll Fuchsia SDK to e017c9e82963d4ac33df716c97e0ca0d63bcd391

New SDK include newstack package.
libasync.default.so was renamed libasync-default.so, which requires
a change in BUILD.gn, so automatic roll would fail.

Bug: 707030
Change-Id: I94e10550f8cf5218ea77171590207be51323fa2b
Reviewed-on: https://chromium-review.googlesource.com/1023173
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552548}
[modify] https://crrev.com/0c26d5400809b15144f20e4a9c56645abc3c5aca/build/fuchsia/sdk.sha1
[modify] https://crrev.com/0c26d5400809b15144f20e4a9c56645abc3c5aca/third_party/fuchsia-sdk/BUILD.gn

Project Member

Comment 66 by bugdroid1@chromium.org, Apr 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9357a20496e891c664122e5a6a7ad591ca37224d

commit 9357a20496e891c664122e5a6a7ad591ca37224d
Author: Wez <wez@chromium.org>
Date: Sat Apr 28 00:17:45 2018

[fuchsia] Use launchpad library SDK target instead of relying on sysroot

Launchpad is a library provided in the Fuchsia SDK. Currently, its
header files and link library are provided both in the sysroot and in
an SDK package following Fucshia's standard layout
(https://fuchsia.googlesource.com/docs/+/master/development/sdk/layout.md).
This updates callers of the library to depend on the library through
the package form so it can be removed from the sysroot.

Also adds a fuchsia_sdk_lib_pkg() template, for use by SDK packages
provided as pre-compiled libs.

This is a rebase and extension of jamesr@'s
https://chromium-review.googlesource.com/c/chromium/src/+/1026511

Bug: 707030
Change-Id: I79c6af4d63d991fe0e8e0a3285d9de815f68ce03
Reviewed-on: https://chromium-review.googlesource.com/1032854
Commit-Queue: Wez <wez@chromium.org>
Reviewed-by: James Robinson <jamesr@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#554576}
[modify] https://crrev.com/9357a20496e891c664122e5a6a7ad591ca37224d/base/BUILD.gn
[modify] https://crrev.com/9357a20496e891c664122e5a6a7ad591ca37224d/content/common/BUILD.gn
[modify] https://crrev.com/9357a20496e891c664122e5a6a7ad591ca37224d/third_party/fuchsia-sdk/BUILD.gn
[modify] https://crrev.com/9357a20496e891c664122e5a6a7ad591ca37224d/third_party/fuchsia-sdk/fuchsia_sdk_pkg.gni

Project Member

Comment 67 by bugdroid1@chromium.org, May 2 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/096b5311d430cb4af2d065bda656331934d03e36

commit 096b5311d430cb4af2d065bda656331934d03e36
Author: Kevin Marshall <kmarshall@chromium.org>
Date: Wed May 02 01:52:53 2018

Fuchsia: Roll SDK to a65710e36f72d and adapt to dist libroot changes.

Shared libraries are now spread over two directories in the SDK,
causing some libraries to be omitted from packages, rendering the
libraries non-executable.

This CL registers $sysroot/dist as a library data dependency.

Bug: 707030
Change-Id: Ie05e1b5dacf8924475576c3c53bf0d8d460db1f3
Reviewed-on: https://chromium-review.googlesource.com/1039026
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555282}
[modify] https://crrev.com/096b5311d430cb4af2d065bda656331934d03e36/build/config/fuchsia/package.gni
[modify] https://crrev.com/096b5311d430cb4af2d065bda656331934d03e36/build/fuchsia/sdk.sha1

Project Member

Comment 68 by bugdroid1@chromium.org, May 11 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2293c96db6d66f2b49c48eab9335ba665827d283

commit 2293c96db6d66f2b49c48eab9335ba665827d283
Author: Sergey Ulanov <sergeyu@chromium.org>
Date: Fri May 11 18:06:40 2018

Remove fuchsia_sdk:fdio from public_deps in //base

1. Moved fdio to deps instead of public_deps in //base
2. Added direct deps on FDIO in targets that need it, particularly in
   mojo.
3. Also replaces some deps with public_deps in
   //mojo/edk/test:test_support to reflect set of header deps in the
   headers exported by that target.
4. Small cleanups in mojo/edk/BUILD.gn to make it more readable.
5. Updated build/config/fuchsia/BUILD.gn to avoid dependency on
   internals of third_party/fuchsia-sdk/BUILD.gn.

Bug: 707030
Change-Id: I402d3cd0d1d709aa381fa10e6fc6dfdb8e7e060c
Reviewed-on: https://chromium-review.googlesource.com/1052608
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557935}
[modify] https://crrev.com/2293c96db6d66f2b49c48eab9335ba665827d283/base/BUILD.gn
[modify] https://crrev.com/2293c96db6d66f2b49c48eab9335ba665827d283/base/message_loop/message_pump_fuchsia.cc
[modify] https://crrev.com/2293c96db6d66f2b49c48eab9335ba665827d283/base/message_loop/message_pump_fuchsia.h
[modify] https://crrev.com/2293c96db6d66f2b49c48eab9335ba665827d283/build/config/fuchsia/BUILD.gn
[modify] https://crrev.com/2293c96db6d66f2b49c48eab9335ba665827d283/mojo/edk/BUILD.gn
[modify] https://crrev.com/2293c96db6d66f2b49c48eab9335ba665827d283/mojo/edk/test/BUILD.gn
[modify] https://crrev.com/2293c96db6d66f2b49c48eab9335ba665827d283/third_party/fuchsia-sdk/BUILD.gn
[modify] https://crrev.com/2293c96db6d66f2b49c48eab9335ba665827d283/third_party/googletest/BUILD.gn

Status: Fixed (was: Assigned)
SDK rolls are now automatic, so this bug is not really useful anymore.
Status: Assigned (was: Fixed)
Reopening bug for tracking any manual changes in the Chromium codebase necessary for adapting to Fuchsia SDK changes.
Project Member

Comment 71 by bugdroid1@chromium.org, Jun 16 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/40dc4360fbc783de3e0ce5bb21bf5d25d16e9ebd

commit 40dc4360fbc783de3e0ce5bb21bf5d25d16e9ebd
Author: Kevin Marshall <kmarshall@chromium.org>
Date: Sat Jun 16 01:33:55 2018

Fuchsia: Roll Fuchsia SDK from 2ddc73f to ad481e2.

* Fix to broken host tool "fvm verify" tested (outcome: works).
* SDK method rename; "zx_get_startup_handle" to "zx_take_startup_handle".

Bug:  852876 ,707030
Change-Id: Ib635c807ae92dedc76c65c34ab9d3829e8a7e5c0
Reviewed-on: https://chromium-review.googlesource.com/1102834
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Ken Rockot <rockot@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567853}
[modify] https://crrev.com/40dc4360fbc783de3e0ce5bb21bf5d25d16e9ebd/base/fuchsia/services_directory.cc
[modify] https://crrev.com/40dc4360fbc783de3e0ce5bb21bf5d25d16e9ebd/base/process/launch.h
[modify] https://crrev.com/40dc4360fbc783de3e0ce5bb21bf5d25d16e9ebd/base/process/process_util_unittest.cc
[modify] https://crrev.com/40dc4360fbc783de3e0ce5bb21bf5d25d16e9ebd/build/fuchsia/sdk.sha1
[modify] https://crrev.com/40dc4360fbc783de3e0ce5bb21bf5d25d16e9ebd/mojo/edk/embedder/platform_channel_pair_fuchsia.cc
[modify] https://crrev.com/40dc4360fbc783de3e0ce5bb21bf5d25d16e9ebd/mojo/public/cpp/platform/platform_channel.cc
[modify] https://crrev.com/40dc4360fbc783de3e0ce5bb21bf5d25d16e9ebd/third_party/crashpad/crashpad/handler/handler_main.cc

Project Member

Comment 72 by bugdroid1@chromium.org, Aug 30

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bbc67a1bd5cc611039aef8c6a2f9fa7151a07735

commit bbc67a1bd5cc611039aef8c6a2f9fa7151a07735
Author: Fabrice de Gans-Riberi <fdegans@chromium.org>
Date: Thu Aug 30 13:19:21 2018

[Fuchsia] Add Mac build support.

This adds support to build Chromium for Fuchsia on macOS. Currently,
this configuration is to be treated as best-effort.

CQ_INCLUDE_TRYBOTS=luci.chromium.try:fuchsia_arm64_cast_audio;luci.chromium.try:fuchsia_x64_cast_audio

Bug: 707030
Test: Locally, builds on mac.
Change-Id: I9e4bde1b7ff658f51586856ae80598c93a2b2e33
Reviewed-on: https://chromium-review.googlesource.com/1185020
Reviewed-by: John Budorick <jbudorick@chromium.org>
Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Commit-Queue: Fabrice de Gans-Riberi <fdegans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#587546}
[modify] https://crrev.com/bbc67a1bd5cc611039aef8c6a2f9fa7151a07735/DEPS
[modify] https://crrev.com/bbc67a1bd5cc611039aef8c6a2f9fa7151a07735/build/config/fuchsia/BUILD.gn
[modify] https://crrev.com/bbc67a1bd5cc611039aef8c6a2f9fa7151a07735/build/config/fuchsia/config.gni
[modify] https://crrev.com/bbc67a1bd5cc611039aef8c6a2f9fa7151a07735/build/config/fuchsia/rules.gni
[modify] https://crrev.com/bbc67a1bd5cc611039aef8c6a2f9fa7151a07735/build/fuchsia/boot_data.py
[modify] https://crrev.com/bbc67a1bd5cc611039aef8c6a2f9fa7151a07735/build/fuchsia/common.py
[add] https://crrev.com/bbc67a1bd5cc611039aef8c6a2f9fa7151a07735/build/fuchsia/mac.sdk.sha1
[modify] https://crrev.com/bbc67a1bd5cc611039aef8c6a2f9fa7151a07735/build/fuchsia/qemu_target.py
[modify] https://crrev.com/bbc67a1bd5cc611039aef8c6a2f9fa7151a07735/build/fuchsia/run_package.py
[modify] https://crrev.com/bbc67a1bd5cc611039aef8c6a2f9fa7151a07735/build/fuchsia/update_sdk.py
[modify] https://crrev.com/bbc67a1bd5cc611039aef8c6a2f9fa7151a07735/build/toolchain/fuchsia/BUILD.gn
[modify] https://crrev.com/bbc67a1bd5cc611039aef8c6a2f9fa7151a07735/docs/fuchsia_build_instructions.md
[modify] https://crrev.com/bbc67a1bd5cc611039aef8c6a2f9fa7151a07735/third_party/.gitignore
[modify] https://crrev.com/bbc67a1bd5cc611039aef8c6a2f9fa7151a07735/webrunner/BUILD.gn

Project Member

Comment 73 by bugdroid1@chromium.org, Aug 30

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4bf101091f990eee3e923fcc86a0182e73ea31bd

commit 4bf101091f990eee3e923fcc86a0182e73ea31bd
Author: Fabrice de Gans-Riberi <fdegans@chromium.org>
Date: Thu Aug 30 17:19:18 2018

Rename the Fuchsia SDK SHA1 file for Linux.

For consistency across platforms, the file has been renamed.

Bug: 707030
Test: Local
Change-Id: I18eb37e562a4b3d9946152b0f1153ba113cb340a
Reviewed-on: https://chromium-review.googlesource.com/1196890
Commit-Queue: Fabrice de Gans-Riberi <fdegans@chromium.org>
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#587637}
[rename] https://crrev.com/4bf101091f990eee3e923fcc86a0182e73ea31bd/build/fuchsia/linux.sdk.sha1
[modify] https://crrev.com/4bf101091f990eee3e923fcc86a0182e73ea31bd/build/fuchsia/update_sdk.py

Project Member

Comment 74 by bugdroid1@chromium.org, Aug 31

The following revision refers to this bug:
  https://chromium.googlesource.com/v8/v8.git/+/455718ed3e68b770e35a9bd602651bb33dcefcff

commit 455718ed3e68b770e35a9bd602651bb33dcefcff
Author: Michael Achenbach <machenbach@chromium.org>
Date: Fri Aug 31 15:02:39 2018

[build] Fix V8 deps for qemu

This ports https://crrev.com/c/1185020
[Fuchsia] Add Mac build support.

This also rolls v8/build:
https://chromium.googlesource.com/chromium/src/build/+log/9f16b23..ed29828

TBR=yangguo@chromium.org

Bug: chromium:707030
Change-Id: Ib74df070fa4a2b77c4837f82e4e4d8666a3166e5
Reviewed-on: https://chromium-review.googlesource.com/1199404
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55555}
[modify] https://crrev.com/455718ed3e68b770e35a9bd602651bb33dcefcff/DEPS

Project Member

Comment 75 by bugdroid1@chromium.org, Aug 31

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a0f6fc9662447bf42c312ba6ab43c6989f365564

commit a0f6fc9662447bf42c312ba6ab43c6989f365564
Author: Stephan Stross <stephanstross@google.com>
Date: Fri Aug 31 23:20:47 2018

[Fuchsia] Autoroll fixed from scenic_session breakages

The ScenicSession class underwent a breaking name change on the
functions OnError, OnEvent -> OnScenicError, OnScenicEvent, and
so this change modifies the names in the impl to get it building
again.

Change-Id: I5ebad87fa16c002344ecd232da05157c0871890f
Bug: 707030
Reviewed-on: https://chromium-review.googlesource.com/1200406
Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588207}
[modify] https://crrev.com/a0f6fc9662447bf42c312ba6ab43c6989f365564/build/fuchsia/linux.sdk.sha1
[modify] https://crrev.com/a0f6fc9662447bf42c312ba6ab43c6989f365564/build/fuchsia/mac.sdk.sha1
[modify] https://crrev.com/a0f6fc9662447bf42c312ba6ab43c6989f365564/ui/ozone/platform/scenic/scenic_session.cc
[modify] https://crrev.com/a0f6fc9662447bf42c312ba6ab43c6989f365564/ui/ozone/platform/scenic/scenic_session.h

Project Member

Comment 76 by bugdroid1@chromium.org, Sep 5

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c8194d7088c90d21149b3951f3760e2c5a1920b0

commit c8194d7088c90d21149b3951f3760e2c5a1920b0
Author: Kevin Marshall <kmarshall@chromium.org>
Date: Wed Sep 05 01:49:08 2018

[fuchsia] Adapt to breaking change in ComponentController events.

Fixes SDK breakage by moving from using ComponentController:Wait()
to the OnTerminated event instead.

Roll SDK to 019ae3dbfc4384f2e656f41490d7a735fc117ab4.


Bug: 707030
Change-Id: I2d29299e7454087e388e4f6b499b4803fde8c625
Reviewed-on: https://chromium-review.googlesource.com/1205570
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588737}
[modify] https://crrev.com/c8194d7088c90d21149b3951f3760e2c5a1920b0/build/fuchsia/linux.sdk.sha1
[modify] https://crrev.com/c8194d7088c90d21149b3951f3760e2c5a1920b0/build/fuchsia/mac.sdk.sha1
[modify] https://crrev.com/c8194d7088c90d21149b3951f3760e2c5a1920b0/webrunner/app/component_controller_impl.cc
[modify] https://crrev.com/c8194d7088c90d21149b3951f3760e2c5a1920b0/webrunner/app/component_controller_impl.h

Sign in to add a comment