FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
node/tools/create_android_makefiles at main · nodejs/node · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
nodejs
/
node
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
36.6k
Star
119k
Code
Issues
632
Pull requests
749
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
node
/
tools
/
create_android_makefiles
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
46 lines (38 loc) · 1023 Bytes
Breadcrumbs
node
/
tools
/
create_android_makefiles
Copy path
File metadata and controls
executable file
·
46 lines (38 loc) · 1023 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!
/bin/bash
#
Run this script ONLY inside an Android build system
#
and after you ran lunch command!
if
[
-z
"
$ANDROID_BUILD_TOP
"
]
;
then
echo
"
Run lunch before running this script!
"
exit
1
fi
if
[
-z
"
$1
"
]
;
then
ARCH=
"
arm
"
else
ARCH=
"
$1
"
fi
if
[
$ARCH
=
"
x86
"
]
;
then
TARGET_ARCH=
"
ia32
"
else
TARGET_ARCH=
"
$ARCH
"
fi
cd
$(
dirname
$0
)
/..
./configure \
--without-snapshot \
--openssl-no-asm \
--dest-cpu=
$TARGET_ARCH
\
--dest-os=android
export
GYP_GENERATORS=
"
android
"
export
GYP_GENERATOR_FLAGS=
"
limit_to_target_all=true
"
GYP_DEFINES=
"
target_arch=
$TARGET_ARCH
"
GYP_DEFINES+=
"
v8_target_arch=
$TARGET_ARCH
"
GYP_DEFINES+=
"
android_target_arch=
$ARCH
"
GYP_DEFINES+=
"
host_os=linux OS=android
"
export
GYP_DEFINES
./deps/npm/node_modules/node-gyp/gyp/gyp \
-Icommon.gypi \
-Iconfig.gypi \
--depth=. \
-Dcomponent=static_library \
-Dlibrary=static_library \
node.gyp
echo
-e
"
LOCAL_PATH :=
\$
(call my-dir)\n\ninclude
\$
(LOCAL_PATH)/GypAndroid.mk
"
>
Android.mk
Back
|
FazBrowse Home
|
New Git URL