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

353 Коммитов

Автор SHA1 Сообщение Дата
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
tfarina 6ab0306d13 content: Remove unused speex related code.
With the discussion of third_party/speex/OWNERS in chromium-dev
mailing list we ended up turning out that this code was actually not used.

https://groups.google.com/a/chromium.org/d/topic/chromium-dev/tBiPPpqfku4/discussion

BUG=513929
TEST=content_unittests
R=philip@opera.com,brettw@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#340637}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 152a9729a7d1adb8582b4bec8ccf8f797c6f6987
2015-07-28 04:04:52 +00:00
sbc 920f539f9a Cleanup logic for deciding when to install linux sysroot
The only semantic change here is that the sysroot will
be installed for ia32 cross builds by default, like
it is for arm and mips already.

BUG=504446

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

Cr-Original-Commit-Position: refs/heads/master@{#339343}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dd181aed3e76b963564500fe6f28731c9e33700c
2015-07-17 22:15:22 +00:00
dnicoara 3b84430212 [Ozone] Remove deprecated DRI platform name
The platform was renamed to DRM. The DRI name was left in place until
the ChromeOS changes were done.

BUG=none

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

Cr-Original-Commit-Position: refs/heads/master@{#338753}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4151b4f26e86ce0fc8be9bdba81520bad376f6a3
2015-07-14 22:21:45 +00:00
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
bratell@opera.com d60afc0a86 gyp performance: Load detect_host_arch directly.
We ran "python detect_host_arch.py" ~15 times from gyp. Run
detect_host_arch.py directly from from within gyp for faster execution
and since the path is no longer part of the command, the result will
also be cached more often.

The total gain is at best 0.3 seconds. For most people it will be less.

BUG=362075

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@275361 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-06 09:56:44 +00:00
phajdan.jr@chromium.org 6a12cb217c Fix build with system harfbuzz
This is upstreaming Gentoo Linux patch

BUG=none
R=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@275094 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-05 14:25:15 +00:00
thestig@chromium.org bcd99aed29 Linux: Remove unused gcrypt gyp code.
BUG=369973

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@274892 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-04 20:15:26 +00:00
dnicoara@chromium.org a1c7689d24 GBM Ozone implementation
Adding an accelerated platform for the X11-less build. This uses GBM (EGL_MESA_platform_gbm) as the backing Mesa platform.

BUG=377497

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273509 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-29 17:22:50 +00:00
vapier@chromium.org ddff03807e do not require xscrnsaver on CrOS
We don't use this library in CrOS builds, so do not require it.

BUG=chromium:221522
TEST=`cbuildbot amd64-generic-tot-chrome-pfq-informational` works

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273317 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-28 19:23:39 +00:00
plundblad@chromium.org 4f455ffe8b Support standard keyboard keys emulated by the braille drivers.
This plumbs through keys like backspace and enter and arrow keys.
It also provides Unicode characters for displays with query keyboards etc.

BUG=310285
R=dtseng@chromium.org, kalman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273171 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-28 06:04:28 +00:00
vapier@chromium.org 56c175b3e1 pkg-config-wrapper: use system_libdir for libpath
We already have a variable for tracking the system libdir name in the
gyp files, so let's use that instead of hardcoding the logic based on
the arch.

BUG=chromium:219015
TEST=`cbuildbot amd64-generic-tot-chrome-pfq-informational` works

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272792 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-26 04:37:43 +00:00
vrk@chromium.org 8629aa81b0 Revert 270471 "ozone: Add egltest platform"
Speculative revert because we think this might have caused Mac Build bot
failure "gyp: Call to 'python ../../../build/mac/find_sdk.py 10.6' returned exit status -9."

> ozone: Add egltest platform
> 
> This supports testing rendering using EGL. Creation of the
> EGLNativeWindowType is punted to a separate library, which has an
> interface defined in eglplatform_shim.h.
> 
> TEST=content_shell --ozone-platform=egltest --ignore-gpu-blacklist
> BUG=none
> NOTRY=true
> 
> Review URL: https://codereview.chromium.org/288603002

TBR=spang@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270474 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 21:24:18 +00:00
spang@chromium.org 2041779ec4 ozone: Add egltest platform
This supports testing rendering using EGL. Creation of the
EGLNativeWindowType is punted to a separate library, which has an
interface defined in eglplatform_shim.h.

TEST=content_shell --ozone-platform=egltest --ignore-gpu-blacklist
BUG=none
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270471 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 20:58:10 +00:00
sadrul@chromium.org a19205359e x11: Split the gfx_x11 target into its own gyp file.
Add a gfx_x11.gyp in //ui/gfx/x/ and define the gfx_x11 target in there,
instead of defining it conditionally in //ui/gfx/gfx.gyp. This allows
including this code from particular components even when X11 is turned
off.

BUG=361137
R=piman@chromium.org, sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269804 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-12 17:31:44 +00:00
joone.hur@intel.com c3f2f465c9 Do not check GTK+ dependencies when use_ozone is defined.
glib is not included in ozone platform:
https://codereview.chromium.org/249583003

Therefore, we do not need to check GTK+ dependencies when use_ozone is defined.

BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269373 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-09 18:04:47 +00:00
thestig@chromium.org f6eb5517d2 Cleanup: Remove python_arch.sh that was used for pyauto.
BUG=224072

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@266823 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-29 10:12:09 +00:00
spang@chromium.org c1bf9d5d73 ozone: evdev: Add libgestures bindings for touchpad & mouse support
The gestures library converts kernel input events into gestures. This
currently happens inside X11 in the xf86-input-cmt driver, but without
X11 we have to do use it from EventFactoryEvdev

BUG=351168

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@264273 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-16 19:04:30 +00:00
sbc@chromium.org 7da79251ef Update ARM sysroot image.
This new image include libexif and a few security fixes
from Ubuntu.

Also, cleanup the downloading code so it fails nicely.

R=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263896 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-15 17:08:10 +00:00
maruel@chromium.org 90cc8f9c0b Get rid of all component builds specific .isolate.
The status quo was unmaintainable.  These 'component build specific .isolate
files' are superseeded by tools/isolate_driver.py which packages dynamic
libraries automatically.

The new way is much more sane and dynamic, isolate_driver.py is currently very
crude but 'does the job', the expected way to make it work is to read the .ninja
files to extract all the dynamic libraries marked as a dependency to the main
target being executed.

TBR=csharp@chromium.org
BUG=333473

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261871 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-04 21:06:46 +00:00
hidehiko@chromium.org baceec9f02 Fix linker warning on build with target_arch=ia32.
Since r257419, linker warning starts to cause the build failure.
This CL is fixing some linker warnings on cross compilation build so that build with target_arch=ia32 option works properly.
Here are the error logs:

/usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libgcrypt.so when searching for -lgcrypt
/usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libgcrypt.a when searching for -lgcrypt
/usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libcap.so when searching for -lcap
/usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libcap.a when searching for -lcap
/usr/bin/ld: warning: libgnutls.so.26, needed by /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib32/libcups.so, may conflict with libgnutls.so.28



BUG=n/a
TEST=build with GYP_DEFINES=target_arch=ia32, run trybot.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259463 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 04:00:08 +00:00
glider@chromium.org d566d40a15 Remove the unnecessary <(chroot_cmd) prefix from the libgcrypt-config-wrapper
invocation.

TBR=piman@chromium.org
BUG=355496

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258924 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-24 13:56:26 +00:00
petarj@mips.com 4a696a75a6 linux: use correct libgcrypt-config paths when cross-compiling
Add a wrapper around libgcrypt-config to generate correct include and
library paths when cross-compiling using a sysroot.

BUG= Linux build with sysroot will fail
TEST= Build Linux Chromium for MIPS

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258293 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 14:53:25 +00:00
kalyan.kondapally@intel.com 81f0797a24 Hide X11 dependencies when use_x11=0.
When using a non X11 build with Ozone, we still have dependencies on
X11. This patch tries to hide X11 and related dependencies when
use_x11=0

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251981 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-19 07:53:43 +00:00
glider@chromium.org b24c70f315 Fix sysroot_ld_path.sh to correctly process the included configs.
The $included_files var contains a list of paths relative to the sysroot.
However calling `ls $included_files` gives us a list of paths relative to the host system root, which is obviously wrong. We need to do `ls $root$included_files` instead.

BUG=324207
R=thestig@chromium.org
CC=sl.ostapenko@samsung.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251356 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 17:03:20 +00:00
glider@chromium.org 43f7a49bbc Introduce the chroot_cmd flag that contains the command line prefix for running in a chrooted environment.
Right now when supplying a 32-bit sysroot via the 'sysroot' GYP flag on a 64-bit host arch,
pkg-config (and pkg-config-wrapper) fail to generate the correct 32-bit paths within that sysroot.
The solution is to chroot into that directory and run pkg-config from there.
This is intended to work with schroot scripts like 'precise32' generated when running build/install-chroot.sh

BUG=324207
R=piman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251353 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 16:58:45 +00:00
jamesr@chromium.org ec268bba7e Fix interactive_ui_tests dependency on xtst
chrome/browser/extensions/extension_commands_global_registry_apitest.cc,
which is linked into interactive_ui_tests, uses some functions from libXtst
and thus should declare a dependency on xtst. The only other file that uses
the XTest.h header is in remoting, which declares an xtst dependency already.
This lets us drop the dependency from glib on xtst since most targets don't need
it.

R=phajdan.jr
BUG=339518

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250585 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-12 01:00:40 +00:00
elan.ruusamae@gmail.com 3b20ef5191 add system libXNVCtrl library support in linux unbundle
originally developed here:
ea20959146/system-libxnvctrl.patch

reviewed by phajdan.jr in private mail exchange

R=phajdan.jr@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250495 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-11 20:53:42 +00:00
jamesr@chromium.org 6d835b51bb Clean up dependencies on X11 libraries
This converts the remaining targets that depend on X11 libraries over to
depending on targets from build/linux/system.gyp instead of adding the
libraries manually to the link line. This ensures that the link line is
generated with pkg-config and makes the dependencies a bit tighter by
getting rid of the all_dependent_settings entry in ui/ui.gyp

BUG=339518

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250311 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-11 03:38:06 +00:00
maruel@chromium.org 9d9517f362 Make net_unittests_run work with component=shared_library.
Specifically, this adds support to run net_unittests isolated via 'isolate.py
run' when built with component build.

R=vadimsh@chromium.org,brettw@chromium.org,rsleevi@chromium.org
BUG=336439

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@249150 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-05 23:33:48 +00:00
jamesr@chromium.org ef5711a1e9 Use gyp targets to link in X11 libraries instead of setting -lXfoo
This sets up gyp targets for the various X11 libraries we use and uses
pkg-config to determine the correct cflags/ldflags incantations to use to
link against them instead of listing out -lXfoo lines in libraries sections
in gyp targets throughout the tree.  This is more likely to generate the right
lines and makes the dependencies a bit more explicit.

BUG=339518

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248939 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-05 09:09:30 +00:00
phajdan.jr@chromium.org e42f6ca6fd Make gyp autodetection of host_arch work for 64-bit kernel and 32-bit userland
Before it would get confused and detect above situation as 64-bit, leading to build
failures. So far we've used explicit target_arch in buildbot configuration
as a workaround, but with recipes for simplicity it'd be better
if no such workaround was needed.

BUG=none
R=maruel@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248214 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-31 17:23:56 +00:00
rsleevi@chromium.org 284d85414c Remove use_system_ssl GYP flag
It's no longer supported. Packagers that wish to replace how Chromium
packages/uses NSS should add support via src/build/linux/unbundle

BUG=336511
R=phajdan.jr, brettw

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246272 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-22 10:25:52 +00:00
maruel@chromium.org e9ef7cfab3 Add support for component=shared_library for base_unittests_run.
Specifically, this adds support to run base_unittests isolated
via 'isolate.py run' when built with component build.

This requires rolling icu @ 246118 to get the new icu.isolate.

R=thakis@chromium.org,jshin@chromium.org,frankf@chromium.org,rsleevi@chromium.org
BUG=336439

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246247 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-22 09:05:59 +00:00
hinoka@google.com 49170df9a0 Add eu-strips sha1
BUG=335451
NOTRY=true
R=iannucci@chromium.org, phajdan.jr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245708 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-18 01:44:04 +00:00
vapier@chromium.org f84d755521 python_arch: return "unknown" when file does not exist
The `file` program follows POSIX as outlined here:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/file.html

Specifically, this part causes troubles:
If the file named by the file operand does not exist, cannot be read, or
the type of the file named by the file operand cannot be determined, this
shall not be considered an error that affects the exit status.

With older versions of `file` (that does not conform to POSIX), this
script will exit 0 with "unknown" as its output when "$1" does not exist.
But with recent releases (that conform to POSIX), this script will exit 1
and can break the build.

Have the script explicitly check for the existence of $1 and if it does
not exist, then runt he unknown logic like normal.

BUG=chromium:332547
TEST=ran python_arch.sh on bogus files with new & old `file` programs

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244778 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-14 18:52:34 +00:00
spang@chromium.org e3e6e06769 Use third_party/fontconfig for embedded builds
This uses the in-tree version when embedded==1.

BUG=318315

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244583 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-13 21:27:42 +00:00
jiayl@chromium.org 5a58a9243f Remove the base.gyp dependency from system.gyp
The dependency is unnecessary and causes build error in the standalone webrtc project due to missing base.gyp when SCTP is enabled (it depends on usrsctp.gyp, which depends on system.gyp). All system.typ needs from base.gyp is the "include_dirs" pointing to ".." relative to "base". So we can remove the dependency on base.gyp and add "include_dirs":["../.."] instead.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@243863 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-09 12:22:45 +00:00
sbc@chromium.org 40852d3380 Update arm sysroot image used by arm/linux builder.
This brings in the new libpcap2 package which was added
to the build script here:
https://codereview.chromium.org/51323006/

Also, remove support for install armel sysroot now that
all the builders are on armhf.

BUG=312380
R=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232816 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-04 22:25:24 +00:00
thakis@chromium.org 4cef26f0d7 Remove trailing "." from message lines.
cs.chromium.org has way fewer hits for
    'message'.*\.',?$ file:gyp
than for
    'message'.*[^\.]',?$ file:gyp

so standardize on the latter.

BUG=none
TEST=less ocd when watching build output
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232166 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-31 18:08:28 +00:00
jln@chromium.org c4249714a2 Add a libcap target to link against libcap2.
Targets which need to link with -lcap can now depend on libcap.

BUG=312384
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231809 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-30 10:38:14 +00:00