android: Require exe unittests to have a foo_unittest_stripped target.
[chromium-blink-merge.git] / ipc / ipc_multiprocess_test.cc
blob8e3c03a1db62e192f7999dac2b625fff3f5200d7
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "build/build_config.h"
7 #include "ipc/ipc_multiprocess_test.h"
9 #if defined(OS_POSIX)
10 #include "base/posix/global_descriptors.h"
11 #include "ipc/ipc_descriptors.h"
12 #endif
14 namespace internal {
16 void MultiProcessTestIPCSetUp() {
17 #if defined(OS_POSIX)
18 base::GlobalDescriptors::GetInstance()->Set(kPrimaryIPCChannel,
19 kPrimaryIPCChannel + base::GlobalDescriptors::kBaseDescriptor);
20 #endif
23 } // namespace internal