Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Issue 2344783004: Make fileBrowserHandler & fileManagerPrivate files compile on chromeos only. (Closed)

Created:
4 years, 3 months ago by lazyboy
Modified:
4 years, 3 months ago
Reviewers:
Devlin, sky
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -10 lines) Patch
M chrome/renderer/BUILD.gn View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc View 5 chunks +9 lines, -2 lines 0 comments Download
M chrome/renderer/resources/renderer_resources.grd View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
lazyboy
https://codereview.chromium.org/2344783004/diff/1/chrome/renderer/BUILD.gn File chrome/renderer/BUILD.gn (right): https://codereview.chromium.org/2344783004/diff/1/chrome/renderer/BUILD.gn#newcode291 chrome/renderer/BUILD.gn:291: "extensions/file_browser_handler_custom_bindings.cc", Is this the right way? I can compile ...
4 years, 3 months ago (2016-09-15 23:20:13 UTC) #2
Devlin
lgtm as long as the bots pass https://codereview.chromium.org/2344783004/diff/1/chrome/renderer/BUILD.gn File chrome/renderer/BUILD.gn (right): https://codereview.chromium.org/2344783004/diff/1/chrome/renderer/BUILD.gn#newcode291 chrome/renderer/BUILD.gn:291: "extensions/file_browser_handler_custom_bindings.cc", On ...
4 years, 3 months ago (2016-09-16 00:35:48 UTC) #3
lazyboy
+sky for OWNERS review.
4 years, 3 months ago (2016-09-16 17:10:02 UTC) #9
sky
https://codereview.chromium.org/2344783004/diff/1/chrome/renderer/BUILD.gn File chrome/renderer/BUILD.gn (right): https://codereview.chromium.org/2344783004/diff/1/chrome/renderer/BUILD.gn#newcode289 chrome/renderer/BUILD.gn:289: if (is_chromeos) { Move this to the is_chromeos section ...
4 years, 3 months ago (2016-09-16 21:18:33 UTC) #10
lazyboy
https://codereview.chromium.org/2344783004/diff/1/chrome/renderer/BUILD.gn File chrome/renderer/BUILD.gn (right): https://codereview.chromium.org/2344783004/diff/1/chrome/renderer/BUILD.gn#newcode289 chrome/renderer/BUILD.gn:289: if (is_chromeos) { On 2016/09/16 21:18:33, sky wrote: > ...
4 years, 3 months ago (2016-09-16 22:07:22 UTC) #11
sky
I don't believe chromeos works without extensions: https://chromium.googlesource.com/chromium/src/+/master/chrome/browser/chromeos/BUILD.gn#13 .
4 years, 3 months ago (2016-09-16 23:05:05 UTC) #12
lazyboy
On 2016/09/16 23:05:05, sky wrote: > I don't believe chromeos works without extensions: > https://chromium.googlesource.com/chromium/src/+/master/chrome/browser/chromeos/BUILD.gn#13 ...
4 years, 3 months ago (2016-09-16 23:10:15 UTC) #13
sky
LGTM
4 years, 3 months ago (2016-09-16 23:22:38 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2344783004/40001
4 years, 3 months ago (2016-09-17 00:59:50 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-17 01:05:17 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-09-17 01:08:22 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6e2eae19d7a198803699abc3c0532c0c66d1e060
Cr-Commit-Position: refs/heads/master@{#419356}

Powered by Google App Engine
This is Rietveld 408576698