diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-22 23:26:48 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-22 23:26:48 +0000 |
commit | e54a1f521ff3148f319ab7d81d66eae859bd442c (patch) | |
tree | a72da5bbfd83f7431cf4994d4bc0ed6bc2128833 /dbus | |
parent | 49fef7948a95e3f3d81302d96f200b1dfbddd9e3 (diff) | |
download | chromium_src-e54a1f521ff3148f319ab7d81d66eae859bd442c.zip chromium_src-e54a1f521ff3148f319ab7d81d66eae859bd442c.tar.gz chromium_src-e54a1f521ff3148f319ab7d81d66eae859bd442c.tar.bz2 |
Cleanup test_support target names.
In GN it is redundat to include the parent directory name, as in
ui/gfx:gfx_test_support. Instead we can write it as ui/gfx:test_support
which is shorter and nicer to read.
Targets found with the following command line:
$ for f in $(g ls-files | grep BUILD); do grep _test_support $f; echo
$f; done
BUG=None
TEST=None
R=brettw@chromium.org
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/409493002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284800 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/BUILD.gn | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dbus/BUILD.gn b/dbus/BUILD.gn index 347bae0..c1694b0 100644 --- a/dbus/BUILD.gn +++ b/dbus/BUILD.gn @@ -46,13 +46,13 @@ component("dbus") { ] } -proto_library("dbus_test_proto") { +proto_library("test_proto") { sources = [ "test_proto.proto" ] } # This target contains mocks that can be used to write unit tests without # issuing actual D-Bus calls. -source_set("dbus_test_support") { +source_set("test_support") { sources = [ "mock_bus.cc", "mock_bus.h", @@ -95,8 +95,8 @@ test("dbus_unittests") { deps = [ ":dbus", - ":dbus_test_proto", - ":dbus_test_support", + ":test_proto", + ":test_support", "//base/test:test_support", "//testing/gmock", "//testing/gtest", |