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

1868 Коммитов

Автор SHA1 Сообщение Дата
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
ronghuawu@chromium.org 57ce61dc94 Revert 273199 "Enable mac_strip_release under ASan on OSX. Remov..."
Seems causing failures on mac asan bots, e.g:
http://build.chromium.org/p/chromium.memory/waterfall?builder=Mac%20ASan%2064%20Tests%20(1)

> Enable mac_strip_release under ASan on OSX. Remove the .saves files.
> 
> Unce upon a time the ASan runtime library used to be statically linked into
> the executables on OSX.
> Because that library provided a number of API functions needed by the shared
> libraries, we had custom ASan-specific .saves files that told the `strip`
> utility to preserve those functions when stripping the executables.
> 
> Then ASan switched to using dynamic runtime library, which instantly broke the
> stripping step, because the executables weren't necessarily referencing all the
> ASan API functions (issue 242503).
> As a result, stripping has been disabled, and we haven't had .dSYM debug info
> for ASan builds for more than a year now (issue 148383).
> 
> Because the ASan API functions are now undefined in the executables, it's
> actually senseless to use the .saves files to preserve those functions.
> This CL deletes the .saves files and turns mac_strip_release on for ASan
> builds.
> 
> BUG=148383,242503,170739,166857
> R=mark@chromium.org
> 
> Review URL: https://codereview.chromium.org/292153006

TBR=glider@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273302 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-28 18:48:29 +00:00
mvanouwerkerk@chromium.org 317f982842 Revert 273188 "Revert 271207 "Changed android toolchain to use G..."
In the time between upgrading from GCC 4.6 to 4.8 the codebase changed
to trigger a compiler bug that exists in 4.6 but not in 4.8. We now
have two options: fix our code for 4.6 or fix WebRTC. We need to
upgrade to 4.8 either way. As the WebRTC team seems to have a
potential fix for running on 4.8, we will go up to 4.8 again.

> Revert 271207 "Changed android toolchain to use GCC 4.8"
> 
> > Changed android toolchain to use GCC 4.8
> > 
> > BUG=359106
> > 
> > Review URL: https://codereview.chromium.org/218633007
> 
> TBR=fdegans@chromium.org
> 
> Review URL: https://codereview.chromium.org/303493006

TBR=henrika@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273247 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-28 15:32:59 +00:00
glider@chromium.org 54d463ed09 Enable mac_strip_release under ASan on OSX. Remove the .saves files.
Unce upon a time the ASan runtime library used to be statically linked into
the executables on OSX.
Because that library provided a number of API functions needed by the shared
libraries, we had custom ASan-specific .saves files that told the `strip`
utility to preserve those functions when stripping the executables.

Then ASan switched to using dynamic runtime library, which instantly broke the
stripping step, because the executables weren't necessarily referencing all the
ASan API functions (issue 242503).
As a result, stripping has been disabled, and we haven't had .dSYM debug info
for ASan builds for more than a year now (issue 148383).

Because the ASan API functions are now undefined in the executables, it's
actually senseless to use the .saves files to preserve those functions.
This CL deletes the .saves files and turns mac_strip_release on for ASan
builds.

BUG=148383,242503,170739,166857
R=mark@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273199 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-28 13:19:44 +00:00
henrika@google.com 3e4bbbc82b Revert 271207 "Changed android toolchain to use GCC 4.8"
> Changed android toolchain to use GCC 4.8
> 
> BUG=359106
> 
> Review URL: https://codereview.chromium.org/218633007

TBR=fdegans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273188 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-28 09:52:27 +00:00
qsr@chromium.org 95097ba498 Never instrument the crazy linker.
We are not interested in computing an order file for the crazy linker. This CL ensures that we never try to instrument it.

R=mariakhomenko@chromium.org, pliard@chromium.org, thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272967 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-27 14:02:48 +00:00
torne@chromium.org 34fba0d9b8 Fix host gcc version detection for android webview.
Android WebView builds use a hermetic host toolchain, so detecting the
host gcc version with compiler_version doesn't work. Hardcode the
current versions used instead.

