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

Issue 7011032: Make the gyp files more cross-platform across the Unices (Closed)

Created:
9 years, 7 months ago by ruben
Modified:
9 years, 7 months ago
CC:
chromium-reviews, finnur+watch_chromium.org, jam, pam+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org, jshin+watch_chromium.org
Visibility:
Public.

Description

Make use of the new cross-platform POSIX defines toolkit_uses_gtk, os_posix, and use_x11 for the gyp files. For lists of source files that use a mix of POSIX and Gtk APIs, toolkit_uses_gtk was given precedence. I also added Solaris to the remaining grit files. Patch by ruben (chromium@hybridsource.org). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85979

Patch Set 1 #

Total comments: 6

Patch Set 2 : updated to trunk and fixed some nits #

Total comments: 4

Patch Set 3 : fixed spacing nit #

Patch Set 4 : fixed two more spacing nits #

Patch Set 5 : updated to trunk and reverted to toolkit_uses_gtk in one case #

Patch Set 6 : updated to trunk and added spaces, collapsed one check #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -124 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 12 chunks +12 lines, -12 lines 0 comments Download
M chrome/app/resources/locale_settings.grd View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 7 chunks +10 lines, -6 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 5 chunks +5 lines, -13 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 4 5 2 chunks +1 line, -6 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 26 chunks +29 lines, -29 lines 1 comment Download
M chrome/common_constants.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/default_plugin/default_plugin.gyp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/content_plugin.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ui/base/strings/ui_strings.gyp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/compositor/compositor.gyp View 1 2 3 4 5 2 chunks +7 lines, -7 lines 0 comments Download
M ui/gfx/gl/gl.gyp View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M ui/gfx/surface/surface.gyp View 1 2 3 4 5 1 chunk +7 lines, -5 lines 0 comments Download
M ui/ui.gyp View 1 2 3 4 5 1 chunk +7 lines, -5 lines 0 comments Download
M ui/ui_base.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ui/ui_gfx.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ui/ui_unittests.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ui/ui_views.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M views/views.gyp View 1 2 3 4 5 5 chunks +5 lines, -5 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M webkit/tools/pepper_test_plugin/pepper_test_plugin.gyp View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/test_shell.gypi View 1 2 3 4 5 8 chunks +9 lines, -9 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
ruben
Patch for gyp files using the new cross-Unix defines. Evan is primary reviewer, input welcome ...
9 years, 7 months ago (2011-05-13 06:21:58 UTC) #1
tony
In general, I would probably use 'os_posix==1 and OS!="mac"' more and toolkit_uses_gtk==1 less. I admit ...
9 years, 7 months ago (2011-05-16 19:25:11 UTC) #2
ruben
On 2011/05/16 19:25:11, tony wrote: > In general, I would probably use 'os_posix==1 and OS!="mac"' ...
9 years, 7 months ago (2011-05-16 22:59:04 UTC) #3
tony
Evan, do you want to take a look? http://codereview.chromium.org/7011032/diff/5002/ui/gfx/compositor/compositor.gyp File ui/gfx/compositor/compositor.gyp (right): http://codereview.chromium.org/7011032/diff/5002/ui/gfx/compositor/compositor.gyp#newcode12 ui/gfx/compositor/compositor.gyp:12: 'sources/': ...
9 years, 7 months ago (2011-05-16 23:00:32 UTC) #4
Evan Stade
so the two statements toolkit_uses_gtk vs. os_posix and !os_mac which do the same thing? I ...
9 years, 7 months ago (2011-05-17 00:46:12 UTC) #5
ruben
On 2011/05/17 00:46:12, Evan Stade wrote: > so the two statements toolkit_uses_gtk vs. os_posix and ...
9 years, 7 months ago (2011-05-17 01:11:24 UTC) #6
tony
I agree that the distinction is arbitrary right now, but a) It matches the code ...
9 years, 7 months ago (2011-05-17 16:37:24 UTC) #7
ruben
On 2011/05/17 16:37:24, tony wrote: > I agree that the distinction is arbitrary right now, ...
9 years, 7 months ago (2011-05-17 22:06:23 UTC) #8
Evan Stade
LGTM re: whitespace, I'd make sure to use it for new stuff and we can ...
9 years, 7 months ago (2011-05-18 20:55:11 UTC) #9
ruben
On 2011/05/18 20:55:11, Evan Stade wrote: > LGTM > > re: whitespace, I'd make sure ...
9 years, 7 months ago (2011-05-18 23:57:17 UTC) #10
commit-bot: I haz the power
Try job failure for 7011032-14001 on win: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=32235
9 years, 7 months ago (2011-05-19 00:01:22 UTC) #11
ruben
On 2011/05/19 00:01:22, commit-bot wrote: > Try job failure for 7011032-14001 on win: > http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=32235 ...
9 years, 7 months ago (2011-05-19 01:14:05 UTC) #12
tony
http://build.chromium.org/p/tryserver.chromium/builders/linux/builds/27462 Failure from the fixed patch. http://codereview.chromium.org/7011032/diff/14001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/7011032/diff/14001/chrome/chrome_tests.gypi#newcode3715 chrome/chrome_tests.gypi:3715: ['os_posix == 1 ...
9 years, 7 months ago (2011-05-19 17:03:37 UTC) #13
tony
I'm sending to the try bots again. This seems to be working locally for me.
9 years, 7 months ago (2011-05-19 19:12:40 UTC) #14
tony
9 years, 7 months ago (2011-05-19 21:49:59 UTC) #15
Committed in r85979.

Powered by Google App Engine
This is Rietveld 408576698