Skip to content

Commit

Permalink
codemod: fixup more build targets in TARGETS
Browse files Browse the repository at this point in the history
Summary:
Ran script from:
differential/diff/21475830/

Reviewed By: Gownta

Differential Revision: D4419263

fbshipit-source-id: 7631ea2c2cb3b6e27756ecc9da9e492b2a3b2dab
  • Loading branch information
andrewjcg authored and facebook-github-bot committed Jan 14, 2017
1 parent 138bc12 commit bd862c5
Show file tree
Hide file tree
Showing 22 changed files with 96 additions and 96 deletions.
6 changes: 3 additions & 3 deletions eden/fs/config/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ cpp_library(
srcs = glob(['*.cpp']),
headers = glob(['*.h']),
deps = [
'//eden/fs/model:model',
'//eden/utils:utils',
'//folly:folly',
'@/eden/fs/model:model',
'@/eden/utils:utils',
'@/folly:folly',
],
)
6 changes: 3 additions & 3 deletions eden/fs/config/test/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ cpp_unittest(
headers = AutoHeaders.RECURSIVE_GLOB, # https://fburl.com/424819295
srcs = glob(['*Test.cpp']),
deps = [
'//eden/fs/config:config',
'//eden/utils:utils',
'//folly/experimental:test_util',
'@/eden/fs/config:config',
'@/eden/utils:utils',
'@/folly/experimental:test_util',
],
external_deps = [
'gtest',
Expand Down
20 changes: 10 additions & 10 deletions eden/fs/inodes/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ cpp_library(
headers = glob(['*.h']),
deps = [
':serialization-cpp2',
'//folly:folly',
'//folly/experimental:experimental',
'//eden/fs/config:config',
'//eden/fs/model:model',
'//eden/fs/model/git:gitignore',
'//eden/fs/journal:journal',
'//eden/fs/service:thrift-cpp2',
'//eden/fs/store:store',
'//eden/fuse:fusell',
'//eden/utils:utils',
'@/folly:folly',
'@/folly/experimental:experimental',
'@/eden/fs/config:config',
'@/eden/fs/model:model',
'@/eden/fs/model/git:gitignore',
'@/eden/fs/journal:journal',
'@/eden/fs/service:thrift-cpp2',
'@/eden/fs/store:store',
'@/eden/fuse:fusell',
'@/eden/utils:utils',
],
external_deps = [
('boost', 'any'),
Expand Down
8 changes: 4 additions & 4 deletions eden/fs/inodes/test/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ cpp_unittest(
headers = AutoHeaders.RECURSIVE_GLOB, # https://fburl.com/424819295
srcs = glob(['*Test.cpp']),
deps = [
'//eden/fs/inodes:inodes',
'//eden/fs/testharness:testharness',
'//eden/utils:utils',
'//eden/utils/test:test_lib',
'@/eden/fs/inodes:inodes',
'@/eden/fs/testharness:testharness',
'@/eden/utils:utils',
'@/eden/utils/test:test_lib',
],
external_deps = [
'gtest',
Expand Down
6 changes: 3 additions & 3 deletions eden/fs/integration/lib/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ python_library(
name = 'lib',
srcs = glob(['*.py']),
deps = [
'//eden/fs/cli:lib',
'//eden/fs/service:py-client',
'//eden/fs/service:thrift-py',
'@/eden/fs/cli:lib',
'@/eden/fs/service:py-client',
'@/eden/fs/service:thrift-py',
],
external_deps = [
'py-hypothesis'
Expand Down
8 changes: 4 additions & 4 deletions eden/fs/journal/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ cpp_library(
srcs = glob(['*.cpp']),
headers = glob(['*.h']),
deps = [
'//eden/fs/model:model',
'//eden/utils:utils',
'//folly:folly',
'@/eden/fs/model:model',
'@/eden/utils:utils',
'@/folly:folly',
],
external_deps = [
('boost', 'any'),
Expand All @@ -17,6 +17,6 @@ cpp_unittest(
srcs = glob(['test/*Test.cpp']),
deps = [
':journal',
'//folly/experimental:test_util',
'@/folly/experimental:test_util',
],
)
6 changes: 3 additions & 3 deletions eden/fs/model/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ cpp_library(
srcs = glob(['*.cpp']),
headers = glob(['*.h']),
deps = [
'//eden/utils:utils',
'//folly:folly',
'//folly/ssl:openssl_hash',
'@/eden/utils:utils',
'@/folly:folly',
'@/folly/ssl:openssl_hash',
],
external_deps = [
('boost', 'any'),
Expand Down
12 changes: 6 additions & 6 deletions eden/fs/model/git/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ cpp_library(
'GitTree.h',
],
deps = [
'//eden/fs/model:model',
'//folly:folly',
'//folly/io:iobuf',
'@/eden/fs/model:model',
'@/folly:folly',
'@/folly/io:iobuf',
],
external_deps = [
('libgit2', None, 'git2'),
Expand All @@ -30,8 +30,8 @@ cpp_library(
],
deps = [
':glob',
'//eden/utils:utils',
'//folly:folly',
'@/eden/utils:utils',
'@/folly:folly',
],
)

Expand All @@ -44,6 +44,6 @@ cpp_library(
'GlobMatcher.h',
],
deps = [
'//folly:folly',
'@/folly:folly',
],
)
18 changes: 9 additions & 9 deletions eden/fs/model/git/test/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ cpp_unittest(
name = 'test',
srcs = glob(['*Test.cpp']),
deps = [
'//eden/fs/model:model',
'//eden/fs/model/git:git',
'//eden/fs/model/git:gitignore',
'//folly:folly',
'@/eden/fs/model:model',
'@/eden/fs/model/git:git',
'@/eden/fs/model/git:gitignore',
'@/folly:folly',
],
external_deps = [
'glog',
Expand All @@ -18,11 +18,11 @@ cpp_benchmark(
name = 'benchmark',
srcs = glob(['*Benchmark.cpp']),
deps = [
'//eden/fs/model/git:glob',
'//folly:benchmark',
'//folly:folly',
'//folly/init:init',
'//watchman/thirdparty/wildmatch:wildmatch',
'@/eden/fs/model/git:glob',
'@/folly:benchmark',
'@/folly:folly',
'@/folly/init:init',
'@/watchman/thirdparty/wildmatch:wildmatch',
],
external_deps = [
('re2', None),
Expand Down
4 changes: 2 additions & 2 deletions eden/fs/model/test/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ cpp_unittest(
headers = AutoHeaders.RECURSIVE_GLOB, # https://fburl.com/424819295
srcs = glob(['*Test.cpp']),
deps = [
'//eden/fs/model:model',
'//eden/utils:utils',
'@/eden/fs/model:model',
'@/eden/utils:utils',
],
external_deps = [
'gtest',
Expand Down
4 changes: 2 additions & 2 deletions eden/fs/rocksdb/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ cpp_library(
srcs = glob(['*.cpp']),
headers = glob(['*.h']),
deps = [
'//folly:folly',
'//rocksdb:rocksdb',
'@/folly:folly',
'@/rocksdb:rocksdb',
],
external_deps = [
],
Expand Down
10 changes: 5 additions & 5 deletions eden/fs/store/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ cpp_library(
srcs = glob(['*.cpp']),
headers = glob(['*.h']),
deps = [
'//eden/fs/model:model',
'//eden/fs/model/git:git',
'//eden/fs/rocksdb:rocksdb',
'//folly:folly',
'//rocksdb:rocksdb',
'@/eden/fs/model:model',
'@/eden/fs/model/git:git',
'@/eden/fs/rocksdb:rocksdb',
'@/folly:folly',
'@/rocksdb:rocksdb',
],
)
6 changes: 3 additions & 3 deletions eden/fs/store/git/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ cpp_library(
srcs = glob(['*.cpp']),
headers = glob(['*.h']),
deps = [
'//eden/fs/model:model',
'//eden/fs/store:store',
'//folly:folly',
'@/eden/fs/model:model',
'@/eden/fs/store:store',
'@/folly:folly',
],
external_deps = [
('libgit2', None, 'git2'),
Expand Down
12 changes: 6 additions & 6 deletions eden/fs/store/hg/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ cpp_library(
srcs = glob(['*.cpp'], excludes=TESTER_SRCS),
headers = glob(['*.h']),
deps = [
'//eden/fs/model:model',
'//eden/fs/model/git:git',
'//eden/fs/store:store',
'//folly:folly',
'//folly:subprocess',
'@/eden/fs/model:model',
'@/eden/fs/model/git:git',
'@/eden/fs/store:store',
'@/folly:folly',
'@/folly:subprocess',
],
external_deps = [
('boost', None, 'boost_filesystem'),
Expand All @@ -28,6 +28,6 @@ cpp_binary(
srcs = TESTER_SRCS,
deps = [
':hg',
'//folly/init:init',
'@/folly/init:init',
],
)
10 changes: 5 additions & 5 deletions eden/fs/store/test/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ cpp_unittest(
headers = AutoHeaders.RECURSIVE_GLOB, # https://fburl.com/424819295
srcs = glob(['*Test.cpp']),
deps = [
'//eden/fs/model:model',
'//eden/fs/store:store',
'//eden/fs/testharness:testharness',
'//folly:folly',
'//folly/experimental:test_util',
'@/eden/fs/model:model',
'@/eden/fs/store:store',
'@/eden/fs/testharness:testharness',
'@/folly:folly',
'@/folly/experimental:test_util',
],
external_deps = [
'gtest',
Expand Down
16 changes: 8 additions & 8 deletions eden/fs/testharness/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ cpp_library(
srcs = glob(['*.cpp']),
headers = glob(['*.h']),
deps = [
'//eden/fs/config:config',
'//eden/fs/inodes:inodes',
'//eden/fs/model:model',
'//eden/fs/store/hg:hg',
'//eden/fuse:fusell',
'//eden/utils:utils',
'//folly:folly',
'//folly/experimental:test_util',
'@/eden/fs/config:config',
'@/eden/fs/inodes:inodes',
'@/eden/fs/model:model',
'@/eden/fs/store/hg:hg',
'@/eden/fuse:fusell',
'@/eden/utils:utils',
'@/folly:folly',
'@/folly/experimental:test_util',
],
)
4 changes: 2 additions & 2 deletions eden/fs/testharness/test/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ cpp_unittest(
headers = AutoHeaders.RECURSIVE_GLOB, # https://fburl.com/424819295
srcs = glob(['*Test.cpp']),
deps = [
'//eden/fs/testharness:testharness',
'//eden/utils/test:test_lib',
'@/eden/fs/testharness:testharness',
'@/eden/utils/test:test_lib',
],
external_deps = [
'gtest',
Expand Down
12 changes: 6 additions & 6 deletions eden/fuse/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ cpp_library(
srcs = glob(['*.cpp']),
headers = glob(['*.h']),
deps = [
'//eden/fuse/privhelper:privhelper',
'//eden/utils:utils',
'//folly:folly',
'//folly:stats',
'//folly:synchronized',
'//wangle:wangle',
'@/eden/fuse/privhelper:privhelper',
'@/eden/utils:utils',
'@/folly:folly',
'@/folly:stats',
'@/folly:synchronized',
'@/wangle:wangle',
],
external_deps = [
('fuse', None, 'fuse'),
Expand Down
4 changes: 2 additions & 2 deletions eden/fuse/privhelper/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ cpp_library(
srcs = glob(['*.cpp']),
headers = glob(['*.h']),
deps = [
'//folly:folly',
'//folly/io:iobuf',
'@/folly:folly',
'@/folly/io:iobuf',
],
external_deps = [
('boost', None, 'boost_filesystem'),
Expand Down
4 changes: 2 additions & 2 deletions eden/fuse/privhelper/test/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ cpp_unittest(
srcs = glob(['*.cpp']),
headers = glob(['*.h']),
deps = [
'//eden/fuse/privhelper:privhelper',
'//folly/experimental:test_util',
'@/eden/fuse/privhelper:privhelper',
'@/folly/experimental:test_util',
],
external_deps = [
('boost', 'any'),
Expand Down
8 changes: 4 additions & 4 deletions eden/utils/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ cpp_library(
srcs = glob(['*.cpp']),
headers = glob(['*.h']),
deps = [
'//folly:evicting_cache_map',
'//folly:folly',
'//folly:subprocess',
'//folly/futures:futures',
'@/folly:evicting_cache_map',
'@/folly:folly',
'@/folly:subprocess',
'@/folly/futures:futures',
],
)
8 changes: 4 additions & 4 deletions eden/utils/test/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ cpp_unittest(
srcs = glob(['*Test.cpp']),
deps = [
':test_lib',
'//eden/utils:utils',
'//folly/experimental:test_util',
'@/eden/utils:utils',
'@/folly/experimental:test_util',
],
external_deps = [
'gtest',
Expand All @@ -16,8 +16,8 @@ cpp_library(
headers = glob(['*.h']),
srcs = glob(['*.cpp'], excludes=['*Test.cpp']),
deps = [
'//folly:conv',
'//folly:exception_string',
'@/folly:conv',
'@/folly:exception_string',
],
external_deps = [
'gtest',
Expand Down

0 comments on commit bd862c5

Please sign in to comment.