Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
Add npm task for libchromiumcontent build and bootstrap
Browse files Browse the repository at this point in the history
Auditors: @bbondy, @bridiver
darkdh committed Aug 5, 2016
1 parent 0f9ca70 commit 0d6e463
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -32,6 +32,8 @@
"cibuild-windows": "rm -Rf node_mdules && python ./script/cibuild --target_arch=x64",
"cibuild-windows-ia32": "rm -Rf node_mdules && python ./script/cibuild --target_arch=ia32",
"test": "python ./script/test.py",
"browser-build": "npm run build && rsync -avz --delete out/D/Brave.app ../browser-laptop/node_modules/electron-prebuilt/dist/"
"browser-build": "npm run build && rsync -avz --delete out/D/Brave.app ../browser-laptop/node_modules/electron-prebuilt/dist/",
"libchromium-build": "../libchromiumcontent/script/bootstrap && ../libchromiumcontent/script/update && ../libchromiumcontent/script/build && ../libchromiumcontent/script/create-dist",

This comment has been minimized.

Copy link
@bbondy

bbondy Aug 7, 2016

Member

For create-dist, I think we can skip the zipping in the python script for this couldn't we? CC @bridiver. Sometimes also useful to only create-dist if just including headers for example.

This comment has been minimized.

Copy link
@darkdh

darkdh Aug 7, 2016

Author Member

We can add --no_zip as an argument of ./script/create-dist

"libchromium-bootstrap": "./script/bootstrap.py -v --libcc_source_path ../libchromiumcontent/dist/main/src --libcc_shared_library_path ../libchromiumcontent/dist/main/shared_library --libcc_static_library_path ../libchromiumcontent/dist/main/static_library"

This comment has been minimized.

Copy link
@bbondy

bbondy Aug 7, 2016

Member

This fails to run on windows btw, we might want to have a node script we run that works cross platform.

}
}

0 comments on commit 0d6e463

Please sign in to comment.