diff --git a/setup.py b/setup.py index 3a9bc6b157c16..19a7ada6a0522 100644 --- a/setup.py +++ b/setup.py @@ -38,8 +38,12 @@ def run(self): # Running GN to generate build files 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') + ]) # Running Ninja to build the project print('Building project with Ninja...')