Add GN build

This commit is contained in:
Jeremy Apthorp 2018-05-03 15:44:29 -07:00
parent 1cc5492784
commit f2b1b3f6b8
11 changed files with 1074 additions and 1 deletions

10
build/npm-run.py Normal file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env python
import os
import sys
SOURCE_ROOT = os.path.dirname(os.path.dirname(__file__))
args = ["npm", "run",
"--prefix",
SOURCE_ROOT
] + sys.argv[1:]
os.execvp("npm", args)