DescriptionAdd chrome clang tests as custom targets instead of tests.
It seems like tests don't create an actual target to use for
add_dependencies(). With add_test(), CMake always fires this warning:
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "plugins_test" of target "cr-check-all" does not
exist.
Call Stack (most recent call first):
/usr/local/google/ssd/src/chrome/src/tools/clang/plugins/CMakeLists.txt:28 (cr_add_test)
This warning is for project developers. Use -Wno-dev to suppress it.
BUG=none
Committed: https://crrev.com/e64fc662ec5670fcb5b6562f0ba2e47af1043718
Cr-Commit-Position: refs/heads/master@{#371553}
Patch Set 1 #
Messages
Total messages: 10 (3 generated)
|