BUG=377684

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272965 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-27 13:58:59 +00:00
ch.dumez@samsung.com 1b30f0ee2d Turn on ENABLE_NEW_GAMEPAD_API flag so that the new gamepad code is used
Turn on ENABLE_NEW_GAMEPAD_API flag so that the new gamepad code is used.
Also remove the old code on Chromium side. The ENABLE_NEW_GAMEPAD_API is only
needed until the Blink side #ifdefs are removed.

BUG=344556

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272723 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-24 12:47:00 +00:00
pkasting@chromium.org ec6eb7f62f Enable "unreachable code" warning for MSVC.
BUG=346399
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272687 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-24 02:35:26 +00:00
kbr@chromium.org fe1b993df3 Revert 272478 "Always define _HAS_EXCEPTIONS=0 on Windows"
Caused assertion failures in multiple test suites.

BUG=82385,377008

> Always define _HAS_EXCEPTIONS=0 on Windows
> 
> Previously we would not define it in component builds because it didn't work with old versions of MSVC. These days it should work.
> 
> The macro is extra important for Clang, which doesn't currently support exceptions on Windows.
> 
> BUG=82385
> 
> Review URL: https://codereview.chromium.org/287193012

TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272610 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-23 22:11:03 +00:00
torne@chromium.org 52f0268c70 Really fix building android webview on mac.
The refactoring in the final patchset landed as r269766 got the
condition backwards (the pre-refactoring version worked), so we were
accidentally excluding flag only on *target* builds, instead of host
builds as intended (the target compiler supports this flag). Fix it.

BUG=321833
R=primiano@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272511 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-23 13:34:58 +00:00
hans@chromium.org d028e1e535 Always define _HAS_EXCEPTIONS=0 on Windows
Previously we would not define it in component builds because it didn't work with old versions of MSVC. These days it should work.

The macro is extra important for Clang, which doesn't currently support exceptions on Windows.

BUG=82385

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272478 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-23 10:54:56 +00:00
noamsml@chromium.org 300713d66e Add enable_wifi_bootstrapping variable to common.gypi
This should simplify ifdefs and ensure flexibility as we move to new platforms.

BUG=370071

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272433 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-23 07:45:36 +00:00
estade@chromium.org ebc1e70205 provide a build time flag to enable connecting to production wallet servers by default
This flag defaults to true for official builds and false for unofficial builds. If the flag is false, Chromium will connect to sandbox wallet servers.

Net effect: instead of being controller by Chrome vs. Chromium, the default is controlled by Official vs. Unofficial buildtype.

BUG=334088

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272348 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-22 22:27:58 +00:00
scottmg@chromium.org 9b38214ce5 win: Enable PDF for metafile as default
Main code landed at r271772. This can be on by default now
that internal_pdf is gone. If this seems stable after some releases
I'll remove the gyp flag and related code.

R=vitalybuka@chromium.org
BUG=170859

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272250 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-22 18:38:56 +00:00
plundblad@chromium.org b9287efd01 Build ChromeVox using gyp.
This adds tools and gyp targets to build ChromeVox directly from its original
source in the Chromium repository instead of using precompiled obfuscated
JavaScript binaries.  In addition, this adds infrastructure to run
ChromeVox 'unbundled' inside of a chromeos build.

Note that this is still experimental and not enabled by default.  Also, the
manifest to run ChromeVox unbundled is not provided yet.

BUG=371692
R=dtseng@chromium.org,dmazzoni@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272146 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-22 08:52:05 +00:00
scottmg@chromium.org 8e92a557ea Printing on Windows via PDF
Currently:
- Based on #if, switches renderer rendering to PDF for preview
- Add PdfToEmfConvert based on PWGRasterConverter
- Various plumbing.

Preview works the same as other PDF based platforms. For getting
to EMF, the when PRINTING_WIN_USES_PDF_AS_METAFILE is on, the
renderer generates a PDF instead of EMF directly (this contains
all the pages in the desired range). This is returned to
PrintViewManagerBase, where it's passed to PdfToEmfConverter which
uses the sandboxed utility process and pdf.dll to convert via
RenderPDFPageToDC. The utility process renderers one emf page at
at time (into numbered files) to avoid having a very large emf file.

