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

Issue 589753005: gn: Fix build issues blocking gfx from being built (Closed)

Created:
6 years, 3 months ago by ckocagil
Modified:
6 years, 3 months ago
Reviewers:
brettw, Ilya Sherman
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 14

Patch Set 2 : comments addressed #

Patch Set 3 : reverted target.cc change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -12 lines) Patch
M build/config/BUILDCONFIG.gn View 1 chunk +1 line, -1 line 0 comments Download
M build/toolchain/win/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M skia/BUILD.gn View 3 chunks +5 lines, -4 lines 0 comments Download
M third_party/libpng/BUILD.gn View 1 2 chunks +16 lines, -6 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
ckocagil
https://codereview.chromium.org/589753005/diff/1/build/toolchain/win/BUILD.gn File build/toolchain/win/BUILD.gn (right): https://codereview.chromium.org/589753005/diff/1/build/toolchain/win/BUILD.gn#newcode114 build/toolchain/win/BUILD.gn:114: link_output = dllname These should be explicitly stated, otherwise ...
6 years, 3 months ago (2014-09-21 02:05:06 UTC) #1
brettw
https://codereview.chromium.org/589753005/diff/1/build/toolchain/win/BUILD.gn File build/toolchain/win/BUILD.gn (right): https://codereview.chromium.org/589753005/diff/1/build/toolchain/win/BUILD.gn#newcode114 build/toolchain/win/BUILD.gn:114: link_output = dllname Actually, I think both of these ...
6 years, 3 months ago (2014-09-21 02:55:01 UTC) #2
ckocagil
https://codereview.chromium.org/589753005/diff/1/build/toolchain/win/BUILD.gn File build/toolchain/win/BUILD.gn (right): https://codereview.chromium.org/589753005/diff/1/build/toolchain/win/BUILD.gn#newcode114 build/toolchain/win/BUILD.gn:114: link_output = dllname On 2014/09/21 02:55:00, brettw wrote: > ...
6 years, 3 months ago (2014-09-21 11:47:27 UTC) #3
brettw
https://codereview.chromium.org/589753005/diff/1/tools/gn/target.cc File tools/gn/target.cc (right): https://codereview.chromium.org/589753005/diff/1/tools/gn/target.cc#newcode325 tools/gn/target.cc:325: this, tool, tool->depend_output()); Oh whoops, haven't checked it in ...
6 years, 3 months ago (2014-09-22 04:45:56 UTC) #4
ckocagil
https://codereview.chromium.org/589753005/diff/1/tools/gn/target.cc File tools/gn/target.cc (right): https://codereview.chromium.org/589753005/diff/1/tools/gn/target.cc#newcode325 tools/gn/target.cc:325: this, tool, tool->depend_output()); Okay, I removed the change here.
6 years, 3 months ago (2014-09-22 16:39:33 UTC) #5
brettw
lgtm
6 years, 3 months ago (2014-09-22 16:47:58 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/589753005/40001
6 years, 3 months ago (2014-09-22 16:50:20 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/12602)
6 years, 3 months ago (2014-09-22 17:00:52 UTC) #10
ckocagil
Do you globally own BUILD.gn files? If so I'll manually land after the try bots ...
6 years, 3 months ago (2014-09-22 17:06:15 UTC) #11
ckocagil
(assuming yes)
6 years, 3 months ago (2014-09-22 19:33:13 UTC) #12
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/b83a0bd983bdcdcbc14559f263e7e7d8145c976c Cr-Commit-Position: refs/heads/master@{#296027}
6 years, 3 months ago (2014-09-22 19:45:43 UTC) #13
ckocagil
Committed patchset #3 (id:40001) manually as b83a0bd.
6 years, 3 months ago (2014-09-22 19:45:55 UTC) #14
Ilya Sherman
6 years, 3 months ago (2014-09-23 05:39:21 UTC) #16
Message was sent while issue was closed.
FYI, this CL seems to have broken libpng compilation on Mac.  Here's the output
I get:

22:38 isherman@isherman-macpro /Volumes/Work/chrome/src
$ gn gen out/gn
Done. Wrote 1522 targets from 522 files in 1727ms
22:38 isherman@isherman-macpro /Volumes/Work/chrome/src
$ ninja -C out/gn libpng
ninja: Entering directory `out/gn'
[17/17] LIBTOOL-STATIC obj/third_party/libpng/libpng.a
FAILED: rm -f obj/third_party/libpng/libpng.a && ./gyp-mac-tool filter-libtool
libtool -static -o obj/third_party/libpng/libpng.a 
error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
no files specified
Usage:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
-static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
-dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o
output] [-install_name name] [-compatibility_version #] [-current_version #]
[-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#]
[-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>]
[-all_load] [-noall_load]
ninja: build stopped: subcommand failed.

Powered by Google App Engine
This is Rietveld 408576698