distinguished jni build with build macro

This commit is contained in:
2017-05-18 19:26:18 +08:00
parent a39423e0f6
commit 90cecb0e1c
2 changed files with 5 additions and 3 deletions

View File

@@ -8,12 +8,10 @@ Description: This file links to java layer for Android application
Revision log: Revision log:
* 2016-03-21: created by strawmanbobi * 2016-03-21: created by strawmanbobi
**************************************************************************************************/ **************************************************************************************************/
// #include <jni.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <errno.h> #include <errno.h>
#include "./include/jni.h"
#include "ir_decode_jni.h" #include "ir_decode_jni.h"
#include "../include/ir_defs.h" #include "../include/ir_defs.h"
#include "../include/ir_decode.h" #include "../include/ir_decode.h"

View File

@@ -1,5 +1,9 @@
/* DO NOT EDIT THIS FILE - it is machine generated */ /* DO NOT EDIT THIS FILE - it is machine generated */
#if defined BOARD_ANDROID
#include <jni.h>
#elif (defined BOARD_PC) && (defined BOARD_PC_JNI)
#include "./include/jni.h" #include "./include/jni.h"
#endif
/* Header for class net_irext_decodesdk_IRDecode */ /* Header for class net_irext_decodesdk_IRDecode */
#ifndef _Included_net_irext_decodesdk_IRDecode #ifndef _Included_net_irext_decodesdk_IRDecode