diff --git a/setup.py b/setup.py index a103ef5008bf9..0f47a8d06f095 100644 --- a/setup.py +++ b/setup.py @@ -40,8 +40,12 @@ def run(self): run_command('starboard/tools/download_clang.sh') print('Generating build files with GN...') - run_command( - ['python', 'cobalt/build/gn.py', '-p', 'linux-x64x11', '-C', 'devel']) + run_command([ + 'gn', 'gen', 'out/linux-x64x11_devel', + ('--args=target_platform="linux-x64x11"' + 'build_type="devel"' + 'enable_cc_wrapper=false') + ]) print('Building project with Ninja...') run_command(['ninja', '-C', 'out/linux-x64x11_devel'])