On Fri, May 29, 2015 at 12:09 PM, Scott Graham <
sco...@chromium.org> wrote:
> Yes, I believe that's it. It's checking vs the include_rules DEPS entries in
> src/DEPS, src/third_party/DEPS, etc.
>
> You should be able run the checks with `git cl presubmit` locally.
Indeed I can, thanks! The presubmit doesn't like the a chunk of the
code in our googletest directory. I can probably make deleting the
directory part of the import, but is there a way to suppress warnings
like this:
New code should not use wstrings. If you are calling a cross-platform
API that accepts a wstring, fix the API.
third_party/libvpx/source/libvpx/third_party/googletest/src/include/gtest/gtest.h:152
third_party/libvpx/source/libvpx/third_party/googletest/src/include/gtest/gtest.h:160
Banned functions were used.
third_party/libvpx/source/libvpx/third_party/googletest/src/include/gtest/gtest.h:17031:
Chromium code should not use gtest's FRIEND_TEST() macro. Include
base/gtest_prod_util.h and use FRIEND_TEST_ALL_PREFIXES() instead.
On Fri, May 29, 2015 at 12:10 PM, Brett Wilson <
bre...@chromium.org> wrote:
> The checkdeps script should require no input:
> python buildtools/checkdeps/checkdeps.py
Also convenient, thanks!
> I'm guessing that checkdeps has a thing where it doesn't check DEPSed in
> directories, so was skipping your directory before.
It does look that way. Yet another benefit of moving out of DEPS.