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

6299 Коммитов

Автор SHA1 Сообщение Дата
radhikabhar@chromium.org d32f4e5e0c Whitespace modification
Review URL: https://codereview.chromium.org/296703006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271991 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 22:36:14 +00:00
brettw@chromium.org 113f4db58e Suppress psabi warnings in GN build.
These are disabled currently in the Android ARM GYP build. This patch disables it for all ARM builds since the warning appears when cross-compiling to ARM on Linux without Android (this isn't something people normally compile, so probably nobody noticed).

R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271951 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 20:07:00 +00:00
jam@chromium.org 1dd5cca7ad Remove chrome_official_builder's dependency on pdf. I don't see why it's needed, since the chrome target depends on pdf.
R=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271943 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 19:47:05 +00:00
brettw@chromium.org 76dfaae6fa Fix mac GN build.
--fatal-warnings don't seem to be supported. This also adds support for mach_logging files which were added recently.

BUG=
R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271942 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 19:45:15 +00:00
brettw@chromium.org de5b4d45cb Add GPU command buffer sevice and protobuf to GN build
Adds a protobuf target and a template for defining protos. This handles doing host builds of protoc when cross-compiling.

The command buffer sevice wants more optimization on Android, so this patch generalizes the solution. Normally Android, like Windows, optimizes for size. This now adds support on Android for speed optimization just like Windows does. Mac & Linux always optimize for speed.

Removes the declare_args call around the gcc_version. This was parameterized to be different if is_android was set, which isn't valid because build parameters can't vary across toolchains. Since this value is derived from the environment, I just removed the declare_args call.

BUG=
R=piman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271941 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 19:42:31 +00:00
zea@chromium.org f5a249a697 Disable ElfCoreDumpTest.ValidCoreFile on Android
Fails flakily on Android.

BUG=375838
R=johnme@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271929 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 18:31:26 +00:00
scottmg@chromium.org fec8ddd435 Revert 271737 "Revert 271721 "VS2013 Update 2""
https://src.chromium.org/viewvc/chrome?view=rev&revision=271919 fixes the
compiler crash, http://src.chromium.org/viewvc/chrome?view=rev&revision=271780
fixes the bug in landmines that didn't allow the initial land/revert to
go smoothly.

Should be A-OK this time.

> Revert 271721 "VS2013 Update 2"
> 
> static_library build ICEing on some builders on mini_installer.
> 
> > VS2013 Update 2
> > 
> > As discussed in the linked bug, the toolchain2013.py script in
> > depot_tools is no longer workable (because the update for Update 2 is
> > supplied as a .msp that must be applied against a system-installed
> > VS2013).
> > 
> > As such, the Express hash here is not updated.
> > 
> > The hash zip referenced here was built as follows:
> > - Install VS2013 Update 2 on a clean VM
> > - Copy DIA SDK\, VC\
> > - Copy DLLs from VC\redist to sys32\ and sys64\
> > - Copy win8sdk unchanged from previous .zip.
> > - Delete various unused arm\ subdirectories
> > - Delete the IDE-only Snippets, etc. subdirectories in VC\
> > - Patch VC\include\xtree to disable warning 4702 per request in
> >   http://crbug.com/346399 .
> > 
> > A followup change will be to write a script that does these steps
> > semi-automatically, hopefully for Express too, though there is the
> > added complication of the WDK/ATL/MFC hacking required there. In
> > particular, this script will not be useful for a dev to actually run
> > as part of runhooks, but will be a bit useful for deployment/
> > documentation of the above process.
> > 
> > In the interim there are no extremely-pressing reasons for Express
> > users to update to Update2 that I'm aware of, so they get non-Update2
> > for now.
> > 
> > R=iannucci@chromium.org
> > BUG=372451,346399,371847,339215,350639
> > 
> > Review URL: https://codereview.chromium.org/284663003
> 
> TBR=scottmg@chromium.org
> 
> Review URL: https://codereview.chromium.org/297753002

TBR=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271921 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 17:10:43 +00:00
tfarina@chromium.org 7bb0c89165 Add extensions_unittests to chromium_builder_tests target.
This is the first step into getting this target running on
TS/CQ/Waterfall system.

BUG=348066
TEST=green trybots
R=yoz@chromium.org,stip@chromium.org
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271871 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 07:53:49 +00:00
navabi@google.com 64b8fcf55b Add navabi to OWNERS for build/android/pylib.
3 out of 4 existing owners have since left Chrome.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271863 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 05:17:19 +00:00
cjhopman@chromium.org 06847d4460 Change device directory of shared libs
On some devices, the renderer cannot load shared libraries from
/data/local/tmp. Instead, put them somewhere in /data/data (where the
renderer can load them from).

This only affects gyp_managed_install.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271858 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 04:03:14 +00:00
cthomp@chromium.org 8af0b5df78 Adding to whitespace_file.txt as an introduction to Chromium SCM
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271853 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 03:49:28 +00:00
scottmg@chromium.org e6a3b463ef fix line endings on visual_studio_version.gni
So CQ works on https://codereview.chromium.org/290713002

TBR=brettw@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271827 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 03:05:06 +00:00
mlamouri@chromium.org b61ea82960 Move AddBuildTypeOption to adb_install_apk.py and remove test_options_parser.py
BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271820 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 02:27:41 +00:00
kkimlabs@chromium.org dce1eb985b [Android] Fix adb realpath command failure.
In android_commands.py's GetFilesChanged function,
realpath command fails when the path does not exist.
Create the path before we call GetFilesChanged.

BUG=374859

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271817 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 02:19:16 +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
brettw@chromium.org b2afaaf8b3 Start work on GN build for content/common
Add a skeleton build file for content/common that lists the basic deps, and processes the sources. This can keep track of the deps that have been converted and allows easy testing of the .gypi reading.

Changes content_common.gypi to separate out the public and private sources. The .gypi combines them both into the 'sources' so current users of this file should not be affected. This allows the GN build to declare the public API.

Enhance the gypi-to-gn script to strip conditions and collapse variables to allow the content .gypis to be read in.

Adds some simple BUILD.gn files for dependencies of content/common

Fix typo in accessibility.gyp that I discovered when writing the GN build.

R=jam@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271767 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-20 21:52:34 +00:00
scottmg@chromium.org 9c86e7e0cd Revert 271721 "VS2013 Update 2"
static_library build ICEing on some builders on mini_installer.

> VS2013 Update 2
> 
> As discussed in the linked bug, the toolchain2013.py script in
> depot_tools is no longer workable (because the update for Update 2 is
> supplied as a .msp that must be applied against a system-installed
> VS2013).
> 
> As such, the Express hash here is not updated.
> 
> The hash zip referenced here was built as follows:
> - Install VS2013 Update 2 on a clean VM
> - Copy DIA SDK\, VC\
> - Copy DLLs from VC\redist to sys32\ and sys64\
> - Copy win8sdk unchanged from previous .zip.
> - Delete various unused arm\ subdirectories
> - Delete the IDE-only Snippets, etc. subdirectories in VC\
> - Patch VC\include\xtree to disable warning 4702 per request in
>   http://crbug.com/346399 .
> 
> A followup change will be to write a script that does these steps
> semi-automatically, hopefully for Express too, though there is the
> added complication of the WDK/ATL/MFC hacking required there. In
> particular, this script will not be useful for a dev to actually run
> as part of runhooks, but will be a bit useful for deployment/
> documentation of the above process.
> 
> In the interim there are no extremely-pressing reasons for Express
> users to update to Update2 that I'm aware of, so they get non-Update2
> for now.
> 
> R=iannucci@chromium.org
> BUG=372451,346399,371847,339215,350639
> 
> Review URL: https://codereview.chromium.org/284663003

TBR=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271737 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-20 20:13:56 +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
brettw@chromium.org 9a06fdddb7 GN build improvements, misc plus
Parameterize webrtc enabling.

Add use_seccomp_pbf flag

Add a webkit version target

Work on ui/base GN build, especially on Windows. This target is a mess (in GYP). This patch tries to make it make a bit more sense while fixing the errors I found.

Fix ui/gl target for non-Linux platform. A bunch of X11 stuff was not parameterized.

Add unscaled resources target

BUG=
R=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271724 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-20 19:20:40 +00:00
scottmg@chromium.org bcba7faa6f VS2013 Update 2
As discussed in the linked bug, the toolchain2013.py script in
depot_tools is no longer workable (because the update for Update 2 is
supplied as a .msp that must be applied against a system-installed
VS2013).

As such, the Express hash here is not updated.

The hash zip referenced here was built as follows:
- Install VS2013 Update 2 on a clean VM
- Copy DIA SDK\, VC\
- Copy DLLs from VC\redist to sys32\ and sys64\
- Copy win8sdk unchanged from previous .zip.
- Delete various unused arm\ subdirectories
- Delete the IDE-only Snippets, etc. subdirectories in VC\
- Patch VC\include\xtree to disable warning 4702 per request in
  http://crbug.com/346399 .

A followup change will be to write a script that does these steps
semi-automatically, hopefully for Express too, though there is the
added complication of the WDK/ATL/MFC hacking required there. In
particular, this script will not be useful for a dev to actually run
as part of runhooks, but will be a bit useful for deployment/
documentation of the above process.

In the interim there are no extremely-pressing reasons for Express
users to update to Update2 that I'm aware of, so they get non-Update2
for now.

R=iannucci@chromium.org
BUG=372451,346399,371847,339215,350639

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271721 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-20 19:15:33 +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
qsr@chromium.org 88178bfcb7 Add timeout for usb charging commands.
Also check that we are root, as non rooted cannot control usb charging.

BUG=375178
R=tonyg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271670 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-20 15:56:32 +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
brettw@chromium.org e31e6dca13 Make skia compile in Android GN build.
Adds a bunch of ARM configuration and assembly sources. MIPS still not done.

Implements the Android Freetype build and fixes expat.

Fixes some minor optimization-related flags I noticed along the way.

TBR=djsollen@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271603 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-20 07:00:44 +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
brettw@chromium.org 294439de90 Fix Windows GN build.
The compiler file unconditionally depenended on the GCC version.

TBR=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271347 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-19 06:50:17 +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
dmazzoni@chromium.org 634a02f42e Ignore accessibility events fired on objects that aren't in the tree.
BUG=371039

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271251 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-17 18:05:32 +00:00
bulach@chromium.org 85469d7c70 Android: cleanup gtest_target_type conditions.
For a long time (crrev.com/133053) OS==android implies:
gtest_target_type=shared_library
Cleanup the spurious conditions and obsolete TODOs.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271222 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-17 16:09:58 +00:00
jbudorick@chromium.org 30066e68b7 [Android] Convert to DeviceUtils versions of IsOnline, HasRoot, and EnableRoot.
BUG=267773

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271213 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-17 15:52:50 +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
szager@chromium.org 42e580c207 Whitespace change to kick git_updater.
R=iannucci@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271131 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-17 00:52:41 +00:00
iannucci@chromium.org a1b73ce33f Whitespace change to verify new updater.
TBR=szager@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271130 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-17 00:38:10 +00:00
hinoka@google.com 43157a94ba Update whitespace file to refresh builders.
BUG=374392
TBR=erg
NOTRY=True

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271103 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-16 21:36:38 +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
brettw@chromium.org 6e16d7065e Hook up base unit tests and allocator to GN build.
Adds a meta-target "//base/allocator" that forwards to tcmallor or nothing depending on the build configuration.

Write tcmalloc target definition.

Write base unit tests prefs, and some support targets from base.gypi.

Fix a bunch of added files in the base target that were exposed by linking the unit tests.

Removes toolkit_uses_gtk which was removed from the GYP build.

BUG=
R=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271079 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-16 19:33:08 +00:00
brettw@chromium.org 6c4f020b94 Support private values in GN.
This adds special handling for variables that begin with underscores, which is inspired by Dart. Such variables are not imported when doing an import, which gives .gni files a way to have intermediate private variables that won't pollute the scopes of the files that include them.

This also applies to the root build config, which can have private values now.

Adds some missing unused variable checks. This was disabled because processing imports would mean all imported variables were unused, and files not using all of them would get unused variable errors. This adds the option to mark merged values on a scope as used, which is used for imported values.

BUG=341738
R=cjhopman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271078 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-16 19:31:36 +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
cjhopman@chromium.org 82d0ced614 Make it harder to leak temp files on devices
This extracts the device temp file creation deletion into a context
manager. This context manager will delete the temporary file when
leaving the with: scope.

Also changes logic for finding a temp file from a linear search from 0
to just using a random number (still checking that the file doesn't
exist). Both of these approaches could return the same file in
consecutive calls if the earlier files aren't written to (though it is
nearly impossible with the random number approach instead of essentially
guaranteed).

Removed the temp file name patterns and just added a prefix+suffix
argument to DeviceTempFile (like tempfile.NamedTemporaryFile).

BUG=371054

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270917 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-16 03:21:27 +00:00
brettw@chromium.org fcd95cdef3 Add GN build for parts of gpu and ozone.
Moves existing ozone platform flag to new .gni file with all ozone flags in it.

R=piman@chromium.org, rjkroege@chromium.org, spang@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270780 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-15 19:39:14 +00:00
brettw@chromium.org f2677258aa Remove the hard_dep flag in GN.
This was not hooked up but I kept it being acceptsed until all uses can be deleted. This deletes the remaining uses from the tree.

R=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270779 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-15 19:38:00 +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
brettw@chromium.org 84171adb19 Fix line endings on build/util/BUILD.gn
TBR=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270723 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-15 17:40:09 +00:00
starodub@google.com 877e21088f Removed unneccessary wait that caused 10s timeout per gtest.
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270719 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-15 17:32:09 +00:00
phajdan.jr@chromium.org 2b050ea497 Whitespace change to kick the bots.
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270660 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-15 13:18:42 +00:00