Skip to content

Commit 38d01a4

Browse files
matiasinsaurraldery
authored andcommitted
build.py: add an additional flag for depot_tools path (ry#11)
1 parent 01b61e0 commit 38d01a4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.py

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
parser.add_argument('--rebuild', dest='rebuild', action='store_true')
1313
parser.add_argument('--use_ccache', dest='use_ccache', action='store_true')
1414
parser.add_argument('--out_path', nargs=1, dest='out_path', type=str, action='store')
15+
parser.add_argument('--depot_tools_path', nargs=1, dest='depot_tools_path', type=str, action='store')
1516
parser.set_defaults(rebuild=False, use_ccache=False, out_path=None)
1617
args = parser.parse_args()
1718

@@ -24,6 +25,8 @@
2425
out_path = args.out_path[0]
2526
print("out_path %s" % args.out_path)
2627
v8build_path = os.path.join(out_path, "v8build")
28+
if args.depot_tools_path:
29+
depot_tools = args.depot_tools_path[0]
2730

2831
# To get a list of args
2932
# cd v8 && ../depot_tools/gn args ../out/v8build/ --list

0 commit comments

Comments
 (0)