Граф коммитов

83 Коммитов

Автор SHA1 Сообщение Дата
Tom Anderson 022392a68f Forbid building with libc++ and unbundled RE2
R=thakis

Change-Id: Ib58efc93477a2ba0d4b15a04376f46f80dc131f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1622946
Auto-Submit: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#661988}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 72e1784663b118aecfd160395300ee9ac0dfa33c
2019-05-22 00:09:52 +00:00
Raul Tambre 0fdfe6341a //build: Convert print statements to Python 3 style
Ran "2to3 -w -n -f print ./base" and manually added imports.
There are no intended behaviour changes.

Bug: 941669
Change-Id: Ie2830e213eae3a5d7753ce503020e02811b726d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1585890
Commit-Queue: Raul Tambre <raul@tambre.ee>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Auto-Submit: Raul Tambre <raul@tambre.ee>
Cr-Original-Commit-Position: refs/heads/master@{#658917}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9e24293bf2459779641201495baa3b2ae9d13cd9
2019-05-12 06:11:07 +00:00
Lei Zhang e7bce66f0c Remove third_party/mesa and references.
third_party/mesa/src is no longer checked out as of r582655.

BUG=873321

Change-Id: I6ee0dabd58b77a2c1995b7d42df4fb4df909884c
Reviewed-on: https://chromium-review.googlesource.com/1175403
Reviewed-by: Alexis Hétu <sugoi@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Peter Collingbourne <pcc@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#583326}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 86d8a53eb84f40018c35d064ec1b04908b5dde10
2018-08-15 18:10:21 +00:00
Evangelos Foutras 8aad68c914 unbundle/ffmpeg: revert rename to ffmpeg_buildflags
ffmpeg_features is the target used in src/media/ffmpeg and elsewhere.

The target appears to have been accidentally renamed in:

    https://chromium-review.googlesource.com/935296

Fixes the following dependency errors when configured with system ffmpeg:

    ERROR Unresolved dependencies.
    //chrome/services/media_gallery_util:lib
      needs //third_party/ffmpeg:ffmpeg_features
    //chrome/services/media_gallery_util/public/cpp:browser_tests
      needs //third_party/ffmpeg:ffmpeg_features
    //chrome/services/media_gallery_util/public/cpp:cpp
      needs //third_party/ffmpeg:ffmpeg_features
    //media/base:base
      needs //third_party/ffmpeg:ffmpeg_features
    //media/ffmpeg:ffmpeg
      needs //third_party/ffmpeg:ffmpeg_features
    //media/filters:filters
      needs //third_party/ffmpeg:ffmpeg_features

Change-Id: I2218c1dfb20de87958eeb8c23b18eebbea384c36
Reviewed-on: https://chromium-review.googlesource.com/1131941
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#573952}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 79122c39adda797207909687e09ec1c19e3c3cc7
2018-07-10 22:28:03 +00:00
Mike Gilbert 32f15b503b Improve unbundle file for libwebp
Use pkg-config to find libs.
Generate shim headers used by third_party/blink/renderer/platform/image-encoders/image_encoder.cc.

Change-Id: I24b259c6905ed2a44b749bbdf00cbad206fa7c89
Reviewed-on: https://chromium-review.googlesource.com/1094330
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#565905}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a2845858c9aae49ad6d7841a9d095c8af242be14
2018-06-10 04:30:11 +00:00
Evangelos Foutras c1eaca3570 Fix crash in is_cfi=true builds with unbundled ICU
Ensure ICU symbols have public visibility and are thus excluded from CFI
checks and whole-program optimization. The former caused a startup crash
and the latter has the potential to break virtual calls in weird ways.

BUG=822820

Change-Id: Ia809eefcb9e93b3c612f2381d394db83bbc67120
Reviewed-on: https://chromium-review.googlesource.com/978008
Reviewed-by: Peter Collingbourne <pcc@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#545638}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f15e8b573ada0fcd643ae393484214b1c7c940f8
2018-03-24 00:04:33 +00:00
Tom Anderson 06d4180851 Fix and simplify libjpeg unbundle
third_party/BUILD.gn defines two variables: use_system_libjpeg and
use_libjpeg_turbo.  If use_system_libjpeg is true, then use_libjpeg_turbo is
ignored.  These variables really have a combined 3 states:

* use_system_libjpeg=true: Use the system libjpeg, which might be the turbo or
  regular version of libjpeg, depending on what the user has installed.
* use_system_libjpeg=false,use_libjpeg_turbo=true: Use
  third_party/libjpeg_turbo.
* use_system_libjpeg=false,use_libjpeg_turbo=false: Use third_party/libjpeg.

The current unbundle assumes use_system_libjpeg=false and use_libjpeg_turbo=true
(the defaults) and then rewrites the build file of libjpeg_turbo to use the
system library.  This CL changes the unbundle to be more direct: simply set
use_system_libjpeg=true.  The libjpeg unbundle was broken and
use_system_libjpeg=true was required anyway.

BUG=800977
R=thestig,dpranke
TBR=thakis

Change-Id: I080ab62592007876b3a2e3838cc1a893a383f838
Reviewed-on: https://chromium-review.googlesource.com/974136
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#545271}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f3d30e9d19c1a2b3a69217e5e47d1faf019de223
2018-03-22 22:30:59 +00:00
Scott Violet b1d6c28b4a reland: Rename buildflag_headers for consistency
This renames targets in chrome, chromecast and chromeos.

Targets go from foo_features to foo_buildflags
And similarly the header now has buildflags in the name.

BUG=814485
TEST=covered by build
TBR=thakis@chromium.org,dcheng@chromium.org

Change-Id: I35f82bb244d2f8bd745d3157f266bae99f21f888
Reviewed-on: https://chromium-review.googlesource.com/935296
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#538905}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6200d332518cd781f87ab86554bc71ff7a01ec4e
2018-02-23 21:29:23 +00:00
Ian Clelland bebeef8cc0 Revert "Rename buildflag_headers for consistency"
This reverts commit 62f6388754e2d36ea003119b0a7f2533c3f62bc1.

Reason for revert: Breaks Linux x64 build

See https://ci.chromium.org/buildbot/chromium/Linux%20x64/59320


Original change's description:
> Rename buildflag_headers for consistency
> 
> This renames targets in chrome, chromecast and chromeos.
> 
> Targets go from foo_features to foo_buildflags
> And similarly the header now has buildflags in the name.
> 
> BUG=814485
> TEST=covered by build
> TBR=dcheng@chromium.org
> 
> Cq-Include-Trybots: master.tryserver.chromium.mac:mac_chromium_10.10_macviews
> Change-Id: I9e93ff7bfd088b93678ce4a2814a1dbf6e36f091
> Reviewed-on: https://chromium-review.googlesource.com/932544
> Reviewed-by: Daniel Cheng <dcheng@chromium.org>
> Reviewed-by: Nico Weber <thakis@chromium.org>
> Commit-Queue: Scott Violet <sky@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#538856}

TBR=sky@chromium.org,dcheng@chromium.org,thakis@chromium.org

Change-Id: Ie087d5e711feb3d2ac127b78f0c019ae18bcdaed
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 814485
Cq-Include-Trybots: master.tryserver.chromium.mac:mac_chromium_10.10_macviews
Reviewed-on: https://chromium-review.googlesource.com/935361
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#538865}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9c8fb6d024c5e6f1f0c8aa259a24f7a411da2837
2018-02-23 19:46:21 +00:00
Scott Violet d308be0a84 Rename buildflag_headers for consistency
This renames targets in chrome, chromecast and chromeos.

Targets go from foo_features to foo_buildflags
And similarly the header now has buildflags in the name.

BUG=814485
TEST=covered by build
TBR=dcheng@chromium.org

Cq-Include-Trybots: master.tryserver.chromium.mac:mac_chromium_10.10_macviews
Change-Id: I9e93ff7bfd088b93678ce4a2814a1dbf6e36f091
Reviewed-on: https://chromium-review.googlesource.com/932544
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#538856}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 62f6388754e2d36ea003119b0a7f2533c3f62bc1
2018-02-23 19:25:17 +00:00
Tom Anderson 3e3eeac75e Fix libwebp unbundle
BUG=805488
R=thestig

Change-Id: I577bf4f5682cffced4f7424768545cc467ad6416
Reviewed-on: https://chromium-review.googlesource.com/884942
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531753}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6ff7ecf6cd6a9154fad981e083fac96813be5b39
2018-01-25 00:08:13 +00:00
Tom Anderson 3ee4b6ff25 Reland "Statically link fontconfig on Linux"
This reverts commit 5a8428d621c9e9c8f5bcfa9ca97ae66002207d8c

