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

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

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

Powered by Google App Engine
This is Rietveld 408576698