Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
Signed-off-by: leleliu008 <[email protected]>
  • Loading branch information
leleliu008 committed Apr 27, 2024
1 parent 975905a commit a432d2b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions wrapper-target-c++.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
#include <unistd.h>
#include <sys/stat.h>

#define ACTION_PREPROCESS 1
#define ACTION_COMPILE 2
#define ACTION_ASSEMBLE 3
#define ACTION_CREATE_SHARED_LIBRARY 4
#define ACTION_CREATE_STATICALLY_LINKED_EXECUTABLE 3
#define ACTION_CREATE_DYNAMICALLY_LINKED_EXECUTABLE 4
#define ACTION_PREPROCESS 1
#define ACTION_COMPILE 2
#define ACTION_ASSEMBLE 3
#define ACTION_CREATE_SHARED_LIBRARY 4
#define ACTION_CREATE_STATICALLY_LINKED_EXECUTABLE 5
#define ACTION_CREATE_DYNAMICALLY_LINKED_EXECUTABLE 6

int main(int argc, char * argv[]) {
char * const cxxc = getenv("ANDROID_NDK_CXX");
Expand Down
12 changes: 6 additions & 6 deletions wrapper-target-cc.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
#include <unistd.h>
#include <sys/stat.h>

#define ACTION_PREPROCESS 1
#define ACTION_COMPILE 2
#define ACTION_ASSEMBLE 3
#define ACTION_CREATE_SHARED_LIBRARY 4
#define ACTION_CREATE_STATICALLY_LINKED_EXECUTABLE 3
#define ACTION_CREATE_DYNAMICALLY_LINKED_EXECUTABLE 4
#define ACTION_PREPROCESS 1
#define ACTION_COMPILE 2
#define ACTION_ASSEMBLE 3
#define ACTION_CREATE_SHARED_LIBRARY 4
#define ACTION_CREATE_STATICALLY_LINKED_EXECUTABLE 5
#define ACTION_CREATE_DYNAMICALLY_LINKED_EXECUTABLE 6

int main(int argc, char * argv[]) {
char * const cc = getenv("ANDROID_NDK_CC");
Expand Down

0 comments on commit a432d2b

Please sign in to comment.