android-project/proguard-project.txt
author Sam Lantinga
Sun, 13 Aug 2017 18:12:06 -0700
changeset 11263 f85618f8ba81
parent 6631 47ab7ba21530
permissions -rw-r--r--
Fixed bug 2812 - Make libSDL2main.a usable on Android via a dummy symbol

Jonas Kulla

This eliminates the need to manually compile in SDL_main_android.c.
Instead, add "-lSDL2main -Wl,-u,SDL_main_dummy" when linking.

I don't know how the nkd-build process works, but unless it was
for some reason linking libSDL2main.a it should be unaffected.
     1 # To enable ProGuard in your project, edit project.properties
     2 # to define the proguard.config property as described in that file.
     3 #
     4 # Add project specific ProGuard rules here.
     5 # By default, the flags in this file are appended to flags specified
     6 # in ${sdk.dir}/tools/proguard/proguard-android.txt
     7 # You can edit the include path and order by changing the ProGuard
     8 # include property in project.properties.
     9 #
    10 # For more details, see
    11 #   http://developer.android.com/guide/developing/tools/proguard.html
    12 
    13 # Add any project specific keep options here:
    14 
    15 # If your project uses WebView with JS, uncomment the following
    16 # and specify the fully qualified class name to the JavaScript interface
    17 # class:
    18 #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
    19 #   public *;
    20 #}