Reason for revert: See comment https://bugs.chromium.org/p/chromium/issues/detail?id=796292#c28

> This reverts commit 4f1a60552748d150783655ee6f7b6f7084e3af95.
>
> Reason for revert: This CL caused time outs in browser tests - see https://crbug.com/796292
>
> Original change's description:
> > Statically link fontconfig on Linux
> >
> > This CL switches Linux to use in-tree fontconfig builds.  It exposes some leaks
> > and races detected by LSAN and TSAN.  For now, these will be suppressed since
> > these issues were preexisting, but instrumenting fontconfig exposed the issues.
> >
> > R=​dnicoara@chromium.org,dpranke@chromium.org
> > BUG=795110,795148
> >
> > Change-Id: Ia75db4ced6ec78a5f0610af9ebc78a87840b86f7
> > Reviewed-on: https://chromium-review.googlesource.com/826403
> > Commit-Queue: Daniel Nicoara <dnicoara@chromium.org>
> > Reviewed-by: Daniel Nicoara <dnicoara@chromium.org>
> > Reviewed-by: Dirk Pranke <dpranke@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#524389}
>
> TBR=dpranke@chromium.org,dnicoara@chromium.org,thomasanderson@chromium.org
>
> # Not skipping CQ checks because original CL landed > 1 day ago.
>
> Bug: 795110, 795148
> Change-Id: Id224fdcbfb0ca3373f6219b66252a8970072675b
> Reviewed-on: https://chromium-review.googlesource.com/834869
> Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
> Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org>
> Reviewed-by: Dirk Pranke <dpranke@chromium.org>
> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#525173}

R=dpranke@chromium.org
TBR=dnicoara@chromium.org
BUG=795110,795148,796292

Change-Id: I47a2225cb9cc255721b521cbb790d9eb70e0b3b9
Reviewed-on: https://chromium-review.googlesource.com/841627
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#525945}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 65f919d2d86e54c851b0327740a330d152b07ed5
2017-12-22 06:20:09 +00:00
Tom Anderson e0e8068517 Fix harfbuzz unbundle
This CL changes the harfbuzz unbundle to set use_system_harfbuzz=true.  Since
this build flag exists, it's easier to toggle it than to rewrite
third_party/harfbuzz-ng/BUILD.gn entirely.

R=thestig@chromium.org
BUG=768938

Change-Id: I510994b1d78dc3fe4866ff341018b458ab24e78b
Reviewed-on: https://chromium-review.googlesource.com/840621
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#525909}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b5d4c386b9969cff0a8c5c33d51c9ac7112e1b08
2017-12-22 02:40:20 +00:00
Lukasz Anforowicz a846bebd3d Revert "Statically link fontconfig on Linux"
This reverts commit 4f1a60552748d150783655ee6f7b6f7084e3af95.

Reason for revert: This CL caused time outs in browser tests - see https://crbug.com/796292

Original change's description:
> Statically link fontconfig on Linux
> 
> This CL switches Linux to use in-tree fontconfig builds.  It exposes some leaks
> and races detected by LSAN and TSAN.  For now, these will be suppressed since
> these issues were preexisting, but instrumenting fontconfig exposed the issues.
> 
> R=​dnicoara@chromium.org,dpranke@chromium.org
> BUG=795110,795148
> 
> Change-Id: Ia75db4ced6ec78a5f0610af9ebc78a87840b86f7
> Reviewed-on: https://chromium-review.googlesource.com/826403
> Commit-Queue: Daniel Nicoara <dnicoara@chromium.org>
> Reviewed-by: Daniel Nicoara <dnicoara@chromium.org>
> Reviewed-by: Dirk Pranke <dpranke@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#524389}

TBR=dpranke@chromium.org,dnicoara@chromium.org,thomasanderson@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 795110, 795148
Change-Id: Id224fdcbfb0ca3373f6219b66252a8970072675b
Reviewed-on: https://chromium-review.googlesource.com/834869
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#525173}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5a8428d621c9e9c8f5bcfa9ca97ae66002207d8c
2017-12-19 23:05:34 +00:00
Tom Anderson 381791448b Fix freetype unbundle
The freetype unbundle build file is out-of-date, and trying to use it
will result in errors like this:

ERROR Unresolved dependencies.
//third_party:freetype_harfbuzz(//build/toolchain/linux/unbundle:default)
  needs //third_party/freetype:freetype_source(//build/toolchain/linux/unbundle:default)

This CL changes the unbundled build file to simply toggle the
use_system_freetype flag.

R=thestig@chromium.org
CC=phajdan.jr@chromium.org

Change-Id: If38ccc51098857cd479707879562b23f8f32e85f
Reviewed-on: https://chromium-review.googlesource.com/830974
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524535}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a7b961302726f6accc1d70682017b6c36127ae7a
2017-12-16 00:19:13 +00:00
Tom Anderson bb86bde677 Statically link fontconfig on Linux
This CL switches Linux to use in-tree fontconfig builds.  It exposes some leaks
and races detected by LSAN and TSAN.  For now, these will be suppressed since
these issues were preexisting, but instrumenting fontconfig exposed the issues.

R=dnicoara@chromium.org,dpranke@chromium.org
BUG=795110,795148

Change-Id: Ia75db4ced6ec78a5f0610af9ebc78a87840b86f7
Reviewed-on: https://chromium-review.googlesource.com/826403
Commit-Queue: Daniel Nicoara <dnicoara@chromium.org>
Reviewed-by: Daniel Nicoara <dnicoara@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524389}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4f1a60552748d150783655ee6f7b6f7084e3af95
2017-12-15 15:53:31 +00:00
Paweł Hajdan, Jr b053cf2e15 Fix build with system icu
See https://bugs.gentoo.org/627382 .

Bug: none
Change-Id: I583efa731ce218f6a74671b3521a4b3ab90b39dc
Reviewed-on: https://chromium-review.googlesource.com/632679
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#497538}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 92e814200df7f11da89e9160942554ef548a8b34
2017-08-25 21:21:48 +00:00
floppymaster f84fe31d2f ICU unbundling fixes
Update instructions to generate ICU header lists
Update header list for unbundling ICU 59