As this uses pdf.dll this is currently off-by-default controlled by
the gyp variable win_pdf_metafile_for_printing.

R=vitalybuka@chromium.org
BUG=170859

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271772 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-20 22:02:25 +00:00
thakis@chromium.org fbdee8ac02 clang: Turn on -Wabsolute-value.
BUG=351479
TBR=hans@chromium.org
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271732 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-20 19:50:45 +00:00
erg@chromium.org 2347f24950 linux_aura: Compile ash into chrome.
[This is take three. I believe that I've now fixed all the static
initializers (including both files named debug_utils.cc that were
including <iostream>), the packaging failures, and the black border
on the app list as pointed out by mgiuca@.]

Running chrome with the "--open-ash" parameter will create an ash
desktop window. Ash on Linux has some problems, but at least we're now
compiling the code into the binary.

TODO: The applist isn't positioned correctly, and some details of the
system tray aren't correct.

BUG=300084, 303862
TBR=sky@chromium.org
First Review URL: https://codereview.chromium.org/25108005

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271725 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-20 19:23:58 +00:00
spang@chromium.org 34761b6cff ozone: Work around gestures linkage issue with jsoncpp
The gestures library links jsoncpp, which we link statically. Turn off
fatal-warnings while we sort this out.

BUG=351168
TEST=build --board link_freon
TBR=rjkroege

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271687 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-20 17:32:49 +00:00
glider@chromium.org 99c77ff695 Make asan==1 imply use_allocator=none.
BUG=302040
R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271662 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-20 15:37:58 +00:00
thestig@chromium.org b62ef6a803 When enable_resource_whitelist_generation==1 for release builds, pass unknown-pragmas cflags on Linux and on Android.
BUG=338759

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271598 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-20 06:50:21 +00:00
jam@chromium.org 9f3388cf0b Add the pdf plugin's source in src\pdf.
I've updated gypi files to not use internal_pdf variable anymore, which was brought in from pdf repo's supplemental.gypi.

R=thestig@chromium.org
TBR=darin

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271531 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-20 01:56:40 +00:00
dtseng@chromium.org 5055f79291 Provide skeleton for ChromeVox next.
BUG=372578
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271293 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-18 14:13:07 +00:00
fdegans@chromium.org e86d4ac0dc Changed android toolchain to use GCC 4.8
BUG=359106

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271207 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-17 15:41:51 +00:00
spang@chromium.org 3d813d51cb ozone: Add ozone_auto_platforms setting
Each time we add a new platform in the default build, products that want
only a single platform have to add an entry to GYP_DEFINES to turn it back
off.

This introduces a new setting, ozone_auto_platforms. If this is turned off
in GYP_DEFINES, we'll only build platforms that are explicitly enabled.

TEST=runhooks
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271101 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-16 21:30:51 +00:00
hans@chromium.org c9f2f47fef Win-clang update script: make an auxiliary copy of the sanitizer headers
This dir will be put on the include path for MSVC to pick up when invoked
as fallback compiler.

BUG=345874
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271039 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-16 17:03:57 +00:00
pasko@chromium.org 3cc815a0c3 Android: bake GCC flags for perf into profiling=1 in GYP_DEFINES
BUG=366632

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271037 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-16 16:56:47 +00:00
nbarth@chromium.org f0ecc6e1c0 Mac OS X build: turn off common word macros in AssertMacros.h
Mac OS X AssertMacros.h defining macros that collide with common names, like
'check', 'require', and 'verify'.
This CL turns this behavior off by specifying
define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE 0
...allowing us to use these words normally.

Refs:
http://opensource.apple.com/source/CarbonHeaders/CarbonHeaders-18.1/AssertMacros.h

[blink-dev] Fix collision with Apple macros?
https://groups.google.com/a/chromium.org/d/topic/blink-dev/MIjO2Gwc3qc/discussion

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270992 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-16 11:43:08 +00:00
glider@chromium.org da241de5d5 Pass -gline-tables-only when building with ASan on Mac.
BUG=148383
TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270990 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-16 11:39:55 +00:00
spang@chromium.org 8ab4b0ac95 ozone: Add egltest platform (reland)
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=ninja -C out_ozone/Debug aura_builder &&
  content_shell --ozone-platform=egltest --ignore-gpu-blacklist
BUG=none
TBR=spang

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270737 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-15 18:09:10 +00:00
derat@chromium.org a388499fe7 s/precendence/precedence/
"precedence" is misspelled as "precendence" in the docs for
the chrome.power API. Fix it there as well as several other
places where it occurs.

BUG=none
TBR=sky@chromium.org,brettw@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270539 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-15 00:33:41 +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
primiano@chromium.org 077df9722d [Android] Build android tools as PIE and add a wrapper for ICS
- Make Android tools build as position independent executable by
  default, as it now required by Android.
- Introduce a wrapper for running PIE on Android ICS (its linker
  doesn't support PIE).
- Add the plumbing for running the PIE wrapper in the test/telemetry
  python scripts.

BUG=373219
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270406 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 15:15:19 +00:00
erg@chromium.org 9c6c11362f Revert 270232 "linux_aura: Compile ash into chrome."
Reverted once again because because there are two more static initializers.

> linux_aura: Compile ash into chrome.
> 
> [This is a reland now that the static initializers should be fixed.]
> 
> Running chrome with the "--open-ash" parameter will create an ash
> desktop window. Ash on Linux has some problems, but at least we're now
> compiling the code into the binary.
> 
> TODO: The applist isn't positioned correctly, and some details of the
> system tray aren't correct.
> 
> BUG=300084, 303862
> TBR=sky@chromium.org
> First Review URL: https://codereview.chromium.org/25108005
> 
> Review URL: https://codereview.chromium.org/270383007

TBR=erg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270241 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-13 23:25:06 +00:00
erg@chromium.org 7d7b7648b3 linux_aura: Compile ash into chrome.
[This is a reland now that the static initializers should be fixed.]

Running chrome with the "--open-ash" parameter will create an ash
desktop window. Ash on Linux has some problems, but at least we're now
compiling the code into the binary.

TODO: The applist isn't positioned correctly, and some details of the
system tray aren't correct.

BUG=300084, 303862
TBR=sky@chromium.org
First Review URL: https://codereview.chromium.org/25108005

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270232 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-13 22:41:47 +00:00
cjhopman@chromium.org 2fad6983dd Pass the gold binary directory to the linker with an absolute path
The previous way "<(PRODUCT_DIR)/../../" doesn't work very well with
some non-default output directories.

(This was fixed for linux in https://codereview.chromium.org/83673002)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270167 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-13 19:32:48 +00:00
erg@chromium.org 412bca1d04 Revert 269892 "linux_aura: Compile ash into chrome."
Major regression in chrome-si/initializers. Reverting for now to fix.

> linux_aura: Compile ash into chrome.
> 
> Running chrome with the "--open-ash" parameter will create an ash
> desktop window. Ash on Linux has some problems, but at least we're now
> compiling the code into the binary.
> 
> TODO: The applist isn't positioned correctly, and some details of the
> system tray aren't correct.
> 
> BUG=300084, 303862
> R=sky@chromium.org
> 
> Review URL: https://codereview.chromium.org/25108005

TBR=erg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269902 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-12 23:04:41 +00:00
erg@chromium.org 6f5917dca0 linux_aura: Compile ash into chrome.
Running chrome with the "--open-ash" parameter will create an ash
desktop window. Ash on Linux has some problems, but at least we're now
compiling the code into the binary.

TODO: The applist isn't positioned correctly, and some details of the
system tray aren't correct.

BUG=300084, 303862
R=sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269892 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-12 22:18:48 +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
torne@chromium.org 039f46ed0e Fix building android webview on arm64 on mac.
Android uses gcc 4.8 for target on arm64, so -Wno-unused-local-typedefs
gets added to the gcc command line; unfortunately the host toolchain on
mac does not support this flag. We have no way to detect the host
toolchain version in the WebView build because we generate makefiles in
advance instead of on the build machine, so just hardcode an exception
until the instances of this warning can be fixed and this entire
conditional section removed.

BUG=321833

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269766 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-12 11:10:16 +00:00
bengr@chromium.org 9bca20629b Use non-static set_key interface on DataReductionProxySettings
This removes the use of a static initializer and makes it possible
for clients to pass a key without owning the memory where the
key is stored (as would be the case if passed to a static const char*).

BUG=371626, 371204

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269578 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-10 12:16:52 +00:00
ycheo@chromium.org 9982794f8d Enable hole-punching in Android by default.
This CL also enables the tests for hole-punching.

BUG=329447
R=boliu@chromium.org, qinmin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269464 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-09 23:18:16 +00:00
thakis@chromium.org db3b2975f1 clang: Instead of having update.sh clobber out/, add a define with the current revision.
When clang is turned on or off, or when clang is updated, all .o files and all
precompiled headers need to be rebuilt. This is currently done by having the
update script remove the out/ directory. This has issues:
* It fails to catch build directories with different names (e.g. out_android)
* It removes other build artifacts (like resources) that don't need rebuilding
* It doesn't happen when turning clang off (i.e. moving clang -> gcc).

Instead, let common.gypi add a define with the current clang revision to each
source file. This way, the clang revision is on each compile's command line
and the build system's commandline tracking can take care of the rebuilding.

BUG=nativeclient:3840
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269427 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-09 22:01:28 +00:00
tapted@chromium.org 9c9a59fc2f Revert of Collect data reduction proxy UMA on all platforms (https://codereview.chromium.org/266033002/)
Reason for revert:
Causes a sizes regression, starting in http://build.chromium.org/p/chromium/builders/Linux%20x64/builds/64712

+# data_reduction_proxy_settings.cc data_reduction_proxy::DataReductionProxySettings::key_
+# data_reduction_proxy_settings.cc __cxa_atexit@plt [registers a dtor to run at exit]
+# data_reduction_proxy_settings.cc __init_array_end+0x3868
+# data_reduction_proxy_settings.cc __init_array_end+0x3b88
+# data_reduction_proxy_settings.cc __init_array_end+0x530

Original issue's description:
> Collect data reduction proxy UMA on all platforms
> 
> UMA for the data reduction proxy was gated behind preprocessor
> directives that resticted the logic to Android and iOS. This
> change opens UMA calculations and collection up to all platforms.
> 
> BUG=369619
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269026

TBR=mef@chromium.org,marq@chromium.org,bengr@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=369619

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269041 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-08 06:05:33 +00:00
bengr@chromium.org 505876d2e1 Collect data reduction proxy UMA on all platforms
UMA for the data reduction proxy was gated behind preprocessor
directives that resticted the logic to Android and iOS. This
change opens UMA calculations and collection up to all platforms.

BUG=369619

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269026 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-08 04:12:04 +00:00
dmikurube@chromium.org 1d85dfcfef Remove {linux|android}_use_tcmalloc and switch to use_allocator in Chromium.
If this change breaks some bots, please try restarting the 
bot before reverting it. http://crrev.com/264460 may not be 
effective yet until restarting.

See the bug and http://crrev.com/255129 for the details.

BUG=345554

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@268876 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-07 18:45:59 +00:00
mmenke@chromium.org 7c04abb493 Make it so net/ can be built without file:// support.
This is a step towards making it possible to build net/
without ICU.  ICU is used by directory_lister.cc, which
is used for creating file directory listings.

BUG=362608
R=mef@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@268766 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-07 15:05:29 +00:00
mmenke@chromium.org 2e6fc13a27 Make it possible to build url/ without ICU on android.
This is needed to reduce binary size of net/ when build as a
library.

BUG=362608

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@268740 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-07 14:05:46 +00:00