mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-442: remove explicit var for metadata embedding
IJ-CR-129069 GitOrigin-RevId: eec62becb7389e9243f4c912717e6cc6b1761be8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7441df86c8
commit
987cc772cf
@@ -62,10 +62,11 @@ fn main_os_specific() -> Result<()> {
|
||||
link_cef_sandbox(&cef_dir)?;
|
||||
write_cef_version(cef_version)?;
|
||||
|
||||
let needs_metadata = env::var("XPLAT_LAUNCHER_EMBED_RESOURCES_AND_MANIFEST")
|
||||
.unwrap_or("0".to_string());
|
||||
|
||||
if needs_metadata == "1" {
|
||||
// metadata embedding breaks incremental build due to verbose output of the used tools
|
||||
// for the convenience of the development we'll avoid this
|
||||
// for the builds which are explicitly marked as debug by cargo
|
||||
let is_debug = env::var("DEBUG")? == "true";
|
||||
if !is_debug {
|
||||
embed_metadata()?;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user