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

Side by Side Diff: base/android/java/templates/NativeLibraries.template

Issue 1218053003: [Android] Begin switching from lighttpd + apache to EmbeddedTestServer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « base/BUILD.gn ('k') | base/android/java/templates/NativeTestLibraries.template » ('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 package org.chromium.base.library_loader; 5 package org.chromium.base.library_loader;
6 6
7 import org.chromium.base.annotations.SuppressFBWarnings; 7 import org.chromium.base.annotations.SuppressFBWarnings;
8 8
9 #ifndef NATIVE_LIBRARIES_CLASS_NAME
10 #define NATIVE_LIBRARIES_CLASS_NAME NativeLibraries
11 #endif
12
9 @SuppressFBWarnings 13 @SuppressFBWarnings
10 public class NativeLibraries { 14 public class NATIVE_LIBRARIES_CLASS_NAME {
11 /** 15 /**
12 * IMPORTANT NOTE: The variables defined here must _not_ be 'final'. 16 * IMPORTANT NOTE: The variables defined here must _not_ be 'final'.
13 * 17 *
14 * The reason for this is very subtle: 18 * The reason for this is very subtle:
15 * 19 *
16 * - This template is used to generate several distinct, but similar 20 * - This template is used to generate several distinct, but similar
17 * files used in different contexts: 21 * files used in different contexts:
18 * 22 *
19 * o .../gen/templates/org/chromium/base/library_loader/NativeLibraries.ja va 23 * o .../gen/templates/org/chromium/base/library_loader/NativeLibraries.ja va
20 * 24 *
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // This is the expected version of the 'main' native library, which is the o ne that 90 // This is the expected version of the 'main' native library, which is the o ne that
87 // implements the initial set of base JNI functions including 91 // implements the initial set of base JNI functions including
88 // base::android::nativeGetVersionName() 92 // base::android::nativeGetVersionName()
89 static String sVersionNumber = 93 static String sVersionNumber =
90 #if defined(NATIVE_LIBRARIES_VERSION_NUMBER) 94 #if defined(NATIVE_LIBRARIES_VERSION_NUMBER)
91 NATIVE_LIBRARIES_VERSION_NUMBER; 95 NATIVE_LIBRARIES_VERSION_NUMBER;
92 #else 96 #else
93 ""; 97 "";
94 #endif 98 #endif
95 } 99 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/android/java/templates/NativeTestLibraries.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698