Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create_android_makefiles fails - No Module named GN-scraper #339

Open
barak14 opened this issue Sep 3, 2021 · 0 comments
Open

create_android_makefiles fails - No Module named GN-scraper #339

barak14 opened this issue Sep 3, 2021 · 0 comments

Comments

@barak14
Copy link

barak14 commented Sep 3, 2021

  • Project: Android makefile creation
  • Version: NodeJS mobile 0.3.4 (latest git master)
  • Mobile device: AOSP
  • Mobile OS and version: Android Pie 9
  • Development Node.js: 12.9.0
  • Development platform: WSL2 Ubuntu 20.04

I can successfully build the node libraries using the android-configure and then build but when I attempt to run
tools/create_android_makefiles I receive the following output and it fails to complete:

user@pc:~/sources/nodejs-mobile$ tools/create_android_makefiles
WARNING: --openssl-no-asm will result in binaries that do not take advantage
of modern CPU cryptographic instructions and will therefore be slower.
Please refer to BUILDING.md
WARNING: warnings were emitted in the configure phase
gyp: name 'host_os' is not defined while evaluating condition 'host_os == "mac"' in /home/andrew/sources/nodejs-mobile/tools/v8_gypfiles/v8.gyp
Error running GYP
target_arch=arm v8_target_arch=arm android_target_arch=arm host_os=linux target_os=android
gyp: Error importing pymod_do_mainmodule (GN-scraper): No module named GN-scraper

I have run the lunch command for my target
I have tried Python2 and Python3 (3 fails at ForEachFormat). Is there something missing that I can't see :)
The python files seem to be there and when I run this a pyc file is created for each of these files under v8_gypfiles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant