Nico Weber
2018-02-02 19:55:48 UTC
Hi,
I'm trying to enable -Wimplicit-fallthrough for use_ozone=true builds (it
even finds bugs:
https://chromium-review.googlesource.com/c/chromium/src/+/899984)
So I enabled the warning locally, set use_ozone=true, and ran `ninja -C
out/gnozon`.
However, that seems to build a bunch of targets that aren't supposed to be
built (which is imho a bug; if someone were to clean this up by removing
references to targets that aren't supposed to build in this config from
//BULD.gn that'd be good. I'd file a bug, but I didn't see an "ozone"
component on crbug, so I wasn't sure if anyone would see it).
So then I used what the headless bot uses, which is "headless:headless
headless:headless_browsertests headless:headless_example
headless:headless_shell headless:headless_unittests headless_browsertests
headless_unittests"
However, this didn't build vr_shell, which was one of the targets that does
build and where the warning did find a bug.
How do I build all targets that are supposed to be part of an ozone build?
Thanks,
Nico
I'm trying to enable -Wimplicit-fallthrough for use_ozone=true builds (it
even finds bugs:
https://chromium-review.googlesource.com/c/chromium/src/+/899984)
So I enabled the warning locally, set use_ozone=true, and ran `ninja -C
out/gnozon`.
However, that seems to build a bunch of targets that aren't supposed to be
built (which is imho a bug; if someone were to clean this up by removing
references to targets that aren't supposed to build in this config from
//BULD.gn that'd be good. I'd file a bug, but I didn't see an "ozone"
component on crbug, so I wasn't sure if anyone would see it).
So then I used what the headless bot uses, which is "headless:headless
headless:headless_browsertests headless:headless_example
headless:headless_shell headless:headless_unittests headless_browsertests
headless_unittests"
However, this didn't build vr_shell, which was one of the targets that does
build and where the warning did find a bug.
How do I build all targets that are supposed to be part of an ozone build?
Thanks,
Nico
--
You received this message because you are subscribed to the Google Groups "Ozone-Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ozone-dev+***@chromium.org.
You received this message because you are subscribed to the Google Groups "Ozone-Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ozone-dev+***@chromium.org.