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

Issue 61923004: Clean up uses of use_glib that are not related to glib dependencies (Closed)

Created:
7 years, 1 month ago by spang
Modified:
6 years, 11 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, erikwright+watch_chromium.org, (unused - use chromium), mmenke, satorux1
Visibility:
Public.

Description

Clean up uses of use_glib that are not related to glib dependencies We're frequently using the use_glib gyp variable as a shorthand for: OS!="win" and OS!="mac" and OS!="ios" and OS!="android" This should be equivalent to: desktop_linux == 1 or chromeos == 1 Embedded builds want to remove as many dependencies as possible. This cleans up uses of the use_glib variable so we can turn it off on linux without breaking the build. BUG=316226 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233804

Patch Set 1 #

Patch Set 2 : use OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" #

Patch Set 3 : desktop_linux == 1 or chromeos == 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -26 lines) Patch
M base/base.gyp View 1 2 6 chunks +22 lines, -10 lines 2 comments Download
M base/base.gypi View 1 2 1 chunk +9 lines, -1 line 0 comments Download
M net/net.gyp View 1 2 3 chunks +5 lines, -3 lines 0 comments Download
M skia/skia_common.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download
M skia/skia_library.gypi View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ui/app_list/app_list.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/message_center/message_center.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/ui.gyp View 1 2 2 chunks +7 lines, -5 lines 0 comments Download
M ui/ui_unittests.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
spang
7 years, 1 month ago (2013-11-07 16:09:44 UTC) #1
Nico
What's this for? I don't like repeating this OS list over and over. Maybe we ...
7 years, 1 month ago (2013-11-07 16:15:32 UTC) #2
Ben Goodger (Google)
+1... I trust developers to remember a single variable more than I trust them to ...
7 years, 1 month ago (2013-11-07 16:18:39 UTC) #3
spang
On 2013/11/07 16:15:32, Nico (ooo until Nov 12) wrote: > What's this for? > > ...
7 years, 1 month ago (2013-11-07 16:31:40 UTC) #4
Nico
On Thu, Nov 7, 2013 at 8:31 AM, <spang@chromium.org> wrote: > On 2013/11/07 16:15:32, Nico ...
7 years, 1 month ago (2013-11-07 16:37:18 UTC) #5
spang
On 2013/11/07 16:18:39, Ben Goodger (Google) wrote: > +1... I trust developers to remember a ...
7 years, 1 month ago (2013-11-07 16:48:12 UTC) #6
spang
On 2013/11/07 16:37:18, Nico (ooo until Nov 12) wrote: > On Thu, Nov 7, 2013 ...
7 years, 1 month ago (2013-11-07 17:20:43 UTC) #7
spang
PTAL sadrul pointed out that freebsd, openbsd, and solaris all set desktop_linux==1. So 'desktop_linux == ...
7 years, 1 month ago (2013-11-07 18:39:43 UTC) #8
Ben Goodger (Google)
lgtm https://codereview.chromium.org/61923004/diff/120001/base/base.gyp File base/base.gyp (right): https://codereview.chromium.org/61923004/diff/120001/base/base.gyp#newcode38 base/base.gyp:38: ['desktop_linux == 1 or chromeos == 1', { ...
7 years, 1 month ago (2013-11-07 18:48:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/spang@chromium.org/61923004/120001
7 years, 1 month ago (2013-11-07 19:10:57 UTC) #10
commit-bot: I haz the power
Change committed as 233804
7 years, 1 month ago (2013-11-08 06:25:00 UTC) #11
M-A Ruel
6 years, 11 months ago (2014-01-26 20:39:55 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/61923004/diff/120001/base/base.gyp
File base/base.gyp (right):

https://codereview.chromium.org/61923004/diff/120001/base/base.gyp#newcode755
base/base.gyp:755: ['desktop_linux == 1 or chromeos == 1', {
It's duplicate, please merge lines 694-698 into here.

Powered by Google App Engine
This is Rietveld 408576698