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

Unified Diff: build/android/ant/chromium-apk.xml

Issue 12599005: Begin de-antification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add License header Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/ant/apk-build.xml ('k') | build/java_apk.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/ant/chromium-apk.xml
diff --git a/build/android/ant/chromium-apk.xml b/build/android/ant/chromium-apk.xml
index 4b059b5dae2c950728f5c4f20ac93910a930136d..6c86f886f761f9d3096fc1e7478591f6c293f5d2 100644
--- a/build/android/ant/chromium-apk.xml
+++ b/build/android/ant/chromium-apk.xml
@@ -20,71 +20,9 @@
</description>
<import file="common.xml"/>
- <property-location name="out.dir" location="${OUT_DIR}" check-exists="false" />
+ <!-- TODO(cjhopman): Remove this property when all gyp files define the CHROMIUM_SRC property. -->
+ <property name="CHROMIUM_SRC" value="${PRODUCT_DIR}/../.." />
- <path id="javac.srcdirs.additional">
- <filelist files="${ADDITIONAL_SRC_DIRS}"/>
- <filelist files="${GENERATED_SRC_DIRS}"/>
- </path>
-
- <!--
- Include additional resource folders in the apk, e.g. content/.../res. We
- list the res folders in project.library.res.folder.path and the
- corresponding java packages in project.library.packages, which must be
- semicolon-delimited while ADDITIONAL_RES_PACKAGES is space-delimited, hence
- the javascript task.
- -->
- <path id="project.library.res.folder.path">
- <filelist files="${ADDITIONAL_RES_DIRS}"/>
- </path>
- <path id="project.library.bin.r.file.path">
- <filelist files="${ADDITIONAL_R_TEXT_FILES}"/>
- </path>
- <script language="javascript">
- var before = project.getProperty("ADDITIONAL_RES_PACKAGES");
- project.setProperty("project.library.packages", before.replaceAll(" ", ";"));
- </script>
-
- <property-value name="target.abi" value="${APP_ABI}"/>
- <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/>
- <property-value name="gen.absolute.dir" value="${out.dir}/gen"/>
- <property-location name="native.libs.absolute.dir" location="${out.dir}/libs"
- check-exists="false"/>
-
- <property-value name="version.code" value="${APP_MANIFEST_VERSION_CODE}"/>
- <property-value name="version.name" value="${APP_MANIFEST_VERSION_NAME}"/>
-
- <!--
- We use the PROGUARD_ENABLED flag for enabling proguard. By default proguard is enabled for
- Release builds if proguard.config is set. Setting proguard.config even to an empty string will
- enable proguard. Set this property only when we have explicitly enabled proguard.
- -->
- <condition property="proguard.config" value="${PROGUARD_FLAGS}">
- <istrue value="${PROGUARD_ENABLED}"/>
- </condition>
- <!-- TODO(shashishekhar): Enable emma and code-coverage filters. -->
-
- <condition property="asset.absolute.dir"
- value="${out.dir}/assets"
- else="${ASSET_DIR}">
- <equals arg1="${ASSET_DIR}" arg2=""/>
- </condition>
-
- <!-- Set the output directory for the final apk to the ${apks.dir}. -->
- <property-location name="out.final.file"
- location="${apks.dir}/${ant.project.name}.apk"
- check-exists="false"/>
-
- <!-- Classpath for javac -->
- <path id="javac.custom.classpath">
- <filelist files="${INPUT_JARS_PATHS}"/>
- </path>
-
- <path id="out.dex.jar.input.ref">
- <path refid="javac.custom.classpath"/>
- </path>
-
- <import file="sdk-targets.xml"/>
- <import file="${sdk.dir}/tools/ant/build.xml"/>
+ <import file="apk-build.xml"/>
</project>
« no previous file with comments | « build/android/ant/apk-build.xml ('k') | build/java_apk.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698