Mojo: Move mojo/public/{c,cpp}/tests/FOO to mojo/public/{c,cpp}/FOO/tests.

TBR=darin@chromium.org

Review URL: https://codereview.chromium.org/218023002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260347 0039d316-1c4b-4281-b951-d872f2087c98
parent b6c8aba3
...@@ -192,11 +192,11 @@ ...@@ -192,11 +192,11 @@
'mojo_system', 'mojo_system',
], ],
'sources': [ 'sources': [
'public/c/tests/system/core_unittest.cc', 'public/c/system/tests/core_unittest.cc',
'public/c/tests/system/core_unittest_pure_c.c', 'public/c/system/tests/core_unittest_pure_c.c',
'public/c/tests/system/macros_unittest.cc', 'public/c/system/tests/macros_unittest.cc',
'public/cpp/tests/system/core_unittest.cc', 'public/cpp/system/tests/core_unittest.cc',
'public/cpp/tests/system/macros_unittest.cc', 'public/cpp/system/tests/macros_unittest.cc',
], ],
}, },
{ {
...@@ -212,16 +212,16 @@ ...@@ -212,16 +212,16 @@
'mojo_utility', 'mojo_utility',
], ],
'sources': [ 'sources': [
'public/cpp/tests/utility/mutex_unittest.cc', 'public/cpp/utility/tests/mutex_unittest.cc',
'public/cpp/tests/utility/run_loop_unittest.cc', 'public/cpp/utility/tests/run_loop_unittest.cc',
'public/cpp/tests/utility/thread_unittest.cc', 'public/cpp/utility/tests/thread_unittest.cc',
], ],
'conditions': [ 'conditions': [
# See crbug.com/342893: # See crbug.com/342893:
['OS=="win"', { ['OS=="win"', {
'sources!': [ 'sources!': [
'public/cpp/tests/utility/mutex_unittest.cc', 'public/cpp/utility/tests/mutex_unittest.cc',
'public/cpp/tests/utility/thread_unittest.cc', 'public/cpp/utility/tests/thread_unittest.cc',
], ],
}], }],
], ],
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
'mojo_utility', 'mojo_utility',
], ],
'sources': [ 'sources': [
'public/c/tests/system/core_perftest.cc', 'public/c/system/tests/core_perftest.cc',
], ],
}, },
{ {
......
include_rules = [ include_rules = [
# Require explicit dependencies in each directory.
"-mojo/public", "-mojo/public",
"+mojo/public/c", # But everyone can depend on the C system headers.
"+mojo/public/c/system",
] ]
include_rules = [ include_rules = [
"+testing", "+testing",
# Our test harness is C++, so allow use C++: # Our test harness is C++, so allow the use of C++:
"+mojo/public/cpp", "+mojo/public/cpp",
# TODO(vtl): Temporary until these are moved to mojo/public/cpp: # TODO(vtl): Temporary until these are moved to mojo/public/cpp:
"+mojo/public/tests", "+mojo/public/tests",
......
include_rules = [
# Require explicit dependencies in each directory.
"-mojo/public",
# But everyone can depend on the C and C++ system headers.
"+mojo/public/c/system",
"+mojo/public/cpp/system",
]
include_rules = [
"+testing",
# TODO(vtl): Temporary until these are moved to mojo/public/cpp:
"+mojo/public/tests",
]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment