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

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

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

Powered by Google App Engine
This is Rietveld 408576698