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

Side by Side Diff: content/app/android/library_loader_hooks.cc

Issue 1647663002: Revert of Aura on Android: Fix link errors when building content_unittests_apk. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@platform_window_mus
Patch Set: Created 4 years, 11 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 | « no previous file | content/public/test/content_test_suite_base.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 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 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 "content/app/android/library_loader_hooks.h" 5 #include "content/app/android/library_loader_hooks.h"
6 6
7 #include "base/android/base_jni_registrar.h" 7 #include "base/android/base_jni_registrar.h"
8 #include "base/android/command_line_android.h" 8 #include "base/android/command_line_android.h"
9 #include "base/android/jni_android.h" 9 #include "base/android/jni_android.h"
10 #include "base/android/jni_registrar.h" 10 #include "base/android/jni_registrar.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 if (!ui::android::RegisterJni(env)) 56 if (!ui::android::RegisterJni(env))
57 return false; 57 return false;
58 58
59 if (!ui::gl::android::RegisterJni(env)) 59 if (!ui::gl::android::RegisterJni(env))
60 return false; 60 return false;
61 61
62 if (!ui::events::android::RegisterJni(env)) 62 if (!ui::events::android::RegisterJni(env))
63 return false; 63 return false;
64 64
65 #if !defined(USE_AURA)
66 if (!ui::shell_dialogs::RegisterJni(env))
67 return false;
68 #endif
69
65 if (!content::android::RegisterCommonJni(env)) 70 if (!content::android::RegisterCommonJni(env))
66 return false; 71 return false;
67 72
68 if (!content::android::RegisterBrowserJni(env)) 73 if (!content::android::RegisterBrowserJni(env))
69 return false; 74 return false;
70 75
71 if (!content::android::RegisterAppJni(env)) 76 if (!content::android::RegisterAppJni(env))
72 return false; 77 return false;
73 78
74 if (!device::android::RegisterBluetoothJni(env)) 79 if (!device::android::RegisterBluetoothJni(env))
75 return false; 80 return false;
76 81
77 if (!media::RegisterJni(env)) 82 if (!media::RegisterJni(env))
78 return false; 83 return false;
79 84
80 if (!media::midi::RegisterJni(env)) 85 if (!media::midi::RegisterJni(env))
81 return false; 86 return false;
82 87
83 #if !defined(USE_AURA)
84 if (!ui::shell_dialogs::RegisterJni(env))
85 return false;
86
87 if (!ui::RegisterUIAndroidJni(env)) 88 if (!ui::RegisterUIAndroidJni(env))
88 return false; 89 return false;
89 #endif
90 90
91 g_jni_init_done = true; 91 g_jni_init_done = true;
92 } 92 }
93 93
94 return true; 94 return true;
95 } 95 }
96 96
97 bool LibraryLoaded(JNIEnv* env, jclass clazz) { 97 bool LibraryLoaded(JNIEnv* env, jclass clazz) {
98 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); 98 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
99 99
(...skipping 27 matching lines...) Expand all
127 false, // Thread ID 127 false, // Thread ID
128 false, // Timestamp 128 false, // Timestamp
129 false); // Tick count 129 false); // Tick count
130 VLOG(0) << "Chromium logging enabled: level = " << logging::GetMinLogLevel() 130 VLOG(0) << "Chromium logging enabled: level = " << logging::GetMinLogLevel()
131 << ", default verbosity = " << logging::GetVlogVerbosity(); 131 << ", default verbosity = " << logging::GetVlogVerbosity();
132 132
133 return true; 133 return true;
134 } 134 }
135 135
136 } // namespace content 136 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/public/test/content_test_suite_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698