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

289 Коммитов

Автор SHA1 Сообщение Дата
sbc 6f0307c00e Move linux sysroots from chrome/installer/linux to build/linux
The sysroot are generally useful (for example when
cross compiling) and not limited to use in the installer
or official releases.

Another reason to move this is that it would allow other
projects to more easily share chromium's build setup
without depending on chrome/.

Also, rename the install script to simply install-sysroot.
This way the script can keep the same name and support
multiple different debian releases without needing
to duplicate the script (e.g. when we switch to jessie).

BUG=504446
TEST=cross build chromium for arm and ia32

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

Cr-Original-Commit-Position: refs/heads/master@{#336843}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8208b4d81396c11e1f8ca8f6ffe52b9fcea87d05
2015-06-30 19:15:31 +00:00
brettw 6978e56fe0 Fix some build symbol configuration.
Remove -gdwarf-4 from GYP build. This is the default for GCC 4.8 which is now required, so this command-line argument is redundant.

Only set use_debug_fission in the GN build in debug mode. This matches GYP. Release mode symbols will be non-fission.

Implement linux_symbols target in GN. Convert dump_app_syms from sh to Python for better GN usability, and it's more readable for normal programmers on the team.

Reland of https://codereview.chromium.org/1182663007/
Reland of https://codereview.chromium.org/1179393004/
TBR=thakis@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#335370}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2f27f9bf85b21f149c5972197ef07f957fe20b41
2015-06-19 22:36:49 +00:00
brettw c1dfa4b728 Revert of Fix some build symbol configuration. (patchset #2 id:20001 of https://codereview.chromium.org/1182663007/)
Reason for revert:
Broke Linux clobber:

https://build.chromium.org/p/chromium.linux/builders/Linux%20GN%20Clobber/builds/1307/steps/compile/logs/stdio

Original issue's description:
> Fix some build symbol configuration.
>
> Remove -gdwarf-4 from GYP build. This is the default for GCC 4.8 which is now required, so this command-line argument is redundant.
>
> Only set use_debug_fission in the GN build in debug mode. This matches GYP. Release mode symbols will be non-fission.
>
> Implement linux_symbols target in GN. Convert dump_app_syms from sh to Python for better GN usability, and it's more readable for normal programmers on the team.
>
> Reland of https://codereview.chromium.org/1179393004/
>
> TBR=thakis@chromium.org
>
> Committed: https://crrev.com/07d847b1c5451748f16f4e7973ce8ef9078d47a2
> Cr-Commit-Position: refs/heads/master@{#334690}

TBR=thakis@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#334744}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 22d6e38d5efdb6a71df80a37094d4b97d7bc060f
2015-06-16 23:31:28 +00:00
brettw 3ece569951 Fix some build symbol configuration.
Remove -gdwarf-4 from GYP build. This is the default for GCC 4.8 which is now required, so this command-line argument is redundant.

Only set use_debug_fission in the GN build in debug mode. This matches GYP. Release mode symbols will be non-fission.

Implement linux_symbols target in GN. Convert dump_app_syms from sh to Python for better GN usability, and it's more readable for normal programmers on the team.

Reland of https://codereview.chromium.org/1179393004/

TBR=thakis@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#334690}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 07d847b1c5451748f16f4e7973ce8ef9078d47a2
2015-06-16 20:59:40 +00:00
thestig 21c772dc92 Revert of Fix some build symbol configuration. (patchset #3 id:40001 of https://codereview.chromium.org/1179393004/)
Reason for revert:
Broke the Linux GN Clobber bot:

http://build.chromium.org/p/chromium.linux/builders/Linux%20GN%20Clobber/builds/1271/steps/compile/logs/stdio

ninja: error: '../../build/linux/dump_app_syms', needed by 'obj/chrome/linux_symbols.inputdeps.stamp', missing and no known rule to make it

Original issue's description:
> Fix some build symbol configuration.
>
> Remove -gdwarf-4 from GYP build. This is the default for GCC 4.8 which is now required, so this command-line argument is redundant.
>
> Only set use_debug_fission in the GN build in debug mode. This matches GYP. Release mode symbols will be non-fission.
>
> Implement linux_symbols target in GN. Convert dump_app_syms from sh to Python for better GN usability, and it's more readable for normal programmers on the team.
>
> BUG=
>
> Committed: https://crrev.com/950889c01dd934acf28bce29ea6db75610a8c441
> Cr-Commit-Position: refs/heads/master@{#334510}

TBR=thakis@chromium.org,brettw@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#334522}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 520e8fd6084a0b3f1ec1011273730c4c6e392d09
2015-06-16 01:12:19 +00:00
brettw c699f6a9d2 Fix some build symbol configuration.
Remove -gdwarf-4 from GYP build. This is the default for GCC 4.8 which is now required, so this command-line argument is redundant.

Only set use_debug_fission in the GN build in debug mode. This matches GYP. Release mode symbols will be non-fission.

Implement linux_symbols target in GN. Convert dump_app_syms from sh to Python for better GN usability, and it's more readable for normal programmers on the team.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#334510}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 950889c01dd934acf28bce29ea6db75610a8c441
2015-06-16 00:25:37 +00:00
sbc 6ecf098a2f Fix use of 'sysroot' variable in harfbuzz.gyp
The sysroot variable is set conditionally in common.gypi
but not at the nesting level required for other conditional
to depend on it like the one in hardbuzz does.  This means
that sysroot always appeared to be empty to harfbuzz.gyp,
and hence the special handling for ARM linux was required.
This change moves the setting of 'sysroot' up one level of
nesting and defines 'pkg-config' in common.gypi so it can
be shared.

This is the third attempt at a landing. First attempt was
reverted: https://codereview.chromium.org/1151753002

This is a re-land of the second attempt which was
reverted speculatively (wrongly as it turned out):
https://codereview.chromium.org/1158283003

TBR=cpu

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

Cr-Original-Commit-Position: refs/heads/master@{#332982}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dea1c634b5328b1e171ba22698fb7027f338453f
2015-06-05 01:14:15 +00:00
sbc fb1ad4fa8d Speculative revert to fix ChromeOS PFQ mips builder
The original change is suspected of breaking the build
and the second one is followup that needs to be reverted
along with it.

Revert "Fix use of 'sysroot' variable in harfbuzz.gyp"
https://codereview.chromium.org/1158283003

Revert "Fix common.gypi when run with target_arch=mips"
https://codereview.chromium.org/1166523004

TBR=cpu
BUG=496462

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

Cr-Original-Commit-Position: refs/heads/master@{#332766}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3f39737a0258d942440b9abe589f06c7305bfb77
2015-06-04 02:13:47 +00:00
sbc dc8f6e9f48 Fix use of 'sysroot' variable in harfbuzz.gyp
The sysroot variable is set conditionally in common.gypi
but not at the nesting level required for other conditional
to depend on it like the one in hardbuzz does.  This means
that sysroot always appeared to be empty to harfbuzz.gyp,
and hence the special handling for ARM linux was required.

This change moves the setting of 'sysroot' up one level of
nesting and defines 'pkg-config' in common.gypi so it can
be shared.

Second attempt at landing this. First attempt was here:
https://codereview.chromium.org/1151753002

TBR=cpu

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

Cr-Original-Commit-Position: refs/heads/master@{#332311}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fa36d7041817ddd299c89ca5ecef432c9210fda9
2015-06-02 01:39:40 +00:00
spang 31c453ea8d Revert of Fix use of 'sysroot' variable in harfbuzz.gyp (patchset #6 id:100001 of https://codereview.chromium.org/1151753002/)
Reason for revert:
Breaks GYP for Chrome OS builds. Repro steps:

 cros chrome-sdk --board=amd64-generic
 gclient runhooks

Updating projects from gyp files...
/bin/sh: /build/amd64-generic/build/bin/pkg-config: No such file or directory
gyp: Call to '/build/amd64-generic/build/bin/pkg-config --libs-only-l nss | sed -e "s/-lssl3//"' returned exit status 0.
/bin/sh: /build/amd64-generic/build/bin/pkg-config: No such file or directory
gyp: Call to '/build/amd64-generic/build/bin/pkg-config --libs libcras' returned exit status 127.
/bin/sh: /build/amd64-generic/build/bin/pkg-config: No such file or directory
gyp: Call to '/build/amd64-generic/build/bin/pkg-config --cflags x11' returned exit status 127.
Error: Command /usr/bin/python src/build/gyp_chromium returned non-zero exit status 1 in /ssd/src/chromium

TEST=cros chrome-sdk --board=amd64-generic && gclient runhooks

Original issue's description:
> Fix use of 'sysroot' variable in harfbuzz.gyp
>
> The sysroot variable is set conditionally in common.gypi
> but not at the nesting level required for other conditional
> to depend on it like the one in hardbuzz does.  This means
> that sysroot always appeared to be empty to harfbuzz.gyp,
> and hence the special handling for ARM linux was required.
>
> This change moves the setting of 'sysroot' up one level of
> nesting and defines 'pkg-config' in common.gypi so it can
> be shared.
>
> Committed: https://crrev.com/6a80b32f309490f44347f2925589a6f0fc23c3ff
> Cr-Commit-Position: refs/heads/master@{#331506}

TBR=mazda@chromium.org,dpranke@chromium.org,cpu@chromium.org,sbc@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#331642}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8505ef356013ec9239f295501a283ec9fd43b08a
2015-05-27 20:43:53 +00:00
sbc 8cace47dbf Fix use of 'sysroot' variable in harfbuzz.gyp
The sysroot variable is set conditionally in common.gypi
but not at the nesting level required for other conditional
to depend on it like the one in hardbuzz does.  This means
that sysroot always appeared to be empty to harfbuzz.gyp,
and hence the special handling for ARM linux was required.

This change moves the setting of 'sysroot' up one level of
nesting and defines 'pkg-config' in common.gypi so it can
be shared.

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

Cr-Original-Commit-Position: refs/heads/master@{#331506}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6a80b32f309490f44347f2925589a6f0fc23c3ff
2015-05-27 01:24:41 +00:00
simonhatch b12b3ab9e5 Revert of Linux Aura accessibility is enabled only on GNOME desktops (patchset #15 id:280001 of https://codereview.chromium.org/1028553003/)
Reason for revert:
All linux perf bots red, failing on various blink_perf tests. Speculatively reverting this CL since several bisects pointed to it.

BUG=485590

Original issue's description:
> Linux Aura accessibility is enabled only on GNOME desktops
>
> Linux Aura accessibility is not enabled on desktops different than GNOME2.
> GNOME3 has deprecated gconf in favor of gsettings and dconf.
> AT-SPI (cross-platform framework that provides communication between AT
> and application) bus launcher has a property called org.a11y.Bus.IsEnabled
> that could be easily read by dbus call.
>
> In generall this patch adds an additional check to enable accessibility.
> When gconf is available use gnome's accessibility key otherwise
> org.a11y.Bus.IsEnabled property.
>
> BUG=472183,468989,468112
> TBR=stevenjb@chromium.org,jochen@chromium.org
>
> Committed: https://crrev.com/16e2d5a386e3ddd5be818a0d27610b1e9ee9c08e
> Cr-Commit-Position: refs/heads/master@{#328651}

TBR=dmazzoni@chromium.org,plundblad@chromium.org,l.gombos@samsung.com,jochen@chromium.org,stevenjb@chromium.org,dpranke@chromium.org,k.czech@samsung.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=472183,468989,468112

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

Cr-Original-Commit-Position: refs/heads/master@{#329404}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c7c15e712cb77a0fe276166996b2bb787490c896
2015-05-12 14:45:33 +00:00
k.czech 6512c2c199 Linux Aura accessibility is enabled only on GNOME desktops
Linux Aura accessibility is not enabled on desktops different than GNOME2.
GNOME3 has deprecated gconf in favor of gsettings and dconf.
AT-SPI (cross-platform framework that provides communication between AT
and application) bus launcher has a property called org.a11y.Bus.IsEnabled
that could be easily read by dbus call.

In generall this patch adds an additional check to enable accessibility.
When gconf is available use gnome's accessibility key otherwise
org.a11y.Bus.IsEnabled property.

BUG=472183,468989,468112
TBR=stevenjb@chromium.org,jochen@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#328651}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 16e2d5a386e3ddd5be818a0d27610b1e9ee9c08e
2015-05-06 23:22:20 +00:00
djmix.kim 160a730aa0 Support languages other than the default on linux
Regarding the latest code on linux,
It was always setting by default language even if value of language was existed.
So we need to add routine for setting language via "spd_set_language".

BUG=289548

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

Cr-Original-Commit-Position: refs/heads/master@{#326764}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ff4018b80395433657222d6eb0483b2349b1e007
2015-04-24 09:23:33 +00:00
davidben 11ff6b6b02 Initial support for using BoringSSL with NSS certificates.
This switches the USE_OPENSSL Linux and CrOS builds to continue
setting USE_NSS_CERTS. This lets it use BoringSSL for the crypto
and SSL stack and NSS for certificate verification. See design
doc for details on the flags:

https://docs.google.com/document/d/1x4DOCKwFkAxl9MGfd6snIzFigO4ku6Shuci0r5BzasQ/edit

On Linux, only client auth and OCSP stapling are missing. On ChromeOS,
there are some problematic USE_NSS_CERTS APIs in RSAPrivateKey to
resolve. We also still need to resolve crbug.com/347404 to maintain
parity.

As a follow-up, USE_OPENSSL_CERTS on non-Android can now be
removed (it was never supported anyway).

BUG=462040

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

Cr-Original-Commit-Position: refs/heads/master@{#326222}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2bcbc6bceb6017c762ef01553a55a12fe390de16
2015-04-22 02:36:54 +00:00
Paweł Hajdan, Jr 34b0e85c26 Fix build with system libvpx
BUG=none
R=thestig@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#326177}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eb840561c3a6484462dec1046ae49fe9613a6f78
2015-04-21 23:51:45 +00:00
sbc b423d00eb9 Remove legacy install-arm-sysroot.py script
This was merged with install-debian.wheezy.sysroot.py a
long time ago.

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

Cr-Original-Commit-Position: refs/heads/master@{#323944}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3032c44335a61721d52c624fc74631951e7ca6be
2015-04-06 21:02:13 +00:00
sigbjornf 00a2c346cd Revert "remove -Wno-header-guard workaround for old versions of NSS"
This reverts commit 86ebf48be903b226d068b08efa16fe3725babb8c.

Build failures:
  http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Builder/builds/20027
  http://build.chromium.org/p/chromium.webkit/builders/GPU%20Linux%20Builder%20%28dbg%29/builds/31334

Original issue's description:
> remove -Wno-header-guard workaround for old versions of NSS
>
> I think it's safe to re-enable this warning now.  The bug was
> fixed upstream in 3.15.1 and there have been several NSS upgrades since then.
>
> BUG=255201
> Committed: https://crrev.com/86ebf48be903b226d068b08efa16fe3725babb8c
> Cr-Commit-Position: refs/heads/master@{#321711}

TBR=mostynb@opera.com,thakis@chromium.org
BUG=255201
NOTREECHECKS=true
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#321712}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7e9611ced1805c43af09fccc03367313e5253ca9
2015-03-22 11:25:15 +00:00
mostynb 7b1b60def0 remove -Wno-header-guard workaround for old versions of NSS
I think it's safe to re-enable this warning now.  The bug was
fixed upstream in 3.15.1 and there have been several NSS upgrades since then.

BUG=255201

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

Cr-Original-Commit-Position: refs/heads/master@{#321711}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 86ebf48be903b226d068b08efa16fe3725babb8c
2015-03-22 08:11:05 +00:00
Dominic Mazzoni c4ee1c33e9 Re-land: Resurrect Aura Linux accessibility.
1. Avoids overloading in a C linkage block (mostynb)
2. Only compiles ATK support if use_x11 is true
    to avoid ChromeCast issue (gunsch)
3. Updates chrome/installer/linux expectations

Original changelist: https://codereview.chromium.org/975113002/

BUG=463671
R=thestig@chromium.org
TBR=dpranke, plundblad, sky

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

Cr-Original-Commit-Position: refs/heads/master@{#320790}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0e9bcce45c12479259c705a07a6b4b1e73b84bf2
2015-03-16 20:54:11 +00:00
dnicoara 44507e25b5 [Ozone] Update GYP and GN to include a DRM platform
This makes it possible to refer to the platform as DRI and DRM. We need
this intermediate state so we can update the CrOS builds to use DRM
rather than DRI.

BUG=none
TEST=Build ozone with DRI & DRM platform and without to verify build
(GYP and GN)

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

Cr-Original-Commit-Position: refs/heads/master@{#320788}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d89b572673f0fd352ae9d14e69b79e0430c87fbd
2015-03-16 20:46:24 +00:00
alexmos c5eb90175d Revert of Resurrect Aura Linux accessibility. (patchset #15 id:280001 of https://codereview.chromium.org/975113002/)
Reason for revert:
Caused compile failure on Linux x64 bot (http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Linux%20x64/builds/56532)

Output snippet:
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a x64 -c unstable
dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory.
2a3
> libatk1.0-0 (>= 1.12.4)

ERROR: Shared library dependencies changed!
If this is intentional, please update:
chrome/installer/linux/debian/expected_deps_ia32
chrome/installer/linux/debian/expected_deps_x64

Original issue's description:
> Resurrect Aura Linux accessibility.
>
> This is based in part on the ATK code we had as part of the Linux GTK port
> that went away, but now rewritten on top of AXPlatformNode. This patch
> successfully exposes an accessibility tree for Views and exposes top-level
> windows and the the role and name of each View. You can test it using
> accerciser. This is just to get the infrastructure in place - we need to
> implement more of the interface for it to be useful for accessibility tools.
>
> BUG=463671
>
> Committed: https://crrev.com/f65bad877350b5f7857d29e4b1b0d4d3f5c7cb6d
> Cr-Commit-Position: refs/heads/master@{#320383}

TBR=plundblad@chromium.org,dpranke@chromium.org,sky@chromium.org,gunsch@chromium.org,dmazzoni@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=463671

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

Cr-Original-Commit-Position: refs/heads/master@{#320402}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 999e4c26444e68898d4fa642783263b6e408b7e3
2015-03-12 23:19:24 +00:00
dmazzoni 85255d3fb5 Resurrect Aura Linux accessibility.
This is based in part on the ATK code we had as part of the Linux GTK port
that went away, but now rewritten on top of AXPlatformNode. This patch
successfully exposes an accessibility tree for Views and exposes top-level
windows and the the role and name of each View. You can test it using
accerciser. This is just to get the infrastructure in place - we need to
implement more of the interface for it to be useful for accessibility tools.

BUG=463671

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

Cr-Original-Commit-Position: refs/heads/master@{#320383}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f65bad877350b5f7857d29e4b1b0d4d3f5c7cb6d
2015-03-12 22:00:20 +00:00
agoode 38fd3a9584 Add udev_device_new_from_subsystem_sysname to udev, for use in Web MIDI on Linux
See https://codereview.chromium.org/968663004/
BUG=377250

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

Cr-Original-Commit-Position: refs/heads/master@{#318887}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cb20a495cd7918276ee0e2202569483c18d0836c
2015-03-03 16:34:27 +00:00
davidben f53dbe52c5 Remove use_system_openssl.
Since the BoringSSL switch, this cannot possibly work. (There isn't an
openssl.gyp to swap out anyway.)

BUG=none

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

Cr-Original-Commit-Position: refs/heads/master@{#312452}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2b60792760a1291c50594f213a0bc5e71d020e4d
2015-01-21 20:53:45 +00:00
sfunkenhauser f93d59a92c Do not depend on or try to configure pangocairo when use_pango == 0
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#311535}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 97a0a6304f0f7fb4f111b034bcf038f0fc95422a
2015-01-14 19:57:09 +00:00
spang 6f3ed786a3 ozone: Add initial build support for xkbcommon
This adds a use_xkbcommon variable that allows usage of libxkbcommon in
the build. Turn this on for linux ozone builds (except embedded builds).

BUG=430194
TEST=build

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

Cr-Original-Commit-Position: refs/heads/master@{#308204}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 304529e882cd79826c1b8f222a0e855da2ba8a59
2014-12-13 00:34:15 +00:00
thestig 19676380c3 Linux: Dynamically load libudev.
Funnel all libudev access through a wrapper for the udev library loader.

BUG=415212

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

Cr-Original-Commit-Position: refs/heads/master@{#305348}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ee816c278f12488490cb2e01fda46e4abab45af7
2014-11-22 02:49:05 +00:00
bedupont d940cdb6fe Provide a way to disable libpci dependency.
Add a new gyp variable: use_libpci (default value is 1).
Add a new define when use_libpci==1: USE_LIBPCI.
Don't call specific PCI code in gpu_info_collector_linux.cc if USE_LIBPCI isn't defined.

BUG=427401
R=piman@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#302613}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 65ce5accb99908e292b9766c3da6cf54d6cc337f
2014-11-04 16:31:00 +00:00
sbc 0d8e208d04 Merge ARM sysroot install script with existing x86/amd64 one.
install-debian.wheezy.sysroot.py is now use for ARM
also, removing duplication.  sysroot location is also
now consistent.

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

Cr-Original-Commit-Position: refs/heads/master@{#300746}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 41d0e08a38f6cc0cb32a2596953a7262c4a9ab02
2014-10-22 20:39:53 +00:00
derat 977ad93c11 Update version of fonts for install-chromeos-fonts.py.
This script was installing an ancient version of the Noto
fonts; update it to use 20140815 instead.

BUG=none

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

Cr-Original-Commit-Position: refs/heads/master@{#300692}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 96e49f3b9ab01cea089926a417cd04178d496ba6
2014-10-22 17:04:14 +00:00
tiago.vignatti a7a52aeee7 Explicit declare gbm library directory
We are checking gbm system library and cflags using pkg, therefore its
directory ought to be checked in the same way.

I spotted this problem in a Ubuntu 12.04 system where my custom pkg directory
is rather clean, without superfluous libraries. Probably no other developer
noticed this bug before because in the working pkg directory was already being
pulled in by libgestures or any other configuration that uses --libs-only-L
in system.gyp.

BUG=none
TEST=embedded=1 ozone_platform_gbm=1, linking content_shell

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

Cr-Original-Commit-Position: refs/heads/master@{#293903}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5cdbf79d872e2bbdcf8994da76ef156bc9bacbbc
2014-09-09 09:20:03 +00:00
phajdan.jr 8e00ef6f52 Create build/linux/unbundle file for protobuf
BUG=none

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

Cr-Original-Commit-Position: refs/heads/master@{#292773}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1f15f3a9e425389a828ada84860a62d9d1e25e9b
2014-08-30 05:24:06 +00:00
pgal.u-szeged 9f20938741 Move GLIB_DISABLE_DEPRECATION_WARNINGS define to a more general place.
The GLIB_DISABLE_DEPRECATION_WARNINGS define disables the deprecation
warnings which is caused by the usage of the g_settings_list_schemas
method. Moving the define to the build scripts avoids any future build
errors (-Werror) and warning reports.

BUG=391250
TEST=ninja -C out/Release chrome

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

Cr-Original-Commit-Position: refs/heads/master@{#292608}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3a31d8e495b1d04a01f9e6c57fac608fee0285e3
2014-08-29 12:06:24 +00:00
spang@chromium.org a72b2aaf7f Make udev target disappear on linux when use_udev==0
So we don't break builds that don't use it by running pkg-config, and so
we don't accidently link against it when it is disabled.

The embedded=1 build has OS=="linux" use_udev==0 for small devices such
as the chromecast.

BUG=403162

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@290377 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-18 22:14:13 +00:00
sbc@chromium.org 5ce31b993d Enable ARM/linux cross compile to use clang.
BUG=395832
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@290261 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-18 15:41:07 +00:00
dnicoara@chromium.org b1bf10e85f Revert of Run pkg-config for Udev only if use_udev==1 (patchset #1 of https://codereview.chromium.org/429723002/)
Reason for revert:
Breaks builds where use_udev==0 since certain targets just assume udev and never check against use_udev.

Udev package should be wrapped in a use_udev confitional altogether and all the locations using Udev should check against use_udev.

Original issue's description:
> Run pkg-config for Udev only if use_udev==1
> 
> Some embedded platforms do not have udev support. The change will skip
> running pkg-config if use_udev=0.
> 
> BUG=none
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288770

TBR=brettw@chromium.org
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@289280 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-13 13:50:18 +00:00
mostynb@opera.com 61eabb683f make it possible to disable the use of libpci on linux again
When CL 430573002 landed, it forced the use of libpci on linux, but
many embedded systems lack this library (and probably lack a pci bus
altogether). Let's add a new config variable to make it possible to
disable the use of libpci.

BUG=398416

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@289262 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-13 10:35:40 +00:00
phajdan.jr@chromium.org 5d8cf18874 Require more precise exclusions in remove_bundled_libraries.py
This handles nested third_party directories.

BUG=none
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@289106 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-12 23:01:11 +00:00
dnicoara@chromium.org d62042e332 Run pkg-config for Udev only if use_udev==1
Some embedded platforms do not have udev support. The change will skip
running pkg-config if use_udev=0.

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@288770 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-11 19:49:30 +00:00
phajdan.jr@chromium.org c1ef2f1d9e unbundle: do not remove .isolate files, that results in gyp errors
BUG=none
R=maruel@chromium.org, thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@288682 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-11 09:56:26 +00:00
dnicoara@chromium.org 99aa8fa90b Move libdrm target behind conditional
On embedded platforms the library may not be available. As-is GYP will
try running pkg-config early on even if none of the Ozone dependencies
require libdrm.

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@286855 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-31 18:31:47 +00:00
davidben@chromium.org 37f69827ee Switch to BoringSSL.
This is a reland of r284079 which was reverted in r284248 for components build
issues. That, in turn, was a reland of r283813 which was reverted in r283845
because it broke WebRTC tests on Android. That, in turn, was a reland of
r283542 which was reverted in r283591 because it broke the WebView build.

This is a much larger change than its diff suggests. If it breaks
something, please revert first and ask questions later.

BUG=393317
R=agl@chromium.org, jam@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284729 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-22 18:20:37 +00:00
agl@chromium.org 454cd80016 Revert "Switch to BoringSSL."
This reverts commit r284079.

BUG=395271

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284248 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-18 23:18:18 +00:00
agl@chromium.org 20c0005fb4 Switch to BoringSSL.
(This is a reland of r283813 which was reverted in r283845 because it broke
WebRTC tests on Android. That, in turn, was a reland of of r283542 which was
reverted in r283591 because it broke the WebView build.)

This is a much larger change than its diff suggests. If it breaks
something, please revert first and ask questions later.

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284079 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-18 13:51:03 +00:00
vitalybuka@chromium.org b948970198 Revert 283813 "Switch to BoringSSL."
Failed WebRtcBrowserTest on android_dbg_triggered_tests.

> Switch to BoringSSL.
> 
> (This is a reland of r283542 which was reverted in r283591 because it
> broke the WebView build. The android_aosp trybots are broken[1] so this
> based on hope.)
> 
> This is a much larger change than its diff suggests. If it breaks
> something, please revert first and ask questions later.
> 
> [1] http://code.google.com/p/chromium/issues/detail?id=394597
> 
> BUG=none
> 
> Review URL: https://codereview.chromium.org/399993002

TBR=agl@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283845 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-17 20:07:06 +00:00
agl@chromium.org b5f01ab780 Switch to BoringSSL.
(This is a reland of r283542 which was reverted in r283591 because it
broke the WebView build. The android_aosp trybots are broken[1] so this
based on hope.)

This is a much larger change than its diff suggests. If it breaks
something, please revert first and ask questions later.

[1] http://code.google.com/p/chromium/issues/detail?id=394597

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283813 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-17 17:59:10 +00:00
agl@chromium.org 2262a64219 Revert "Switch to BoringSSL."
This reverts commit 283542.

This broke the WebView Android build.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283591 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-17 00:20:36 +00:00
agl@chromium.org b2a83e0eed Switch to BoringSSL.
(This is a much larger change than its diff suggests. If it breaks something, please revert first and ask questions later.)

R=davidben@chromium.org, eroman@chromium.org, rsleevi@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283542 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-16 22:15:31 +00:00
brettw@chromium.org f51c6750e4 Move GN speechd target to third_party.
The //build directory in GN shouldn't refer to anything outside of itself so that non-Chrome projects can copy it and re-use the build configuration. speechd relies on third_party/speech-dispatcher. This patch just moves the loader to the speech-dispatcher target, which makes more sense anyway.

TBR=grunell@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@282138 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-09 22:11:47 +00:00