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

342 Коммитов

Автор SHA1 Сообщение Дата
forney c2d01052b5 ozone/platform/wayland: Implement SurfaceOzoneEGL
BUG=578890

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

Cr-Original-Commit-Position: refs/heads/master@{#386765}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bc96672e1982f3a86e4058a2f3f8609b9bc592c8
2016-04-12 19:40:49 +00:00
dpranke 5b22c798b6 Rework how use_system_harfbuzz works a bit.
We want 'use_system_harfbuzz' to always be false unless you are
building against a real ChromeOS sysroot targeted for an actual
device (i.e., just building with chromeos=1 isn't good enough).

This CL changes the defaults for the variables and fixes a few
unnecessary dependencies in the pangocairo pkg-config settings
in GYP that were causing us to get strange linker errors.

With this change, CrOS builds will need to explicitly set
use_system_harfbuzz=true, we will no longer try to guess
whether to use it or not.

R=drott@chromium.org, behdad@chromium.org
BUG=589342

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

Cr-Original-Commit-Position: refs/heads/master@{#385487}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 518b35929ff33d0dc2397a186eecbc3b536acb40
2016-04-06 17:06:34 +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
tommycli b1ea05e4e6 Reland: Media Galleries Partial Deprecation: Remove image metadata & libexif.
This relands https://codereview.chromium.org/1773233002/.

Original description:

Media Galleries Partial Deprecation: Remove image metadata & libexif.

Removing libexif is a great thing.

It will remove a ~200KB DLL from Windows, Mac, and ChromeOS. It will remove bugs and security issues.

BUG=542912,577272
TBR=

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

Cr-Original-Commit-Position: refs/heads/master@{#381121}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cd96b6f874573d7089bf2eb9d54ed53d7469bb56
2016-03-14 23:58:38 +00:00
erikchen 8c7bcc1246 Revert of Media Galleries Partial Deprecation: Remove image metadata & libexif. (patchset #6 id:100001 of https://codereview.chromium.org/1773233002/ )
Reason for revert:
Causes build errors on official waterfall.

https://bugs.chromium.org/p/chromium/issues/detail?id=593580

Original issue's description:
> Media Galleries Partial Deprecation: Remove image metadata & libexif.
>
> Removing libexif is a great thing.
>
> It will remove a ~200KB DLL from Windows, Mac, and ChromeOS. It will remove bugs and security issues.
>
> BUG=542912,577272
>
> Committed: https://crrev.com/f3890c75101ff9b07f48aed992285cc45bf5b4d5
> Cr-Commit-Position: refs/heads/master@{#380306}

TBR=phajdan.jr@chromium.org,rdevlin.cronin@chromium.org,thakis@chromium.org,tommycli@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=542912,577272

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

Cr-Original-Commit-Position: refs/heads/master@{#380852}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0978e4ebde4a1c07f4e8da88cc9daa7732a63b1a
2016-03-12 04:50:55 +00:00
tommycli 0d98be496d Media Galleries Partial Deprecation: Remove image metadata & libexif.
Removing libexif is a great thing.

It will remove a ~200KB DLL from Windows, Mac, and ChromeOS. It will remove bugs and security issues.

BUG=542912,577272

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

Cr-Original-Commit-Position: refs/heads/master@{#380306}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f3890c75101ff9b07f48aed992285cc45bf5b4d5
2016-03-10 02:15:45 +00:00
DreifachStein 6c82f25b94 Use https when downloading linux sysroot images,
BUG=592204

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

Cr-Original-Commit-Position: refs/heads/master@{#379481}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f9b847f035e9a55887867e8b0b3c0bde7fe0fc0d
2016-03-06 00:58:15 +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
sbc c9e77971f1 Update linux sysroot image to to include libudev
BUG=561584

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

Cr-Original-Commit-Position: refs/heads/master@{#376058}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9f2c63586a433dabea1ec9ef050ee41c0c8fb67c
2016-02-18 01:42:16 +00:00
sbc e3e8c40ac4 Fix pkgconfig file re-naming in sysroot-creator.sh
Since we added udev to the sysroot /usr/lib/pkgconfig
now already exists (previously only /usr/lib/<arch>/pkgconfig
existed) so simply using 'mv' to rename the directory
is no longer enough.

BUG=561584

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

Cr-Original-Commit-Position: refs/heads/master@{#376030}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5c9493141fbc4afb6de44f31964adb01e4bfa4c0
2016-02-17 23:31:41 +00:00
sbc e4fabcebd5 Add retry logic to install-sysroot.py
BUG=587282

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

Cr-Original-Commit-Position: refs/heads/master@{#376020}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7b32e30f5c21ed36898e73eb332a9a2d0917bbd1
2016-02-17 22:59:14 +00:00
sbc a1f8a38a7b Add libudev-dev to linux sysroot image
BUG=561584

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

Cr-Original-Commit-Position: refs/heads/master@{#375703}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e14accd3f75f7ebf6fdfd178ab427aa401530e51
2016-02-16 23:15:44 +00:00
sbc 1199e24c84 Add support for Debian/jessie sysroot images
The primary change/advantage here is gcc-4.8 and the
more recent libstdc++.

TEST=build chrome against the new sysroot

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

Cr-Original-Commit-Position: refs/heads/master@{#373405}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3bde47dff9fe951e18bdf71de95e358c84fcb7f1
2016-02-04 01:07:50 +00:00
bcf 5215afdb84 [Chromecast] Depend on Chromium's freetype-android
This change helps to reduce the external dependencies for OEMs to support cast_shell.

Updates third_party/libpng so it can be used as a dependency for freetype on Chromecast.

Remove the gyp variable use_custom_freetype because it is now unused.

BUG=internal b/26249831
TEST=builds and runs with gyp and gn

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

Cr-Original-Commit-Position: refs/heads/master@{#372996}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0ddf78a46654c13f9ee7de921a820087f45375e3
2016-02-02 18:54:11 +00:00
sbc 08d6d5e7da Use PKG_CONFIG_LIBDIR to force pkg-config to use sysroot only
Previously we were using PKG_CONFIG_PATH to tell pkg-config
to search the sysroot directories.  However the default
libpath is always added to this path, so pkg-config would
fall back to looking in the system directories.
Using PKG_CONFIG_LIBDIR instead overrides the default
libdir which makes the build more hermetic and forces the
sysroot to provide all the required .pc files.

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

Cr-Original-Commit-Position: refs/heads/master@{#369224}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4d4a9acde47d5e955c12eb0bf3feaa800c2a6f55
2016-01-13 18:41:25 +00:00
sbc 4f9aff00ac Update linux sysroot images
This change bring is in following change to sysroot
contents:
 82063a2: Add chromeos-specific packages to linux sysroot image
 34a5998: Add more packages to the Wheezy sysroot

BUG=576807

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

Cr-Original-Commit-Position: refs/heads/master@{#369012}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fdd653a846bb55e0d2795bbe0f481c923d485b6e
2016-01-12 22:42:00 +00:00
sbc e08a4cf059 Add chromeos-specific packages to linux sysroot image
This will allow the chromeos=1 build to work against
the wheezy sysroot

BUG=576807

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

Cr-Original-Commit-Position: refs/heads/master@{#368977}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 82063a2b94fb4f727841cf6a8f67740f990658fb
2016-01-12 20:40:00 +00:00
raphael.kubo.da.costa 99eb573309 Add more packages to the Wheezy sysroot.
x11proto-xinerama-dev is needed by libxinerama-dev, libxdmcp-dev is used
by xcb.

With this change (and after regenerating the sysroot), it is possible to
run gn and configure the build without having a single pkg-config in the
host system (tested on amd64).

R=sbc@chromium.org,dpranke@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#367302}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 34a5998d2a36de0149470d23b7f98df863e61d21
2016-01-04 11:05:37 +00:00
b.kelemen 32cfa98c47 Download sysroot from "commondatastorage.googleapis.com"
For some reason our intranet here is blocking googleapis.com.
Actually other tools that are updated via runhooks are using
that alias url already (e.g. clang).

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

Cr-Original-Commit-Position: refs/heads/master@{#366481}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dbf2f363526a4a1fc90af90206a2e0e7761eb75d
2015-12-21 22:56:15 +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
sbc e5e9d279f5 gyp: always use pkg-config wrapper
Without this the sysroot is not honored and pkg-config
always finds the host's .pc file.

BUG=569947

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

Cr-Original-Commit-Position: refs/heads/master@{#365707}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f83a08c9c9156960d505472108a5c96ee2972820
2015-12-17 03:22:43 +00:00
sbc 8f6e30d254 Update linux sysroot images
This brings in the following changes to the sysroot:
 - d746383 Include /usr/share/pkgconfig files in sysroot image
 - 475c72a Add libpthread-stubs0-dev to sysroot image

BUG=569947

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

Cr-Original-Commit-Position: refs/heads/master@{#365655}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2199e4c1c2619ba1996515bccf7b5e33226b5662
2015-12-16 22:59:02 +00:00
sbc f4c3cc51c0 Include /usr/share/pkgconfig files in sysroot image
The whole of /usr/share was previously being excluded
which meant that our sysroot builds were relying
on .pc files from the host environment in some cases.

This change requires https://codereview.chromium.org/1531513002

BUG=569947

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

Cr-Original-Commit-Position: refs/heads/master@{#365570}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d746383f4d7a3e5dce13796fbdf400392245c22d
2015-12-16 18:30:35 +00:00
sbc 3eca928890 GN: Don't default to using lib64 in PKG_CONFIG_PATH
This change makes gn's pkg-config.py match more
closely the behavior of pkg-config-wrapper.

pkg-config-wrapper is always run with the third
argument set to '<(system_libdir)', which defaults to
'lib', which means that gyp never using lib64 in
practice.   Even though system_libdir is supported in
gyp, there is currently no equivalent that I can find
in gn, so I left a TODO.

This change is required before we can land the sysroot
change that populates /usr/lib/pkgconfig:
https://codereview.chromium.org/1531513002

BUG=569947

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

Cr-Original-Commit-Position: refs/heads/master@{#365415}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b05b60bf32ce6f01253888ad0a0d1e0cbdac84b0
2015-12-16 02:43:25 +00:00
sbc 1ce0d91922 Add libpthread-stubs0-dev to sysroot image
This is required by the xcb pkg-config file but
has gone unnoticed since most host systems have this
installed.

BUG=569949

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

Cr-Original-Commit-Position: refs/heads/master@{#365384}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 475c72a09a1167c4cf70fa99503a7f3fa3117f79
2015-12-15 23:25:20 +00:00
sbc 9cd2d37c01 Always install host sysroot when running install-sysroot.py
The gn bots require both host and target sysrot images
installed.  This change is needed to convert the Linux
ARM bot gn.

BUG=564059

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

Cr-Original-Commit-Position: refs/heads/master@{#363916}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b564072892d52a11ae26004739111409be25ec44
2015-12-09 02:19:20 +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
brettw 54801eaa4d Make //device pass "gn check"
Review URL: https://codereview.chromium.org/1484643002

Cr-Original-Commit-Position: refs/heads/master@{#363307}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bda835b5af97a7fce770017890354c00ca50f557
2015-12-04 22:13:07 +00:00
agrieve d94cd670fa Always install default host sysroots from gclient runhooks
This removes some of the smarts that relied on GYP_DEFINES being set.
With the move to GN, GYP_DEFINES will often not be set.

BUG=564869

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

Cr-Original-Commit-Position: refs/heads/master@{#363218}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 38d1fc620f41e8994079eb8532ed12631863d4c6
2015-12-04 16:23:56 +00:00
sbc a2120825d2 Reland of Use sysroot by default for all linux builds (patchset #1 id:1 of https://codereview.chromium.org/1473363002/ )
Reason for revert:
Couldn't reproduce the failure.

Original issue's description:
> Revert of Use sysroot by default for all linux builds (patchset #7 id:120001 of https://codereview.chromium.org/1464983003/ )
>
> Reason for revert:
> Seems to have caused issues with goma: https://code.google.com/p/chromium/issues/detail?id=560973
>
> Original issue's description:
> > Use sysroot by default for all linux builds
> >
> > Using a sysroot was already the default for official
> > build and when cross compiling (e.g. arm, mips, x86-32).
> > This change makes it the default in all cases.
> >
> > The old behavior of building against local
> > system libraries can still be achieved by
> > setting use_sysroot=0
> >
> > BUG=504446
> >
> > Committed: https://crrev.com/a931efd5dc8d8783ce73a64fc641627866b6869d
> > Cr-Commit-Position: refs/heads/master@{#361197}
>
> TBR=dpranke@chromium.org,thestig@chromium.org,thakis@chromium.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=504446
>
> Committed: https://crrev.com/05373dc078f0d5d3f2fb1398db9a4008a55d9016
> Cr-Commit-Position: refs/heads/master@{#361405}

TBR=dpranke@chromium.org,thestig@chromium.org,thakis@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=504446

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

Cr-Original-Commit-Position: refs/heads/master@{#361411}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 964155752e49f75260e86ba824fcec81b3fd4c3d
2015-11-24 19:30:44 +00:00
sbc b56953cd85 Revert of Use sysroot by default for all linux builds (patchset #7 id:120001 of https://codereview.chromium.org/1464983003/ )
Reason for revert:
Seems to have caused issues with goma: https://code.google.com/p/chromium/issues/detail?id=560973

Original issue's description:
> Use sysroot by default for all linux builds
>
> Using a sysroot was already the default for official
> build and when cross compiling (e.g. arm, mips, x86-32).
> This change makes it the default in all cases.
>
> The old behavior of building against local
> system libraries can still be achieved by
> setting use_sysroot=0
>
> BUG=504446
>
> Committed: https://crrev.com/a931efd5dc8d8783ce73a64fc641627866b6869d
> Cr-Commit-Position: refs/heads/master@{#361197}

TBR=dpranke@chromium.org,thestig@chromium.org,thakis@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=504446

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

Cr-Original-Commit-Position: refs/heads/master@{#361405}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 05373dc078f0d5d3f2fb1398db9a4008a55d9016
2015-11-24 18:57:23 +00:00
sbc b5a398ffa0 Use sysroot by default for all linux builds
Using a sysroot was already the default for official
build and when cross compiling (e.g. arm, mips, x86-32).
This change makes it the default in all cases.

The old behavior of building against local
system libraries can still be achieved by
setting use_sysroot=0

BUG=504446

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

Cr-Original-Commit-Position: refs/heads/master@{#361197}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a931efd5dc8d8783ce73a64fc641627866b6869d
2015-11-23 21:56:06 +00:00
sbc a61fcd59bf Update linux sysroot image
This adds libffi-dev and libdrm-dev to the image
which were recently added with:
https://codereview.chromium.org/1464123002

R=thestig@chromium.org
BUG=559062

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

Cr-Original-Commit-Position: refs/heads/master@{#361129}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 24634402107d104bc23e018593f7dcbcb78be081
2015-11-23 17:18:14 +00:00
sbc 37595814e5 Add libffi-dev and libdrm-dev to linux sysroot image
Also, the extra libdrm dependencies needed.

The packagelists were updated by running:
./sysroot-creator-wheezy.sh  UpdatePackageListsAll

BUG=559062

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

Cr-Original-Commit-Position: refs/heads/master@{#361035}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a0e3d0246001dd352580e670d34b7163fd2351ea
2015-11-22 04:55:21 +00:00
dzhioev c02d039586 Add Roboto fonts and update Noto fonts in install-chromeos-fonts.py.
notofonts: 20150706
robotofonts: 20150625

BUG=none

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

Cr-Original-Commit-Position: refs/heads/master@{#359769}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e9b72dd87754ca5a4af39509070ae682c5e5bc14
2015-11-15 12:13:24 +00:00
reveman 9f52a020f9 third_party: Add wayland library.
This adds the wayland library to third_party and libffi
as a build dependency on linux. libffi is already a run-time
dependency as libgobject depends on it.

BUG=549782

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

Cr-Original-Commit-Position: refs/heads/master@{#359701}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 754ca2c474484f29b3b33c1d2f1909c6a3193260
2015-11-14 00:22:51 +00:00
agrieve 269075af46 Install both 32 and 64 bit x86 sysroots when arm is the target_cpu
This is required by Android since it builds both 64 and 32 bit v8
snapshots, which need to be built on the host by toolchains with the matching bit-width.

BUG=552040

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

Cr-Original-Commit-Position: refs/heads/master@{#359212}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 79822596ae07da6b5b7c9a43d2c7bfffc3fa0d06
2015-11-12 02:43:53 +00:00
skyostil b6a340b2a4 headless: Add gn setting headless mode
The is_headless setting configures the build in the same
way as the embedded flag in gyp.

Contributions by Alexander Timin <altimin@chromium.org> and
Alex Clarke <alexclarke@chromium.org>.

BUG=546953,318413

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

Cr-Original-Commit-Position: refs/heads/master@{#359096}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a557457caccb3c0f60e5d35ccc8c55af5849d76a
2015-11-11 16:24:57 +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
slan a918bc722c [Chromecast] Replace 'fontconfig' GN target with dynamic dependency.
Chromecast needs to be able to optionally use //third_party/fontconfig
instead of system headers. This CL acheives parity with the GYP build
for this feature:
https://code.google.com/p/chromium/codesearch#chromium/src/build/linux/system.gyp&l=748

BUG=516899

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

Cr-Original-Commit-Position: refs/heads/master@{#350711}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 17e5ce7ff587612814565e8fa2d737e76feb3e56
2015-09-25 00:05:41 +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
Michael Spang d48858c9d7 Always expose libdrm dependency when chromeos==1
This fixes a build break for linux chromeos:

gyp: Dependency '/b/build/slave/linux_chromeos/build/src/build/linux/system.gyp:libdrm#target' not found while trying to load target /b/build/slave/linux_chromeos/build/src/content/content_shell_and_tests.gyp:vaapi_jpeg_decoder_unittest#target

BUG=531814
TEST=gclient runhooks with "use_ozone=1 chromeos=1"

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

Cr-Original-Commit-Position: refs/heads/master@{#349057}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 35ecf40fb75893838295418d07fa5d37bcca10d7
2015-09-16 01:14:01 +00:00
spang 6ced943542 ozone: Remove the "drm" software composited platform
This is a software-only platform that was used early in the process
of bringing up the Chrome OS ozone/freon (no X11) build. It's time to
remove it because it now requires not only scary flags to get it going,
but also a patch (https://codereview.chromium.org/1216303004/).

If we need a build with software rasterization let's use vgem+swrast like
our VMtests do.

BUG=531814
TEST=link still works fine with platform=gbm

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

Cr-Original-Commit-Position: refs/heads/master@{#349012}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d0620b8a4b025b5d808644068d155e07dcaa0276
2015-09-15 22:00:40 +00:00
spang d7a2e20551 Add Chrome OS's minigbm library to third_party
This library is used by Chrome on Chrome OS to allocate accelerated
graphics buffers. The version avaiable on Ubuntu is too old, and as a
result we can't run unit tests for the gbm platform code on developer
workstations or on the waterfall.

This adds the library to third_party and fixes up the build files to use
either the OS copy (for Chrome OS release builds) or gardened copy (for
testing on the waterfall) depending on the value of "use_system_minigbm".

BUG=530712
TEST=
  GYP_DEFINES="use_ozone=1 chromeos=1 ozone_platform_gbm=1 use_system_minigbm=0" gclient runhooks
  ninja -C out/Release ozone_unittests
  ./out/Release/ozone_unittests

  gn gen out_gn_ozone --args='target_os="chromeos" use_ozone=true ozone_platform_gbm=true use_system_minigbm=false'
  ninja -C out_gn_ozone ozone_unittests
  ./out_gn_ozone/Release/ozone_unittests

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

Cr-Original-Commit-Position: refs/heads/master@{#348758}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c231bffd37754a1ab09fbbb4a1260438be638df4
2015-09-14 23:17:49 +00:00
akuegel e37d9c80c2 Reland of Fix typo in install-sysroot.py (patchset #1 id:1 of https://codereview.chromium.org/1315773003/ )
Reason for revert:
The check_licenses script has been fixed, and it cycled green:
https://build.chromium.org/p/chromium/builders/Linux/builds/66708

Original issue's description:
> Revert of Fix typo in install-sysroot.py (patchset #2 id:20001 of https://codereview.chromium.org/1317973005/ )
>
> Reason for revert:
> Caused check_licenses to fail:
>
> https://build.chromium.org/p/chromium/builders/Linux/builds/66701
>
> Original issue's description:
> > Fix typo in install-sysroot.py
> >
> > install-sysroot.py was intended to default to installing
> > the sysroot ia32, but within this script 'i386' is used to
> > refer to this architecture.
> >
> > This most likely went unnoticed since the ia32 builder
> > either use branding=Official, or explicitly set
> > use_sysroot=1, or have a complete set of packages for
> > cross building on the host system.
> >
> > BUG=504446
> >
> > Committed: https://crrev.com/1d62049b4c176fbd43bed90fc9a76273b11ad406
> > Cr-Commit-Position: refs/heads/master@{#347821}
>
> TBR=dpranke@chromium.org,sbc@chromium.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=504446
>
> Committed: https://crrev.com/3b27a2de111759359162bcad49753e17ee1cf002
> Cr-Commit-Position: refs/heads/master@{#347839}

TBR=dpranke@chromium.org,sbc@chromium.org,chrishtr@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=504446

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

Cr-Original-Commit-Position: refs/heads/master@{#347901}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 064aca24669857d48458749952a3bc7c9c516e63
2015-09-09 10:29:13 +00:00
chrishtr cf0d22d3a6 Revert of Fix typo in install-sysroot.py (patchset #2 id:20001 of https://codereview.chromium.org/1317973005/ )
Reason for revert:
Caused check_licenses to fail:

https://build.chromium.org/p/chromium/builders/Linux/builds/66701

Original issue's description:
> Fix typo in install-sysroot.py
>
> install-sysroot.py was intended to default to installing
> the sysroot ia32, but within this script 'i386' is used to
> refer to this architecture.
>
> This most likely went unnoticed since the ia32 builder
> either use branding=Official, or explicitly set
> use_sysroot=1, or have a complete set of packages for
> cross building on the host system.
>
> BUG=504446
>
> Committed: https://crrev.com/1d62049b4c176fbd43bed90fc9a76273b11ad406
> Cr-Commit-Position: refs/heads/master@{#347821}

TBR=dpranke@chromium.org,sbc@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=504446

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

Cr-Original-Commit-Position: refs/heads/master@{#347839}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3b27a2de111759359162bcad49753e17ee1cf002
2015-09-08 23:59:11 +00:00
sbc 98cb144d29 Fix typo in install-sysroot.py
install-sysroot.py was intended to default to installing
the sysroot ia32, but within this script 'i386' is used to
refer to this architecture.

This most likely went unnoticed since the ia32 builder
either use branding=Official, or explicitly set
use_sysroot=1, or have a complete set of packages for
cross building on the host system.

BUG=504446

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

Cr-Original-Commit-Position: refs/heads/master@{#347821}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1d62049b4c176fbd43bed90fc9a76273b11ad406
2015-09-08 23:03:23 +00:00
erg 2c09162dbc Make gtk2/gtk3 compile time switchable.
This adds a "use_gtk3" gyp/gn flag, along with a separate gtk2/gtk3
targets in system.gyp and //build/config/linux/gtk[23] in gn.

BUG=132847

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

Cr-Original-Commit-Position: refs/heads/master@{#346742}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b8f8f682a82bce992edb35c3030214ede236d3ba
2015-09-01 21:39:48 +00:00
dpranke bca6faaa9b Move loader stub libraries out of //build/config/linux
The //build/config/linux library defined a number of targets
built through the generate_library_loader target. All of these
are fairly chrome-specific, so having them defined in the
//build/config/linux file made it harder to reuse that file
in non-chrome GN builds (like native_client).

This CL moves the targets out to a new //build/linux directory
and updates the callers accordingly.

R=brettw@chromium.org
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#346242}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ad0c1f495eca0968601ea74254b86fb91d412eb0
2015-08-28 21:49:08 +00:00
kalyan.kondapally 44e9987647 Explicit declare drm library directory
I found this issue, while trying to use libdrm with some custom changes
and not installed in the default system path. We are already checking
drm system library and cflags using pkg, this patch extends it for
the directory too.

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

Cr-Original-Commit-Position: refs/heads/master@{#342229}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d1c9e302bc024e90299771d20b59bc6b5d18d999
2015-08-06 23:21:30 +00:00