Skip to content

Commit

Permalink
fix: remove onlySdk checks (#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere authored Oct 17, 2024
1 parent 4097774 commit eeb1a11
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/e-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const { ensureSDK, ensureSDKAndSymlink } = require('./utils/sdk');
function getGNArgs(config) {
const configArgs = config.gen.args;

if (config.onlySdk && process.platform === 'darwin') {
if (process.platform === 'darwin') {
configArgs.push(`mac_sdk_path = "${ensureSDKAndSymlink(config)}"`);
}

Expand Down
4 changes: 1 addition & 3 deletions src/e-sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ function runGClientSync(syncArgs, syncOpts) {
depot.ensure();

if (process.platform === 'darwin') {
if (config.onlySdk) {
ensureSDK();
}
ensureSDK();
}

if (config.defaultTarget === 'chrome') {
Expand Down
4 changes: 0 additions & 4 deletions tests/sandbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ function eInitRunner(execOptions) {
args.push('--out', val);
return o;
},
onlySdk: () => {
args.push('--only-sdk');
return o;
},
root: val => {
args.push('--root', val);
return o;
Expand Down

0 comments on commit eeb1a11

Please sign in to comment.