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

Side by Side Diff: components/cronet/android/java/src/org/chromium/net/Version.template

Issue 344793006: Generate Cronet Version.java based on VERSION and LASTCHANGE files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Matt's comments. Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 package org.chromium.net;
6
7 // Version based on chrome/VERSION.
8 public class Version {
9 public static final String CRONET_VERSION = "@MAJOR@.@MINOR@.@BUILD@.@PATCH@ ";
10 public static final String LAST_CHANGE = "@LASTCHANGE@";
11
12 public static String getVersion() {
13 return CRONET_VERSION + "@" + LAST_CHANGE;
14 }
15 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698