Commit b89b3297 authored by khushalsagar's avatar khushalsagar Committed by Commit bot

Added jinja variable target_sdk_version to chrome_public_apk_manifest

BUG=492729

Review URL: https://codereview.chromium.org/1160423003

Cr-Commit-Position: refs/heads/master@{#333732}
parent 0478c03f
......@@ -750,7 +750,11 @@ copy_ex("chrome_public_apk_assets") {
jinja_template("chrome_public_apk_manifest") {
input = "java_staging/AndroidManifest.xml"
output = "$root_gen_dir/chrome_public_apk_manifest/AndroidManifest.xml"
variables = jinja_variables + [ "min_sdk_version=16" ]
variables = jinja_variables
variables += [
"min_sdk_version=16",
"target_sdk_version=22",
]
}
# GYP: //chrome/android/chrome_apk.gyp:chrome_public_template_resources
......
......@@ -281,6 +281,7 @@
'configuration_policy=<(configuration_policy)',
'manifest_package=<(manifest_package)',
'min_sdk_version=16',
'target_sdk_version=22',
],
},
'includes': [ '../../build/android/jinja_template.gypi' ],
......
......@@ -16,7 +16,7 @@ by a child template that "extends" this file.
tools:ignore="MissingVersion">
<!-- android:versionCode and android:versionName is set through gyp. See build/common.gypi -->
<uses-sdk android:minSdkVersion="{{min_sdk_version}}" android:targetSdkVersion="22" />
<uses-sdk android:minSdkVersion="{{min_sdk_version}}" android:targetSdkVersion="{{target_sdk_version}}" />
<uses-feature android:glEsVersion="0x00020000" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment