Permalink
Browse files

Fix Compatibility-v13 build. Moved api-docs location.

  • Loading branch information...
1 parent 9776e94 commit 2575bdb571bdb062a71e56295dfe522eab596932 @atsushieno atsushieno committed Jan 30, 2012
@@ -1,6 +1,4 @@
<enum-method-mappings>
- <map package="android.support.v4.app" class="BackStackState" method="writeToParcel" parameter="p1" enum="Android.OS.ParcelableWriteFlags" />
- <map package="android.support.v4.app" class="FragmentState" method="writeToParcel" parameter="p1" enum="Android.OS.ParcelableWriteFlags" />
- <map package="android.support.v4.app" class="FragmentManagerState" method="writeToParcel" parameter="p1" enum="Android.OS.ParcelableWriteFlags" />
<map package="android.support.v4.app" class="Fragment.SavedState" method="writeToParcel" parameter="p1" enum="Android.OS.ParcelableWriteFlags" />
+ <map package="android.support.v4.app" class="Fragment.SavedState" method="writeToParcel" parameter="flags" enum="Android.OS.ParcelableWriteFlags" />
</enum-method-mappings>
@@ -1,6 +1,4 @@
-MONO_ANDROID_PATH := /Developer/MonoAndroid/usr
-ANDROID_SDK_PATH := /opt/android/sdk
-API_LEVELS := 14
+API_LEVELS := 13
BUILDDIR := bin
TOP := ../..
thisdir := Compatibility-v13/bindings
@@ -38,10 +36,10 @@ $(ASSEMBLIES): $(platforms_dir)/android-%/Mono.Android.Compatibility.v13.dll: $(
-enumfields=EnumFields.xml -enummethods=EnumMethods.xml -global -v \
-o obj/platform-$* \
-cscopt -debug+ -cscopt -nowarn:0109,0108 \
- -droiddoc=developer.android.com/reference \
+ -droiddoc=../../api-docs/developer.android.com/reference \
$(SOURCES:%=-cscopt "%")
-$(DOCS): $(platforms_dir)/android-%/Mono.Android.Compatibility.v13.xml: $(platforms_dir)/android-%/Mono.Android.Compatibility.v13.dll map.csv metadata
+$(DOCS): $(platforms_dir)/android-%/Mono.Android.Compatibility.v13.xml: $(platforms_dir)/android-%/Mono.Android.Compatibility.v13.dll EnumMethods.xml Metadata.xml
$(RM) -R obj/platform-$*/docs
-mkdir -p obj/platform-$*/docs
-cp -R Documentation/en obj/platform-$*/docs
@@ -1,4 +1,7 @@
<metadata>
+ <remove-node path="/api/package[@name='android.support.v4.app']/class[@name='BackStackState']" />
+ <remove-node path="/api/package[@name='android.support.v4.app']/class[@name='FragmentState']" />
+ <remove-node path="/api/package[@name='android.support.v4.app']/class[@name='FragmentManagerState']" />
<remove-node path="/api/package[@name='android.support.v4.widget']/class[@name='CursorAdapter']/implements[@name='android.support.v4.widget.CursorFilter.CursorFilterClient']" />
<remove-node path="/api/package[@name='android.support.v4.widget']/class[@name='CursorAdapter']/field[@name='mCursorFilter']" />
@@ -13,6 +16,7 @@
<remove-node path="/api/package[@name='android.support.v4.view.accessibility']/class[@name='AccessibilityNodeInfoCompat.AccessibilityNodeInfoIcsImpl']" />
<remove-node path="/api/package[@name='android.support.v4.widget']/class[@name='CursorAdapter']" />
<remove-node path="/api/package[@name='android.support.v4.widget']/class[@name='CursorAdapter.ChangeObserver']" />
+ <remove-node path="/api/package[@name='android.support.v4.view.accessibility']/class[@name='AccessibilityNodeInfoCompat.AccessibilityNodeInfoIcsImpl']" />
<remove-node path="/api/package[@name='android.support.v4.view.accessibility']/class[@name='AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl']" />
<remove-node path="/api/package[@name='android.support.v4.view']/interface[@name='ViewPager.OnAdapterChangeListener']" />
</metadata>
@@ -37,7 +37,7 @@ $(ASSEMBLIES): $(platforms_dir)/android-%/Mono.Android.Compatibility.v4.dll: $(J
-enumfields=EnumFields.xml -enummethods=EnumMethods.xml -global -v \
-o obj/platform-$* \
-cscopt -debug+ -cscopt -nowarn:0109,0108 \
- -droiddoc=developer.android.com/reference \
+ -droiddoc=../../api-docs/developer.android.com/reference \
$(SOURCES:%=-cscopt "%")
$(DOCS): $(platforms_dir)/android-%/Mono.Android.Compatibility.v4.xml: $(platforms_dir)/android-%/Mono.Android.Compatibility.v4.dll map.csv metadata
File renamed without changes.

0 comments on commit 2575bdb

Please sign in to comment.