[Bug 226526] devel/chromium-gn: current_os should return "freebsd"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 17 05:07:41 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226526

Jan Beich <jbeich at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|Open                        |Closed

--- Comment #2 from Jan Beich <jbeich at FreeBSD.org> ---
(In reply to Carlos J. Puga Medina from comment #1)
Thanks. It now works with
https://firefox-source-docs.mozilla.org/build/buildsystem/gn.html

$ pkg install python27
$ hash git 2>/dev/null || pkg install mercurial
$ hg clone https://hg.mozilla.org/mozilla-unified firefox ||
  git clone https://github.com/mozilla/gecko-dev firefox
$ cd firefox
$ hg update central || git checkout origin/master
$ echo "export CC=clang80 CXX=clang++80 # whichever mesa installs" >>.mozconfig
$ echo "ac_add_options --disable-debug-symbols" >>.mozconfig
$ ./mach bootstrap # select Firefox for Desktop
$ ./mach build
$ ./mach run

$ pkg install chromium-gn
$ ./mach configure
$ ./mach build-backend -b GnConfigGen
 0:01.32 objdir/_virtualenvs/init/bin/python objdir/config.status --backend
GnConfigGen
Reticulating splines...
 0:00.76 File already read. Skipping: modules/brotli/moz.build
Running "/usr/local/bin/gn gen objdir/media/webrtc/trunk/webrtc/gn-output
--args=is_debug=false host_cpu="x64" target_os="freebsd" target_cpu="x64"
--ide=json"
Generating JSON projects took 24ms
Done. Made 205 targets from 80 files in 415ms
Wrote gn config to
objdir/media/webrtc/trunk/webrtc/gn-output/x64_False_x64_freebsd.json
 0:04.71 File already read. Skipping: gfx/angle/targets/angle_common/moz.build
Finished reading 2067 moz.build files in 8.07s
Read 64 gyp files in parallel contributing 12.87s to total wall time
Processed into 10473 build config descriptors in 7.83s
GnConfigGen backend executed in 0.80s
  1 total backend files; 1 created; 0 updated; 0 unchanged; 0 deleted
Total wall time: 30.95s; CPU time: 7.68s; Efficiency: 25%; Untracked: 14.25s
$ hg diff 2>/dev/null || git diff

*** This bug has been marked as a duplicate of bug 234773 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-chromium mailing list