DescriptionMake fileBrowserHandler & fileManagerPrivate files compile on chromeos only.
This is because they are only available/needed on chromeos.
On my local test setup, I see a reduction of 6672 bytes in chrome binary:
gn gen out/Release --args=' use_goma=true is_clang=true \
is_component_build=true proprietary_codecs=true ffmpeg_branding="Chrome" \
safe_browsing_mode=1 enable_google_now=true is_debug=false \
dcheck_always_on=true '
ninja -C out/Release chrome
With this change:
ls -al out/Release/chrome:
-rwxr-x--- 1 lazyboy eng 61439904 Sep 15 16:03 out/Release/chrome
Without this change:
ls -al out/Release/chrome:
-rwxr-x--- 1 lazyboy eng 61446576 Sep 15 16:04 out/Release/chrome
BUG=376319
Test=Expect no visible change.
Committed: https://crrev.com/6e2eae19d7a198803699abc3c0532c0c66d1e060
Cr-Commit-Position: refs/heads/master@{#419356}
Patch Set 1 #
Total comments: 4
Patch Set 2 : move to is_chromeos #Patch Set 3 : -amremove enable_extensions check #
Messages
Total messages: 24 (13 generated)
|