Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Side by Side Diff: device/test/run_all_unittests.cc

Issue 1676913002: [mojo] Delete third_party/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: let's try that again Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « device/test/DEPS ('k') | device/vibration/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/bind.h" 5 #include "base/bind.h"
6 #include "base/test/launcher/unit_test_launcher.h" 6 #include "base/test/launcher/unit_test_launcher.h"
7 #include "base/test/test_suite.h" 7 #include "base/test/test_suite.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" 9 #include "mojo/edk/embedder/embedder.h"
10 10
11 #if defined(OS_ANDROID) 11 #if defined(OS_ANDROID)
12 #include "base/android/jni_android.h" 12 #include "base/android/jni_android.h"
13 #include "device/bluetooth/android/bluetooth_jni_registrar.h" 13 #include "device/bluetooth/android/bluetooth_jni_registrar.h"
14 #include "device/usb/android/usb_jni_registrar.h" 14 #include "device/usb/android/usb_jni_registrar.h"
15 #endif 15 #endif
16 16
17 int main(int argc, char** argv) { 17 int main(int argc, char** argv) {
18 #if defined(OS_ANDROID) 18 #if defined(OS_ANDROID)
19 device::android::RegisterBluetoothJni(base::android::AttachCurrentThread()); 19 device::android::RegisterBluetoothJni(base::android::AttachCurrentThread());
20 device::android::RegisterUsbJni(base::android::AttachCurrentThread()); 20 device::android::RegisterUsbJni(base::android::AttachCurrentThread());
21 #endif 21 #endif
22 22
23 base::TestSuite test_suite(argc, argv); 23 base::TestSuite test_suite(argc, argv);
24 24
25 mojo::embedder::Init(); 25 mojo::edk::Init();
26 return base::LaunchUnitTests( 26 return base::LaunchUnitTests(
27 argc, 27 argc,
28 argv, 28 argv,
29 base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite))); 29 base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)));
30 } 30 }
OLDNEW
« no previous file with comments | « device/test/DEPS ('k') | device/vibration/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698