Skip to content

Commit

Permalink
Bump the target API level to 22
Browse files Browse the repository at this point in the history
This CL doesn't change anything except for incrementing the target API level to 22, that is Build.VERSION_CODES.LOLLIPOP_MR1 a.k.a. Android 5.1.

For Windows, Mac, Linux Desktop, and NaCl builds, literally this CL doesn't change anything.
For Android build, no behavior change is intended.

BUG=none
TEST=compile

git-svn-id: https://mozc.googlecode.com/svn/trunk@555 a6090854-d499-a067-5803-1114d4e51264
  • Loading branch information
matsuza authored and yukawa committed Mar 15, 2015
1 parent c845232 commit 20c1c08
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/android/AndroidManifest_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
package="@ANDROID_APPLICATION_ID@"
android:versionCode="@ANDROID_VERSION_CODE@"
android:versionName="@MAJOR@.@MINOR@.@BUILD@.@REVISION@-@ANDROID_ARCH@">
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22" />

<!-- Google Japanese Input (the main code) requires the following permissions. -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Expand Down
2 changes: 1 addition & 1 deletion src/android/resources/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="org.mozc.android.inputmethod.japanese.resources">
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22" />
</manifest>
2 changes: 1 addition & 1 deletion src/android/tests/AndroidManifest_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
android:targetPackage="@ANDROID_APPLICATION_ID@"
android:label="Tests for org.mozc.android.inputmethod.japanese"/>

<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22" />
<!-- Google Japanese Input (the main code) requires the following permissions. -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
Expand Down
6 changes: 3 additions & 3 deletions src/docker/ubuntu14.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ WORKDIR /home/mozc_builder/work

## Android SDK/NDK
RUN curl -L http://dl.google.com/android/ndk/android-ndk-r10d-linux-x86_64.bin -O && chmod u+x android-ndk-r10d-linux-x86_64.bin && ./android-ndk-r10d-linux-x86_64.bin && rm android-ndk-r10d-linux-x86_64.bin
RUN curl -L http://dl.google.com/android/android-sdk_r24.0.2-linux.tgz | tar -zx
RUN curl -L http://dl.google.com/android/android-sdk_r24.1.2-linux.tgz | tar -zx
ENV ANDROID_NDK_HOME /home/mozc_builder/work/android-ndk-r10d
ENV ANDROID_HOME /home/mozc_builder/work/android-sdk-linux
ENV PATH $PATH:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:${ANDROID_NDK_HOME}
RUN echo y | android update sdk --all --force --no-ui --filter android-21
RUN echo y | android update sdk --all --force --no-ui --filter build-tools-21.0.2
RUN echo y | android update sdk --all --force --no-ui --filter android-22
RUN echo y | android update sdk --all --force --no-ui --filter build-tools-22.0.0
RUN echo y | android update sdk --all --force --no-ui --filter extra-android-support
RUN echo y | android update sdk --all --force --no-ui --filter platform-tool

Expand Down
2 changes: 1 addition & 1 deletion src/mozc_version_template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MAJOR=2
MINOR=16
BUILD=2071
BUILD=2072
REVISION=102
# NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
# downloaded by NaCl Mozc.
Expand Down

0 comments on commit 20c1c08

Please sign in to comment.