Chromium Code Reviews| Index: chrome/android/testshell/java/chromium_testshell_apk.xml |
| diff --git a/content/shell/android/java/content_shell_apk.xml b/chrome/android/testshell/java/chromium_testshell_apk.xml |
| similarity index 61% |
| copy from content/shell/android/java/content_shell_apk.xml |
| copy to chrome/android/testshell/java/chromium_testshell_apk.xml |
| index 9182239da8b9ebaefd9c52e8246495362ad83d41..4d2999f59e011f2ae42a5d1af8bd4528eee22127 100644 |
| --- a/content/shell/android/java/content_shell_apk.xml |
| +++ b/chrome/android/testshell/java/chromium_testshell_apk.xml |
| @@ -4,35 +4,41 @@ |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| -<project name="ContentShell" default="debug" basedir="."> |
| +<project name="ChromiumTestShell" default="debug" basedir="."> |
| <description> |
| - Building ContentShell.apk |
| + Building ChromiumTestShell.apk |
| </description> |
| <import file="../../../../build/android/ant/common.xml"/> |
| - <!-- Convert the buildtype to lowercase. E.g Debug -> debug, Release -> release. --> |
| - <script language="javascript"> |
| - project.setProperty("configuration.name", |
| - project.getProperty("CONFIGURATION_NAME").toLowerCase()) |
| - </script> |
| <property-value name="target.abi" value="${APP_ABI}"/> |
| - <property-location name="out.dir" location="${PRODUCT_DIR}/content_shell" |
| + |
| + <!-- Root directory for output --> |
| + <property-location name="out.dir" location="${PRODUCT_DIR}/chromium_testshell" |
| check-exists="false"/> |
| - <property name="resource.absolute.dir" value="../res"/> |
| + <property name="resource.absolute.dir" value="res"/> |
| <property name="gen.absolute.dir" value="${out.dir}/gen"/> |
| - <property name="jar.libs.dir" value="${out.dir}/java/libs"/> |
| + |
| + <!-- Standard directory for chromium_*.jars --> |
| + <property-value name="lib.java.dir" value="${PRODUCT_DIR}/lib.java"/> |
| <path id="native.libs.gdbserver"> |
| <fileset file="${android.gdbserver}"/> |
| </path> |
| + <!-- Specify directory for libchromiumtestshell.so so that it can be packaged by aapt --> |
| <property name="native.libs.absolute.dir" location="${out.dir}/libs"/> |
| - <property name="asset.absolute.dir" location="${out.dir}/assets"/> |
| + <!-- Specify assets dir, this allows both mmm and SDK builds to use same pak files. --> |
| + <property-location name="asset.absolute.dir" location="${PRODUCT_DIR}/../assets/chrome"/> |
| + |
| + <property name="version.code" value="16"/> |
| + <property name="version.name" value="0.1 Developer Build"/> |
| <path id="out.dex.jar.input.ref"> |
| - <filelist files="${INPUT_JARS_PATHS}"/> |
| + <pathelement location="${lib.java.dir}//chromium_base.jar"/> |
| + <pathelement location="${lib.java.dir}/chromium_content.jar"/> |
| + <pathelement location="${lib.java.dir}/chromium_media.jar"/> |
| + <pathelement location="${lib.java.dir}/chromium_net.jar"/> |
| + <pathelement location="${lib.java.dir}/chromium_chrome.jar"/> |
| + <pathelement location="${lib.java.dir}/chromium_web_contents_delegate_android.jar"/> |
| </path> |
| - <property name="java.compilerargs" value="-classpath ${toString:out.dex.jar.input.ref}"/> |
| - |
| - <echo>classpath: ${toString:out.dex.jar.input.ref}</echo> |
| <!-- We expect PRODUCT_DIR to be set like the gyp var (e.g. $ROOT/out/Debug) --> |
| <fail message="PRODUCT_DIR env var not set?"> |
| @@ -72,3 +78,4 @@ |
| <import file="../../../../build/android/ant/sdk-targets.xml"/> |
|
David Trainor- moved to gerrit
2012/09/11 07:56:48
Had to move this down here. Looks like something
Yaron
2012/09/11 15:41:43
Ya I think Chris made a change which requires it
|
| <import file="${sdk.dir}/tools/ant/build.xml"/> |
| </project> |
| + |