Bug: https://bugs.gentoo.org/619796#c2
Review-Url: https://codereview.chromium.org/2935603002
Cr-Original-Commit-Position: refs/heads/master@{#478662}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1394c5c05f173523fa6958ef15f398152cf645b5
2017-06-12 16:44:54 +00:00
phajdan.jr 379387a0a3 Use ffmpeg_features buildflags
Depends on https://chromium-review.googlesource.com/c/515103/

Also clean up older instances of system-ffmpeg-related #ifdefs
(e.g. from https://codereview.chromium.org/13991013).
We should probably use buildflags in the future, and keep in mind
to limit system-ffmpeg-related flags.

BUG=none

Review-Url: https://codereview.chromium.org/2903143003
Cr-Original-Commit-Position: refs/heads/master@{#474857}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c5989b12b1bf78c6a04303e86c498a4ae9460a81
2017-05-26 01:00:26 +00:00
Paweł Hajdan, Jr 3ac4afd2f8 Fix build with system harfbuzz
This updates the unbundle file to get back in sync with mainline.

This is similar to recently landed https://codereview.chromium.org/2808383006
and https://codereview.chromium.org/2888783003 .

This does not affect any build at Google. build/linux/unbundle
is a completely parallel directory tree intended to be used
by Linux distribution packagers. Please see
https://cs.chromium.org/chromium/src/build/linux/unbundle/README
for more context.

BUG=none
R=thestig@chromium.org

Review-Url: https://codereview.chromium.org/2905843002 .
Cr-Original-Commit-Position: refs/heads/master@{#474730}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: db97ed5e204be540ce90807b526324fd8ae4531a
2017-05-25 18:53:54 +00:00
Pawel Hajdan, Jr a4d39a9404 Unbundle openh264
This CL makes it easier for Linux distribution packagers to use system
openh264 library, by providing a drop-in replacement GN file.

build/linux/unbundle is a separate directory tree, so that regular
Chromium developers don't need to worry about this configuration.

Please see https://cs.chromium.org/chromium/src/build/linux/unbundle/README?dr
for more context.

BUG=551343
R=jochen@chromium.org, thestig@chromium.org

Review-Url: https://codereview.chromium.org/2888363003 .
Cr-Original-Commit-Position: refs/heads/master@{#473559}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 72539cb9c4fe3b6e21f1942917da60223047319d
2017-05-22 12:52:46 +00:00
Pawel Hajdan, Jr d1c7cad394 Fix build with system libwebp
This adds webpmux to linked libraries to fix the following compile error:

python "../../build/toolchain/gcc_link_wrapper.py" --output="./font_service.service" -- x86_64-pc-linux-gnu-g++ -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-needed -m64 -pthread -Wl,-O1 -Wl,--gc-sections -Wl,-rpath-link=. -Wl,--disable-new-dtags -Wl,--export-dynamic -Wl,-O1 -Wl,--as-needed -o "./font_service.service" -Wl,--start-group @"./font_service.service.rsp"  -Wl,--end-group   -ldl -lrt -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -licui18n -licuuc -licudata -latomic -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpng16 -lpangocairo-1.0 -lpango-1.0 -lcairo -lfontconfig -lexpat -lz -ljpeg -lwebp -lwebpdemux -lgio-2.0
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libfreetype.so.6, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../lib64/libfontconfig.so, may conflict with libfreetype.so.6
obj/skia/libskia.a(SkWebpEncoder.o): In function `do_encode(SkWStream*, SkPixmap const&, SkWebpEncoder::Options const&)':
SkWebpEncoder.cpp:(.text._ZL9do_encodeP9SkWStreamRK8SkPixmapRKN13SkWebpEncoder7OptionsE+0x46c): undefined reference to `WebPNewInternal'
SkWebpEncoder.cpp:(.text._ZL9do_encodeP9SkWStreamRK8SkPixmapRKN13SkWebpEncoder7OptionsE+0x47e): undefined reference to `WebPMuxSetImage'
SkWebpEncoder.cpp:(.text._ZL9do_encodeP9SkWStreamRK8SkPixmapRKN13SkWebpEncoder7OptionsE+0x494): undefined reference to `WebPMuxDelete'
SkWebpEncoder.cpp:(.text._ZL9do_encodeP9SkWStreamRK8SkPixmapRKN13SkWebpEncoder7OptionsE+0x68e): undefined reference to `WebPMuxSetChunk'
SkWebpEncoder.cpp:(.text._ZL9do_encodeP9SkWStreamRK8SkPixmapRKN13SkWebpEncoder7OptionsE+0x6aa): undefined reference to `WebPMuxAssemble'
SkWebpEncoder.cpp:(.text._ZL9do_encodeP9SkWStreamRK8SkPixmapRKN13SkWebpEncoder7OptionsE+0x6f4): undefined reference to `WebPMuxDelete'
collect2: error: ld returned 1 exit status

This does not affect any build at Google. build/linux/unbundle
is a completely parallel directory tree intended to be used
by Linux distribution packagers. Please see
https://cs.chromium.org/chromium/src/build/linux/unbundle/README
for more context.

BUG=none
R=thestig@chromium.org

Review-Url: https://codereview.chromium.org/2885113003 .
Cr-Original-Commit-Position: refs/heads/master@{#472532}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a9c4826790de16b317538db629b44069fa77ddc4
2017-05-17 19:31:41 +00:00
Pawel Hajdan, Jr 426f6f9559 Fix build with system libpng
This updates the unbundle file to get back in sync with mainline,
so that targets that depend on libpng_config continue to work.

This is similar to recently landed https://codereview.chromium.org/2808383006 .

This does not affect any build at Google. build/linux/unbundle
is a completely parallel directory tree intended to be used
by Linux distribution packagers. Please see
https://cs.chromium.org/chromium/src/build/linux/unbundle/README
for more context.

BUG=none
R=thestig@chromium.org

Review-Url: https://codereview.chromium.org/2888783003 .
Cr-Original-Commit-Position: refs/heads/master@{#472530}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fe19263cfa7e714a402a3ed9ed59d304a3da8162
2017-05-17 19:27:53 +00:00
Pawel Hajdan, Jr a6d04bf625 Unbundle freetype
This CL makes it easier for Linux distribution packagers to use system
freetype library, by providing a drop-in replacement GN file.

build/linux/unbundle is a separate directory tree, so that regular
Chromium developers don't need to worry about this configuration.

Please see https://cs.chromium.org/chromium/src/build/linux/unbundle/README?dr
for more context.

BUG=551343
R=thestig@chromium.org

Review-Url: https://codereview.chromium.org/2889593004 .
Cr-Original-Commit-Position: refs/heads/master@{#472528}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aac85c0cf8dd4ae61c5a946167ef59d3aae635cc
2017-05-17 19:25:36 +00:00
Pawel Hajdan, Jr 4413b21522 Fix build with system opus
This changes GN config/target names to match what other GN
files (e.g. for media_unittests) expect.

BUG=none
R=thestig@chromium.org

Review-Url: https://codereview.chromium.org/2880333002 .
Cr-Original-Commit-Position: refs/heads/master@{#471874}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e4a5df4eea186e4d11e4cd28393db1b44458640d
2017-05-15 19:58:25 +00:00
Pawel Hajdan, Jr 25bc371334 Unbundle opus
This CL makes it easier for Linux distribution packagers to use system
opus codec library, by providing a drop-in replacement GN file.

build/linux/unbundle is a separate directory tree, so that regular
Chromium developers don't need to worry about this configuration.

Please see https://cs.chromium.org/chromium/src/build/linux/unbundle/README?dr
for more context.

BUG=551343
R=thestig@chromium.org

Review-Url: https://codereview.chromium.org/2838423002 .
Cr-Original-Commit-Position: refs/heads/master@{#467451}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5e44d52a673058600ca83f0163cded8405c5a8bd
2017-04-26 20:57:44 +00:00
Pawel Hajdan, Jr 2273a5bbb6 Fix build with system libjpeg
This updates the unbundle file to get back in sync with mainline,
so that targets that depend on libjpeg_config continue to work.

This does not affect any build at Google. build/linux/unbundle
is a completely parallel directory tree intended to be used
by Linux distribution packagers. Please see
https://cs.chromium.org/chromium/src/build/linux/unbundle/README
for more context.

BUG=none
R=thestig@chromium.org

Review-Url: https://codereview.chromium.org/2808383006 .
Cr-Original-Commit-Position: refs/heads/master@{#464152}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c8dd8f2427404cbc64f103733124c6c4e0f51621
2017-04-12 21:09:59 +00:00
Pawel Hajdan, Jr 03cb0b45c6 build/linux/unbundle: make ffmpeg.gn define USE_SYSTEM_FFMPEG
This will make it possible for distro-specific patch to be applied
unconditionally.

This does not affect any build at Google. build/linux/unbundle
is a completely parallel directory tree intended to be used
by Linux distribution packagers. Please see
https://cs.chromium.org/chromium/src/build/linux/unbundle/README
for more context.

BUG=none
R=thestig@chromium.org

Review-Url: https://codereview.chromium.org/2811423002 .
Cr-Original-Commit-Position: refs/heads/master@{#464151}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 038501c2703a4439409cd0d7c002b303ffc6377f
2017-04-12 21:06:11 +00:00
thestig 778b337ee7 Update build/linux/unbundle/README
- Better explain what this component does.
- Add a detailed description for replace_gn_files.py.
- Format text to fit in 72 columns.
- Mention GN build files.

Review-Url: https://codereview.chromium.org/2783293002
Cr-Original-Commit-Position: refs/heads/master@{#461186}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5864d312aa006009fb4734c59320f04f2d6dceb2
2017-03-31 19:44:05 +00:00
Pawel Hajdan, Jr 850c04f334 Unbundle libdrm
BUG=551343
R=thestig@chromium.org

Review-Url: https://codereview.chromium.org/2782923002 .
Cr-Original-Commit-Position: refs/heads/master@{#460751}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9a50f192a882b65f021c0c13345762c3a4d7a499
2017-03-30 14:31:51 +00:00
Pawel Hajdan, Jr 3f47a5e106 Fix startup with system ICU
We need to configure code to use built-in data from system library,
not a separate file shipped with Chrome.

BUG=551343
R=dpranke@chromium.org

Review URL: https://codereview.chromium.org/2339173005 .

Cr-Original-Commit-Position: refs/heads/master@{#418989}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1fe2d072ef7d2294a911bb4ad0b33b8a4b7c4027
2016-09-15 21:45:46 +00:00
Pawel Hajdan, Jr 84d711817f unbundle: remove obsolete GYP script
BUG=none
R=dpranke@chromium.org

Review URL: https://codereview.chromium.org/2343883002 .

Cr-Original-Commit-Position: refs/heads/master@{#418987}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 25ed9c0bb08abecc3b709eccaf01daf825f29681
2016-09-15 21:39:25 +00:00
brettw ffe5408f3a Remove GYP files in breakpad, build, and tools.
These are now unused.

Review-Url: https://codereview.chromium.org/2331893004
Cr-Original-Commit-Position: refs/heads/master@{#418010}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8c0eb8ed764590108f0278e5bbbddec3fc14b522
2016-09-12 19:55:25 +00:00
phajdan.jr 612b7d56c5 Fix build with system ICU
BUG=551343

Review-Url: https://codereview.chromium.org/2282403003
Cr-Original-Commit-Position: refs/heads/master@{#415252}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 860564e6051956a73b673d4adae2c4a0df0b175b
2016-08-30 09:14:57 +00:00
Pawel Hajdan, Jr 6239c934ac unbundle: add GN file for libjpeg
BUG=551343
R=dpranke@chromium.org

Review URL: https://codereview.chromium.org/2263983002 .

Cr-Original-Commit-Position: refs/heads/master@{#413502}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fdcbfca3e32da8cc868a30ee8f0f2300a4852ebd
2016-08-22 19:14:24 +00:00
Paweł Hajdan, Jr de71a8b7f2 unbundle: fix build with system zlib
BUG=551343
R=jochen@chromium.org

Review URL: https://codereview.chromium.org/2125043002 .

Cr-Original-Commit-Position: refs/heads/master@{#404122}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d0a0a04ffe6776528c8669bd4bc3f04ca6cf41b9
2016-07-07 10:54:26 +00:00
Pawel Hajdan, Jr 039bc276a3 unbundle: add GN files for libpng, libvpx, and re2
BUG=551343
R=jochen@chromium.org

Review URL: https://codereview.chromium.org/2122713002 .

Cr-Original-Commit-Position: refs/heads/master@{#403785}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f499ac9faf8d6919045f8e6c2c46b2e9d452f714
2016-07-05 16:01:52 +00:00
brucedawson 80847e41e5 Shrink chrome_elf.dll by switching source_sets to static_library
Investigation of why official chrome_elf.dll builds were 86,016 bytes
larger on gn than gyp showed that encryption functions such as
aesni_cbc_encrypt were being pulled in. Deleting the implementations
of these functions from the .asm file caused no errors which proved that
the functions weren't being referenced, they just weren't being
discarded. Changing the yasm_assemble template to use static_library
fixed that and made the file sizes identical.

Comparison of the dia2dump -p output after that change showed there were
still two extra symbols in the gn builds:
  class breakpad::CrashKeysWin * breakpad::CrashKeysWin::keeper_
  __aullrem(__aullrem)

keeper_ is a global variable - those are harder to discard, even with
/Gw - but making its source file part of a static_library fixed it.

link /verbose showed that __aullrem is pulled in by an object file that
is then discarded but I decided that following that trail wasn't worth
it. The file sizes are identical and dumpbin /headers shows that the
.text sections virtual size is just 96 bytes larger in the gn case.

Additional changes of source set to static_library may address the
remaining diffs, but they are not large enough to matter.

TL;DR The linker tries to discard unreferenced symbols but it is not
perfect at doing it, even with /Gw and /Gy. Assembly functions may be
difficult also. Use source_set with care.

BUG=624274

Review-Url: https://codereview.chromium.org/2114783002
Cr-Original-Commit-Position: refs/heads/master@{#403480}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0ab90cb1edf8f08f1fa5d2551aa21cac225163cf
2016-07-01 17:57:31 +00:00
brettw c2772f7ffa Fix some TODOs in the yasm build.
The TODO about a system yasm is not longer necessary. We don't need to support this for Chrome developers. For Linux distros, Pawel has added an overlay to change the behavior.

The TODO about the output names is out-of-date. The new output location matches the names generated by the C compiler in the Chrome build.

Review-Url: https://codereview.chromium.org/1972173003
Cr-Original-Commit-Position: refs/heads/master@{#393544}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 09869628d781a977987b65906856bd259e40dd9e
2016-05-13 16:34:36 +00:00
Pawel Hajdan, Jr e02f33be24 unbundle: add GN files for ffmpeg, libevent, libxslt, snappy, and yasm
BUG=551343
R=brettw@chromium.org, dpranke@chromium.org

Review URL: https://codereview.chromium.org/1969543004 .

Cr-Original-Commit-Position: refs/heads/master@{#393207}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 309f027eb2f538f349876aefb4b9d3311dd1199e
2016-05-12 08:21:36 +00:00
phajdan.jr 590078caaf unbundle: add GN files for flac, harfbuzz-ng, and libwebp
BUG=551343

Review-Url: https://codereview.chromium.org/1964003002
Cr-Original-Commit-Position: refs/heads/master@{#392879}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9feb890d9d9d48beac0f0fd88c3eed18ebe56e6d
2016-05-11 08:36:07 +00:00
machenbach 28e8fda874 [build] Switch to moved v8.gyp
BUG=474921,606547
TBR=torne@chromium.org,alokp@chromium.org,jamescook@chromium.org,amistry@chromium.org,davidben@chromium.org

Review URL: https://codereview.chromium.org/1923453003

Cr-Original-Commit-Position: refs/heads/master@{#389760}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 60b9aa2bbf35e9855499d9aec11cbbab43387044
2016-04-26 12:54:22 +00:00
Pawel Hajdan, Jr 93330836df unbundle: provide shim headers for system ffmpeg
See https://bugs.gentoo.org/show_bug.cgi?id=576372 for context.

BUG=none
R=dpranke@chromium.org

Review URL: https://codereview.chromium.org/1894443003 .

Cr-Original-Commit-Position: refs/heads/master@{#387889}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 02da2209c641216ee7ff17ca570870ecc6d2f97c
2016-04-18 11:22:31 +00:00
Pawel Hajdan, Jr f5fe8c0e3d unbundle: add shim_headers.gni and unbundled GN file for zlib
BUG=551343
R=brettw@chromium.org, dpranke@chromium.org

Review URL: https://codereview.chromium.org/1881263003 .

Cr-Original-Commit-Position: refs/heads/master@{#387558}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8c08dc447bb30eef98be3ff6d66205df611ddb9d
2016-04-15 08:03:33 +00:00
Pawel Hajdan, Jr 68328cb486 unbundle: add replace_gn_files.py and unbundled GN file for libxml
BUG=551343
R=dpranke@chromium.org, thestig@chromium.org

Review URL: https://codereview.chromium.org/1856753003 .

Cr-Original-Commit-Position: refs/heads/master@{#385414}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9fc3d746041ab3371f17b5b57e3b7dfc3b6888d7
2016-04-06 09:17:56 +00:00
johannkoenig a395077613 Move libvpx_new to libvpx
The move to libvpx_new happened before M47 (landed in 2524, M47 branch was 2526):
crbug.com/481034
https://codereview.chromium.org/1323333002

Clients which try to transition directly between the tree after this change and before the previous move will end up in a very broken state.

Now it is 6 months later and M48 is stable so is unlikely that a client would check out the old code at all, much less try to transition directly between the two versions.

Leave a compatibility layer for targets which need to be updated out of band (webrtc, libyuv)

Review URL: https://codereview.chromium.org/1734613003

Cr-Original-Commit-Position: refs/heads/master@{#378739}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8cdf034791388299f18fba186f2941313320b706
2016-03-02 13:55:33 +00:00
tfarina c259f359fb move libevent into base
This simplifies the process of bootstrapping gn standalone.

And libevent is not really used outside of base. base is actually its only client.

BUG=569352
TEST=See CL for details for how to reproduce this.
R=thestig@chromium.org
TBR=cpu@chromium.org

Review URL: https://codereview.chromium.org/1531573008

Cr-Original-Commit-Position: refs/heads/master@{#366282}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c7ebe6daa79da2e351345065020cc7f216126f15
2015-12-19 13:56:35 +00:00
thestig 65a5806220 Fix Linux unbundled zlib.gyp's duplicate target.
The target already exists in third_party/zlib/google/zip.gyp.

Also:
- Remove stale reference to use_system_zlib
- Fix build warnings in spdy_framer.cc.

TBR=bnc@chromium.org

Review URL: https://codereview.chromium.org/1414393011

Cr-Original-Commit-Position: refs/heads/master@{#363834}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 94a6d7f376c8e51586e8273577bb018ecdc6f1df
2015-12-08 23:32:48 +00:00
Paweł Hajdan, Jr eeaf762c75 remove_bundled_libraries.py: preserve .gn and .gni files
BUG=551343
R=tandrii@chromium.org

Review URL: https://codereview.chromium.org/1419843007 .

Cr-Original-Commit-Position: refs/heads/master@{#358320}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 434a92f92ccd6393cafd90b6547a9ece2582b0d3
2015-11-06 14:37:07 +00:00
johannkoenig 01805f8cde Copy libvpx from DEPS to src
Leaves the previous version in place but updates BUILD.gn and libvpx.gn to point to the new version. This allows decoupling the WebRTC update which is also in DEPS.

libvpx DEPS changes ac1772e:0d6551
https://codereview.chromium.org/1339033002
https://chromium-review.googlesource.com/299759
https://codereview.chromium.org/1350853003
https://codereview.chromium.org/1353433003

Copy directory to libvpx_new to avoid breaking bisecting. This allows the user to move between and older and newer revision. A followup to rename libvpx_new to libvpx will come in some ~months because there are additional complications if one tries to sync directly from pre-move to post-rename or the other way around.

Remove WATCHLISTS and codereview.settings from _new and use the parent versions.

Add DEPS file to enumerate the #include paths.

Check out third_party/libvpx_new/source/libvpx directly from upstream project

Update all the easy clients of libvpx to depend on the new tree directly.

ac1772e3db

BUG=481034
R=tomfinegan@chromium.org,brettw@chromium.org,phajdan.jr@chromium.org

Review URL: https://codereview.chromium.org/1323333002

Cr-Original-Commit-Position: refs/heads/master@{#349789}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5238138a422157576799266228c0c9ee174936ae
2015-09-18 22:35:55 +00:00