summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authoraberent@chromium.org <aberent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-10 16:19:22 +0000
committeraberent@chromium.org <aberent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-10 16:19:22 +0000
commit93c9f9b0eaf8be547b33ba59027c44358f6f845a (patch)
tree7e139bb57e6d20f948a8d9acdd3fd3c327b63524 /testing
parent62dbdc4b265f5bd273078d92da4d4b003753e0ff (diff)
downloadchromium_src-93c9f9b0eaf8be547b33ba59027c44358f6f845a.zip
chromium_src-93c9f9b0eaf8be547b33ba59027c44358f6f845a.tar.gz
chromium_src-93c9f9b0eaf8be547b33ba59027c44358f6f845a.tar.bz2
Move the android library loader from content to base
The android library loader has no logical connection with content. Mojo shell, which doesn't depend on content, wants to use it. This CL moves it from content to base. BUG=225101 NOTRY=true Review URL: https://codereview.chromium.org/141223002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250113 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing')
-rw-r--r--testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java b/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java
index 9063ee3..1d29bcd 100644
--- a/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java
+++ b/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -12,12 +12,13 @@ import android.util.Log;
import org.chromium.base.PathUtils;
import org.chromium.base.PowerMonitor;
-// TODO(cjhopman): This should not refer to content. NativeLibraries should be moved to base.
-import org.chromium.content.app.NativeLibraries;
+import org.chromium.base.library_loader.NativeLibraries;
-// Android's NativeActivity is mostly useful for pure-native code.
-// Our tests need to go up to our own java classes, which is not possible using
-// the native activity class loader.
+/**
+ * Android's NativeActivity is mostly useful for pure-native code.
+ * Our tests need to go up to our own java classes, which is not possible using
+ * the native activity class loader.
+ */
public class ChromeNativeTestActivity extends Activity {
private static final String TAG = "ChromeNativeTestActivity";
private static final String EXTRA_RUN_IN_SUB_THREAD = "RunInSubThread";
@@ -68,7 +69,7 @@ public class ChromeNativeTestActivity extends Activity {
}
private void loadLibraries() {
- for (String library: NativeLibraries.LIBRARIES) {
+ for (String library : NativeLibraries.LIBRARIES) {
Log.i(TAG, "loading: " + library);
System.loadLibrary(library);
Log.i(TAG, "loaded: " + library);