Descriptiongpu: Remove testonly header files from service_sources target.
These headers are intended to be consumed by tests only, not by
production code and thus should not be listed in service_sources target.
This makes the following errors disappear:
ERROR at //gpu/command_buffer/service/gpu_scheduler_mock.h:9:11: Include
not allowed.
^----------------------------------
It is not in any dependency of
//gpu/command_buffer/service:service_sources
The include file is in the target(s):
//testing/gmock:gmock
which should somehow be reachable.
ERROR at //gpu/command_buffer/service/mocks.h:22:11: Include not allowed.
^----------------------------------
It is not in any dependency of
//gpu/command_buffer/service:service_sources
The include file is in the target(s):
//testing/gmock:gmock
which should somehow be reachable.
Tested on Linux with the following command lines:
$ gn gen out-gn/Debug
$ gn check out-gn/Debug //gpu/command_buffer/service/*
BUG=367595, 376000
TEST=see above
R=sievers@chromium.org
Committed: https://crrev.com/d1d9e928cabf90e24d17fc2b12b67bfe4b9d7431
Cr-Commit-Position: refs/heads/master@{#327384}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 6 (1 generated)
|