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

Issue 2720863003: Make --headless flag work on Mac (Closed)

Created:
3 years, 9 months ago by dvallet
Modified:
3 years, 9 months ago
Reviewers:
Sami, sky
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make --headless flag work on Mac BUG=687407 Review-Url: https://codereview.chromium.org/2720863003 Cr-Commit-Position: refs/heads/master@{#453778} Committed: https://chromium.googlesource.com/chromium/src/+/664dcbac5d9fac9223b5e273e30ee094d91489b3

Patch Set 1 #

Total comments: 4

Patch Set 2 : nit headless_shell_lib dependency #

Patch Set 3 : revert fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -3 lines) Patch
M chrome/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/chrome_main.cc View 1 2 chunks +11 lines, -3 lines 0 comments Download
M headless/lib/browser/headless_content_browser_client.cc View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
dvallet
skyostil@chromium.org: Please review changes in headless/ sky@chromium.org: Please review changes in chrome/
3 years, 9 months ago (2017-02-28 02:08:36 UTC) #6
sky
LGTM with minor changes below. https://codereview.chromium.org/2720863003/diff/1/chrome/BUILD.gn File chrome/BUILD.gn (right): https://codereview.chromium.org/2720863003/diff/1/chrome/BUILD.gn#newcode985 chrome/BUILD.gn:985: # For headless mode. ...
3 years, 9 months ago (2017-02-28 04:10:27 UTC) #7
dvallet
Thanks for the review! https://codereview.chromium.org/2720863003/diff/1/chrome/BUILD.gn File chrome/BUILD.gn (right): https://codereview.chromium.org/2720863003/diff/1/chrome/BUILD.gn#newcode985 chrome/BUILD.gn:985: # For headless mode. On ...
3 years, 9 months ago (2017-02-28 04:55:55 UTC) #8
Sami
lgtm, thanks! nit: one 's' missing from patch description.
3 years, 9 months ago (2017-02-28 16:09:25 UTC) #9
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/2720863003/20001
3 years, 9 months ago (2017-02-28 22:26:50 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/219607)
3 years, 9 months ago (2017-02-28 23:04:01 UTC) #15
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/2720863003/20001
3 years, 9 months ago (2017-02-28 23:08:00 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/664dcbac5d9fac9223b5e273e30ee094d91489b3
3 years, 9 months ago (2017-03-01 00:48:02 UTC) #20
dvallet
3 years, 9 months ago (2017-03-01 01:56:23 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2727503002/ by dvallet@chromium.org.

The reason for reverting is: This CL is braking Mac buildbot, when trying to
build headless_example and headless_shell with component build set to false.
With the following error: 
AILED: headless_example headless_example.unstripped 
export DEVELOPER_DIR=/b/c/b/mac/src/build/mac_files/Xcode.app; 
TOOL_VERSION=1487140455 ../../build/toolchain/mac/linker_driver.py
../../third_party/llvm-build/Release+Asserts/bin/clang++  -stdlib=libc++ -arch
x86_64 -Wcrl,unstripped,/b/c/b/mac/src/out/Release -Werror -Wl,-dead_strip
-isysroot
/b/c/b/mac/src/build/mac_files/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
-mmacosx-version-min=10.9 -Wl,-ObjC -Wl,-pie -Wcrl,strip,-x,-S
-L../../build/mac_files/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib
-o "./headless_example" -Wl,-filelist,"./headless_example.rsp"  -lbsm -framework
Cocoa -framework Foundation -framework IOKit -framework Security -framework
SystemConfiguration -framework ApplicationServices -framework AppKit -framework
CoreFoundation -framework CoreGraphics -framework CoreText -framework CFNetwork
-framework CoreServices -lresolv -framework IOBluetooth -framework Accelerate
-framework AudioUnit -framework Carbon -framework CoreVideo -framework IOSurface
-framework OpenGL -framework Quartz -framework QuartzCore -framework
AVFoundation -framework CoreMedia -framework AudioToolbox -framework CoreAudio
-framework VideoToolbox -framework DiskArbitration -framework CoreMIDI -lsandbox
-framework GameController -framework CoreWLAN -lcups
Undefined symbols for architecture x86_64:
  "content::PpapiPluginMain(content::MainFunctionParams const&)", referenced
from:
      content::RunNamedProcessTypeMain(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&,
content::MainFunctionParams const&,
content::ContentMainDelegate*)::kMainFunctions in content_main_runner.o
  "content::PpapiBrokerMain(content::MainFunctionParams const&)", referenced
from:
      content::RunNamedProcessTypeMain(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&,
content::MainFunctionParams const&,
content::ContentMainDelegate*)::kMainFunctions in content_main_runner.o
ld: symbol(s) not found for architecture x86_64.

Powered by Google App Engine
This is Rietveld 408576698