Guest User

Untitled

a guest
Jul 23rd, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.51 KB | None | 0 0
  1. exporting patch:
  2. # HG changeset patch
  3. # User Jan Berkel <jan.berkel@gmail.com>
  4. # Date 1298285839 -3600
  5. # Node ID 77f526c62a3c4a3aba0dd26166ce22dc6b82819a
  6. # Parent f39bddff3d1c02ffe74b22095434fafa3603307b
  7. Adding build.xml
  8.  
  9. diff -r f39bddff3d1c -r 77f526c62a3c .hgignore
  10. --- a/.hgignore Thu Dec 30 00:39:09 2010 +0900
  11. +++ b/.hgignore Mon Feb 21 11:57:19 2011 +0100
  12. @@ -5,4 +5,7 @@
  13. ^bin$
  14.  
  15. syntax: regexp
  16. -^src/net/itsuha/flickr_twicca/application\.properties$
  17. \ No newline at end of file
  18. +^src/net/itsuha/flickr_twicca/application\.properties$
  19. +
  20. +syntax: glob
  21. +local.properties
  22. diff -r f39bddff3d1c -r 77f526c62a3c build.xml
  23. --- /dev/null Thu Jan 01 00:00:00 1970 +0000
  24. +++ b/build.xml Mon Feb 21 11:57:19 2011 +0100
  25. @@ -0,0 +1,84 @@
  26. +<?xml version="1.0" encoding="UTF-8"?>
  27. +<project name="flickr-twicca" default="help">
  28. +
  29. +<!-- The local.properties file is created and updated by the 'android'
  30. + tool.
  31. + It contains the path to the SDK. It should *NOT* be checked into
  32. + Version Control Systems. -->
  33. + <property file="local.properties" />
  34. +
  35. + <!-- The build.properties file can be created by you and is never touched
  36. + by the 'android' tool. This is the place to change some of the
  37. + default property values used by the Ant rules.
  38. + Here are some properties you may want to change/update:
  39. +
  40. + source.dir
  41. + The name of the source directory. Default is 'src'.
  42. + out.dir
  43. + The name of the output directory. Default is 'bin'.
  44. +
  45. + Properties related to the SDK location or the project target should
  46. + be updated using the 'android' tool with the 'update' action.
  47. +
  48. + This file is an integral part of the build system for your
  49. + application and should be checked into Version Control Systems.
  50. +
  51. + -->
  52. + <property file="build.properties" />
  53. +
  54. + <!-- The default.properties file is created and updated by the 'android'
  55. + tool, as well as ADT.
  56. + This file is an integral part of the build system for your
  57. + application and should be checked into Version Control Systems. -->
  58. + <property file="default.properties" />
  59. +
  60. + <!-- Custom Android task to deal with the project target, and import the
  61. + proper rules.
  62. + This requires ant 1.6.0 or above. -->
  63. + <path id="android.antlibs">
  64. + <pathelement path="${sdk.dir}/tools/lib/anttasks.jar" />
  65. + <pathelement path="${sdk.dir}/tools/lib/sdklib.jar" />
  66. + <pathelement path="${sdk.dir}/tools/lib/androidprefs.jar" />
  67. + </path>
  68. +
  69. + <taskdef name="setup"
  70. + classname="com.android.ant.SetupTask"
  71. + classpathref="android.antlibs" />
  72. +
  73. +<!-- extension targets. Uncomment the ones where you want to do custom work
  74. + in between standard targets -->
  75. +<!--
  76. + <target name="-pre-build">
  77. + </target>
  78. + <target name="-pre-compile">
  79. + </target>
  80. +
  81. + [This is typically used for code obfuscation.
  82. + Compiled code location: ${out.classes.absolute.dir}
  83. + If this is not done in place, override ${out.dex.input.absolute.dir}]
  84. + <target name="-post-compile">
  85. + </target>
  86. +-->
  87. +
  88. +
  89. + <!-- Execute the Android Setup task that will setup some properties
  90. + specific to the target, and import the build rules files.
  91. +
  92. + The rules file is imported from
  93. + <SDK>/platforms/<target_platform>/ant/ant_rules_r#.xml
  94. +
  95. + To customize existing targets, there are two options:
  96. + - Customize only one target:
  97. + - copy/paste the target into this file, *before* the
  98. + <setup> task.
  99. + - customize it to your needs.
  100. + - Customize the whole script.
  101. + - copy/paste the content of the rules files (minus the top node)
  102. + into this file, *after* the <setup> task
  103. + - disable the import of the rules by changing the setup task
  104. + below to <setup import="false" />.
  105. + - customize to your needs.
  106. + -->
  107. + <setup />
  108. +
  109. +</project>
  110. diff -r f39bddff3d1c -r 77f526c62a3c default.properties
  111. --- a/default.properties Thu Dec 30 00:39:09 2010 +0900
  112. +++ b/default.properties Mon Feb 21 11:57:19 2011 +0100
  113. @@ -11,3 +11,4 @@
  114. split.density=false
  115. # Project target.
  116. target=android-4
  117. +jar.libs.dir=lib
  118. diff -r f39bddff3d1c -r 77f526c62a3c proguard.cfg
  119. --- /dev/null Thu Jan 01 00:00:00 1970 +0000
  120. +++ b/proguard.cfg Mon Feb 21 11:57:19 2011 +0100
  121. @@ -0,0 +1,36 @@
  122. +-optimizationpasses 5
  123. +-dontusemixedcaseclassnames
  124. +-dontskipnonpubliclibraryclasses
  125. +-dontpreverify
  126. +-verbose
  127. +-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
  128. +
  129. +-keep public class * extends android.app.Activity
  130. +-keep public class * extends android.app.Application
  131. +-keep public class * extends android.app.Service
  132. +-keep public class * extends android.content.BroadcastReceiver
  133. +-keep public class * extends android.content.ContentProvider
  134. +-keep public class * extends android.app.backup.BackupAgentHelper
  135. +-keep public class * extends android.preference.Preference
  136. +-keep public class com.android.vending.licensing.ILicensingService
  137. +
  138. +-keepclasseswithmembernames class * {
  139. + native <methods>;
  140. +}
  141. +
  142. +-keepclasseswithmembernames class * {
  143. + public <init>(android.content.Context, android.util.AttributeSet);
  144. +}
  145. +
  146. +-keepclasseswithmembernames class * {
  147. + public <init>(android.content.Context, android.util.AttributeSet, int);
  148. +}
  149. +
  150. +-keepclassmembers enum * {
  151. + public static **[] values();
  152. + public static ** valueOf(java.lang.String);
  153. +}
  154. +
  155. +-keep class * implements android.os.Parcelable {
  156. + public static final android.os.Parcelable$Creator *;
  157. +}
Add Comment
Please, Sign In to add comment