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

1988 Коммитов

Автор SHA1 Сообщение Дата
thakis@chromium.org 85bc9367dc Remove win_third_party_warn_as_error.
Its last client disappeared in https://codereview.chromium.org/373643002/

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284027 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-18 07:22:09 +00:00
dcaiafa@chromium.org f336a27d29 Enable x64 Chromoting host and installer
N.B. I had to move the sawbuck_provider in the .wxs out of the
installation directory. Even though it only contains registry changes,
candle will complain if it is not inside a directory, but the
application directory is platform specific, whereas sawbuck_provider is
always 32-bit.

BUG=394467

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284007 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-18 05:32:11 +00:00
tzik@chromium.org c5490bc8a5 Avoid macro redefinition in tools_sanity_unittest.cc
This causes build failure by macro redefinition on ASan-enabled build without -w flag.

BUG=162783

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283978 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-18 02:40:40 +00:00
rmcilroy@chromium.org 9f53519848 [Android]: Roll NDK to r10b-rc1.
This roll updates the arm64 and x86_64 ABIS to include changes in NDK r10b-rc1.
This also removes android_tools/ndk_experimental and moves all 64 bit targets
over to using android_tools/ndk instead.

BUG=393903

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283926 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-17 23:45:37 +00:00
petarj@mips.com 2f411f24eb [MIPS] Do not force clang for mipsel Linux
Fix the MIPS Linux build that was broken by r282266 (and r282246).
Related r282266 review is at https://codereview.chromium.org/382743002

TEST= build Chrome Linux for target_arch=mipsel

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283645 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-17 04:42:26 +00:00
andrewhayden@chromium.org f7d3fbc54d Expose the CLD data source in chrome://translate-internals
BUG=367239
TBR=toyoshim

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283550 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-16 22:33:10 +00:00
tzik@chromium.org 3c89ff5070 Enable warning on ASan-enabled build
Enables most of compiler warning on ASan build.

BUG=162783

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283535 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-16 22:02:30 +00:00
aurimas@chromium.org ca3f926241 Roll Android SDK to v20
BUG=393019
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283526 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-16 21:47:17 +00:00
hjd@chromium.org c9a540bd66 Add WebView Telemetry Bot Gyp Flag
The WebView Telemetry will build in the Chromium tree but
needs a few things turned off namely jarjar and the ICU data
file.

BUG=391488

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283363 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-16 05:46:24 +00:00
aurimas@chromium.org f8dd8bbece Start using 20.0.0 of Android build tools.
BUG=393019

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283004 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-14 20:04:49 +00:00
thakis@chromium.org 6b320f495f Hotfix to make clang-by-default work with gcc 4.8
A better fix is to set clang further up, so that gcc_version is set to
0 when clang is on automatically
( https://codereview.chromium.org/384633005 ). This is however blocked
on nacl also using the "clang" symbol, so that needs to be fixed first
( https://codereview.chromium.org/384793002 ). To make the build go for
people in the meantime, land this hack. I'll revert it once the nacl change has
landed in nacl and then rolled into chromium, and the better fix has landed.

BUG=360311
TBR=thestig@chromium.org
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@282377 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-10 18:01:57 +00:00
rmcilroy@chromium.org 4bce30c0bc [Android]: Don't omit the frame pointer on Arm64.
If we omit the frame pointer on Arm64 there is no way for
breakpad to correctly symbolize stack traces which contain
stack frames for which we don't have CFI information (e.g.,
system libraries like libc.so).  This is because the Arm64
ABI does not specify where a frame pointer should be in a
stack frame, so, without CFI information, there is no way 
to calculate the start of the caller's frame if the caller
omits the frame pointer.

More details are on the bug.

BUG=391706

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@282370 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-10 17:37:37 +00:00
yutak@chromium.org dda630d87b Revert of Revert of Turn on clang by default on linux, 3rd try. (https://codereview.chromium.org/378363006/)
Reason for revert:
This change should not have been reverted, since
it was easy to just disable these tests. thakis
explicitly requested "please ping thakis before
reverting it".

Original issue's description:
> Revert of Turn on clang by default on linux, 3rd try. (https://codereview.chromium.org/379413002/)
> 
> Reason for revert:
> NaClBrowserTestNonSfiMode.Messaging and NaClBrowserTestNonSfiMode.Irt failed.
> 
> http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests/builds/12124/steps/browser_tests/logs/Irt
> http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests/builds/12124/steps/browser_tests/logs/Messaging
> 
> Original issue's description:
> > Turn on clang by default on linux, 3rd try.
> > 
> > This is mostly to collect performance and size data for now, and to find out
> > if more bots need work. Unless things look really good, I'm going to revert
> > this by thursday morning (PDT).
> > 
> > BUG=360311
> > TBR=ajwong@chromium.org
> > 
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282246
> 
> TBR=awong@chromium.org,thakis@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=360311
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282265

TBR=awong@chromium.org,thakis@chromium.org,horo@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=360311

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@282266 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-10 07:36:38 +00:00
horo@chromium.org d9150cf0cf Revert of Turn on clang by default on linux, 3rd try. (https://codereview.chromium.org/379413002/)
Reason for revert:
NaClBrowserTestNonSfiMode.Messaging and NaClBrowserTestNonSfiMode.Irt failed.

http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests/builds/12124/steps/browser_tests/logs/Irt
http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests/builds/12124/steps/browser_tests/logs/Messaging

Original issue's description:
> Turn on clang by default on linux, 3rd try.
> 
> This is mostly to collect performance and size data for now, and to find out
> if more bots need work. Unless things look really good, I'm going to revert
> this by thursday morning (PDT).
> 
> BUG=360311
> TBR=ajwong@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282246

TBR=awong@chromium.org,thakis@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=360311

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@282265 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-10 07:27:19 +00:00
thakis@chromium.org 92f54f1df7 Turn on clang by default on linux, 3rd try.
This is mostly to collect performance and size data for now, and to find out
if more bots need work. Unless things look really good, I'm going to revert
this by thursday morning (PDT).

BUG=360311
TBR=ajwong@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@282246 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-10 03:55:24 +00:00
thakis@chromium.org 76def3e05b Enable _FORTIFY_SOURCE=2 with clang for official builds (unless sanitizers are used).
BUG=392573
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@282200 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-10 00:50:52 +00:00
thakis@chromium.org 885ff854cb Include stlport through -isystem instead of -I.
Enables removing a TODO and is needed for the bug linked below.

(Doesn't work for the webkit build for some reason, but that's currently
not built with clang anyhow.)

BUG=381053
R=cjhopman@chromium.org
TBR=brettw@chromium.org
NOTRY=true

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280406

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@282046 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-09 15:50:32 +00:00
feng@chromium.org 722c89746b [Android] Switch safe browsing to new code path
The existing safe_browsing=2 only exercises the code path using
flywheel protection. safe_browsing=1 uses new code path that
combines full safe browsing and flywheel.

However, the full safe browsing feature is controlled by Finch
experiment. Without Finch experiment setup, the behavior is the
same as before, i.e., only Flywheel safe browsing is enabled.

BUG=381896

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281991 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-09 07:51:50 +00:00
thakis@chromium.org ba8e336e17 Revert r281914
Many 32bit bots fail with "bits/predef" not found. Examples:
http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%2032/builds/25814/steps/compile/logs/stdio
http://build.chromium.org/p/chromium/builders/Linux/builds/51225

BUG=360311
NOTRY=true
NOTREECHECKS=true
TBR=ajwong@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281928 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-09 04:33:11 +00:00
thakis@chromium.org 91e604b6e2 Turn on clang by default on linux, 2nd try.
This is mostly to collect performance and size data for now. Unless things
look really good, I'm going to revert this by wednesday morning (PDT).

BUG=360311
TBR=awong@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281914 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-09 04:03:27 +00:00
thestig@chromium.org 8a62698a08 Cleanup: Remove references to reliability_tests in gyp files.
BUG=288383

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281673 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-08 06:08:34 +00:00
spang@chromium.org 4b870a5c12 ozone: Use test as default platform under ChromeOS
This is for the buildbots, which should use the test backend to pass.
We'll do better autodetection of the platform later.

TEST=none
BUG=none
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281558 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-07 17:42:44 +00:00
azarchs@chromium.org bb96c93efa Fix orderfile buildbot by excluding SaturatedArithmetic.h from instrumentation.
The methods in that header are inline assembly which require inlining, so
instrumentation doesn't work with them, and also doesn't matter.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281435 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-04 20:07:36 +00:00
simonb@chromium.org 994d6059d5 Add gyp machinery to build with packed ARM relative relocations.
Add gypi and python files to support packing ARM relative relocations
during the build process.

Define a use_relocation_packer gyp variable to turn ARM relocation
packing on and off (currently set to 0).

BUG=385553

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281286

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281433 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-04 19:58:34 +00:00
jungjik.lee@samsung.com 52422dc93f Fix up, add MEMORY_SANITIZER_INTIAL_SIZE define
Add MEMORY_SANITIZER_INTIAL_SIZE define
to set sanitizer's initial size.
this is a fixup patch of crrev.com/360693002

Bug=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281360 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-04 04:18:03 +00:00
csharp@chromium.org b6d3169dbe Revert 281286 "Add gyp machinery to build with packed ARM relati..."
Broke Android compile:
FAILED: cd ../../net; python ../build/android/gyp/pack_arm_relocations.py "--enable-packing=0" "--stripped-libraries-dir=../out/Release/gen/stripped_libraries" "--packed-libraries-dir=../out/Release/net_unittests_apk/libs/armeabi-v7a" "--libraries-file=../out/Release/net_unittests_apk/native_libraries.json" "--stamp=../out/Release/net_unittests_apk/pack_arm_relocations.stamp"
Traceback (most recent call last):
  File "../build/android/gyp/pack_arm_relocations.py", line 108, in <module>
    sys.exit(main())
  File "../build/android/gyp/pack_arm_relocations.py", line 99, in main
    CopyArmLibraryUnchanged(library_path, output_path)
  File "../build/android/gyp/pack_arm_relocations.py", line 58, in CopyArmLibraryUnchanged
    shutil.copy(library_path, output_path)
  File "/usr/lib/python2.7/shutil.py", line 117, in copy
    copyfile(src, dst)
  File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 2] No such file or directory: u'../out/Release/net_unittests_apk/libs/armeabi-v7a/libnet_unittests.so'
ninja: build stopped: subcommand failed.

> Add gyp machinery to build with packed ARM relative relocations.
> 
> Add gypi and python files to support packing ARM relative relocations
> during the build process.
> 
> Define a use_relocation_packer gyp variable to turn ARM relocation
> packing on and off (currently set to 0).
> 
> BUG=385553
> 
> Review URL: https://codereview.chromium.org/358863002

TBR=simonb@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281303 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-03 18:39:41 +00:00
simonb@chromium.org e2113a6ef4 Add gyp machinery to build with packed ARM relative relocations.
Add gypi and python files to support packing ARM relative relocations
during the build process.

Define a use_relocation_packer gyp variable to turn ARM relocation
packing on and off (currently set to 0).

BUG=385553

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281286 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-03 17:20:56 +00:00
lcwu@chromium.org 3241db0ae3 Add chromecast_build gyp variable and add rules when the variable is set to 1.
BUG=336640

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281285 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-03 17:20:15 +00:00
jochen@chromium.org 2de75c3040 Revert of Enable extended debugging symbols to including macro expansion. (https://codereview.chromium.org/198363002/)
Reason for revert:
Linux dbg builder runs out of memory

Original issue's description:
> Adding -g3 to get macro expansion support. (Default is -g2.)
> Adding -gdwarf-4 for macro expansion support.
> 
>  * gcc 4.6 outputs DWARF-2 by default
>  * gcc 4.7 outputs DWARF-4 by default
>  * clang <3.4 outputs DWARF-3 by default
>  * clang >3.4 outputs DWARF-4 by default
> 
> From http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html
> > -g3
> >  Level 3 includes extra information, such as all the macro
> >  definitions present in the program. Some debuggers support macro
> >  expansion when you use -g3.
> >
> > -gdwarf-4
> >  Produce debugging information in DWARF format (if that is
> >  supported). The value of version may be either 2, 3 or 4; the
> >  default version for most targets is 4.  Note that with DWARF
> >  Version 2, some ports require and always use some non-conflicting
> >  DWARF 3 extensions in the unwind tables.
> >
> >  Version 4 may require GDB 7.0 and -fvar-tracking-assignments for
> >  maximum benefit.
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257944
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280980

TBR=mark@chromium.org,mithro@mithis.com,thestig@chromium.org
NOTRY=true
NOTREECHECKS=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280986 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-02 09:31:33 +00:00
mithro@mithis.com 635765c29b Adding -g3 to get macro expansion support. (Default is -g2.)
Adding -gdwarf-4 for macro expansion support.

 * gcc 4.6 outputs DWARF-2 by default
 * gcc 4.7 outputs DWARF-4 by default
 * clang <3.4 outputs DWARF-3 by default
 * clang >3.4 outputs DWARF-4 by default

From http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html
> -g3
>  Level 3 includes extra information, such as all the macro
>  definitions present in the program. Some debuggers support macro
>  expansion when you use -g3.
>
> -gdwarf-4
>  Produce debugging information in DWARF format (if that is
>  supported). The value of version may be either 2, 3 or 4; the
>  default version for most targets is 4.  Note that with DWARF
>  Version 2, some ports require and always use some non-conflicting
>  DWARF 3 extensions in the unwind tables.
>
>  Version 4 may require GDB 7.0 and -fvar-tracking-assignments for
>  maximum benefit.

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257944

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280980 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-02 08:51:14 +00:00
kangil.han@samsung.com d5f663a4af Introduce enable_web_speech to replace with input_speech
Before this CL, implementation manipulated os condition
but that seemed not so straight forward.
Therefore, this CL introduced feature wise variable
so that later any os can easily enable/disable.

BUG=223198

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280972 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-02 07:38:21 +00:00
jungjik.lee@samsung.com b26a0f391b Use MEMORY_SANITIZER_INITIAL_SIZE for sanitizer.
Out-of-bounds reads based on pointer access.
so the initial size should be 1 at instance time.
This patch is related with crrev.com/357603002
and the original issue was crrev.com/22548004.

Bug=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280862 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-01 19:22:12 +00:00
anton@chromium.org 26162968a7 Revert of Include stlport through -isystem instead of -I. (https://codereview.chromium.org/359783005/)
Reason for revert:
This patch breaks Android Goma builds (the build continues locally very slowly).

https://groups.google.com/a/google.com/forum/#!topic/goma-users/KNsshiobTvE


Original issue's description:
> Include stlport through -isystem instead of -I.
> 
> Enables removing a TODO and is needed for the bug linked below.
> 
> (Doesn't work for the webkit build for some reason, but that's currently
> not built with clang anyhow.)
> 
> BUG=381053
> TBR=brettw@chromium.org
> NOTRY=true
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280406

TBR=cjhopman@chromium.org,thakis@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=381053

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280648 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-30 19:53:41 +00:00
rmcilroy@chromium.org 1e2ed6e6ce [Android]: Roll android_tools to update ndk_experimental to r10-rc3
This updates the arm64 and x86_64 ABIs to include the changes in NDK r10-rc3.

BUG=367378,354405,346626

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280499 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-28 05:45:30 +00:00
brettw@chromium.org f4de3efde4 Organize file lists in chrome_browser_ui.gypi
The main change is that there are no longer any ChromeOS exclusion lists.

It also cleans up the definition of all_list in common.gypi now that Linux assume aura.

TBR=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280495 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-28 05:36:50 +00:00
thakis@chromium.org e036791ec8 Include stlport through -isystem instead of -I.
Enables removing a TODO and is needed for the bug linked below.

(Doesn't work for the webkit build for some reason, but that's currently
not built with clang anyhow.)

BUG=381053
TBR=brettw@chromium.org
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280406 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-27 20:43:57 +00:00
byoungyoung@google.com 386330be39 Add preliminary support for UBsan's vptr in Chromium (-fsanitize=vptr).
Can be enabled using ubsan_vptr=1, but not working right now due to
1) Clang's missing library and 2) Clang's link bug.

BUG=174801

TBR=kbr@chromium.org, mseaborn@chromium.org
R=glider@chromium.org, inferno@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280162 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-26 23:31:40 +00:00
plundblad@chromium.org a94b27cbf3 Flip to use chromevox from uncompiled sources.
The only difference is that ChromeVox is flattened and compressed from
the individual source files instead of taken froma closure compiled version
from upstream.  Deleting the precompiled js binaries and removing support
for using that version will be done in a follow-up cl when this has
been used on canary/dev for a while.

BUG=371692

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280048 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-26 18:00:55 +00:00
andrewhayden@chromium.org d36f05e347 Make CLD data source default value actually overridable.
Silly oversight in initial checkin, this makes the default value overridable
so that other distributions can override it if they wish without having to
change common.gypi.

BUG=367239
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279963 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-26 08:35:01 +00:00
glider@chromium.org 035b7b28c4 Switch to tools/memory/tsan_v2/ignores.txt when building with ThreadSanitizer v2
This is a follow-up for r279695.

BUG=45482
TBR=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279813 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-25 21:11:54 +00:00
andrewhayden@chromium.org 150c19d8b6 Update docs for CLD2 dynamic data
BUG=367239
NOTRY=true
TBR=toyoshim@

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279698 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-25 12:57:15 +00:00
rtoy@chromium.org 9138e96dad Enable WebAudio on ARM64 and MIPS
This CL adds WebAudio support for ARM64 and MIPS. WebAudio is enabled by default.

BUG=354532, 349422

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279545 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-24 23:37:20 +00:00
andrewhayden@chromium.org b57fe71a96 This patch defines three mechanisms for acquiring CLD2's data:
1. Static linking (the way it is done today)
2. Standalone dynamic data file bundled with the application
3. Dynamic data file downloaded via the Component Updater

This change does NOT switch any implementation to a different cld data source.
Android/iOS remain pinned to CLD1, and all platforms continue to statically
link the data with cld2_data_source="static".

This change has several important side effects:
1. The gyp variables "cld2_dynamic" and "cld2_is_component" have been removed.
   There is now a single variable, "cld2_data_source", that defines which
   implementation is to be used.
2. cld_component_installer.[h,cc] and cld_component_installer_unittest.cc are
   now conditionally built if and only if cld2_data_source=="component" and
   have direct dependencies upon components/translate/content/browser.
3. Almost all preprocesser checks for the CLD data source have been removed,
   greatly simplifying code flow. The logic previously gated by these checks
   has been split into separate implementation classes whose inclusion is
   controlled by the cld2_data_source gyp variable.

For more information, refer to crbug/383769.

BUG=383769

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279415 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-24 15:54:26 +00:00
thakis@chromium.org de829cb407 Turn on C++11 when building with gcc4.8+
Revert with prejudice (after filing bugs / pinging me ) if this regresses perf or similar.

BUG=377668
R=ajwong@chromium.org
TBR=brettw

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279220 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-23 23:20:46 +00:00
thakis@chromium.org 1c59542c8c Revert of Enable FIXED_POINT and -O3 for Opus when building for ARM. (https://codereview.chromium.org/315673002/)
Reason for revert:
Media tests started failing consistently after this: http://build.chromium.org/p/chromium.memory.fyi/builders/Linux%20Tests%20%28tsan%29%281%29?numbuilds=200

It doesn't look super related, but the <() / >() change in common.gypi looks a bit suspicious, so revert this speculatively and see if it helps.

Original issue's description:
> - Enable FIXED_POINT for Opus when building for arm64. This yields:
>   ~21% speed up over floating point.
>   2.6% increase in executable size.
> - Also switched to late expansion of release_optimize in common.gypi (debug_optimize was already using it). This makes it possible to set optimization level via release_optimize in lower level targets.
> 
> - Enable -O3 for Opus when building form arm32/arm64. This yields:
>   arm32: Speed increase up to 21% (encode) and 5% (decode).
>   arm32: 2.8% increase in executable size.
>   arm32: Output is bit exact with the output when -Os is used.
>   arm64: Speed increase up to 18% (encode) and 25% (decode).
>   arm64: 7.4% increase in executable size.
>   arm64: Output is exact within one LSB (max difference is 2) with the arm32 output.
> 
> Measured using webrtc/audio_codec_speed_tests.
> 
> BUG=chromium:354539
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277414

TBR=tlegrand1, Sergey Ulanov, Solis
NOTRY=true
NOTREECHECKS=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279198 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-23 22:20:19 +00:00
earthdok@chromium.org aebcc92199 MSan: introduce a GYP flag to control origin tracking.
By setting msan_track_origins, the user can now choose between no origin
tracking (0), simple tracking (1) and chained origins (2). The default is
still 1.

Note that this doesn't affect instrumented libraries build, and is not
currently compatible with instrumented libraries for values of
msan_track_origins other than 1.

BUG=178409
TBR=glider@chromium.org, thakis@chromium.org
NOTRY=true
TEST=compile

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279127 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-23 17:14:15 +00:00
haitaol@chromium.org 3954978939 Define a single macro for enabling backup function on desktop: win, mac (exclude ios),
linux (exclude cros).

BUG=362679

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@278659 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-20 09:57:04 +00:00
bengr@chromium.org 5d26bc4601 Add probe to warm data reduction proxy
On startup and on network changes, a request is made to the data reduction proxy to warm the connection. This reduces the page load time for first loads.

BUG=354438

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@278210 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-19 01:03:21 +00:00
sebmarchand@chromium.org 6568eab110 Rename FORCE_DETERMINISTIC_BUILD to DONT_EMBED_BUILD_METADATA.
Strictly speaking this flag isn't here to force a deterministic build, it's here to help us to make sure that no build metadata ends up in the build artifacts to help us guarantee a deterministic build.

(See the discussion in https://codereview.chromium.org/324403006/ for more details)

FTR, Nico said he'll take care of getting rid of __DATE__ and __TIME__ so this
new define will not be necessary for that.

On the other hand we may have issues with absolute path in __FILE__ and whatever
unforeseen C++ issue. This would require #ifdef'ing them out. This is not
something devs would want to do normally so this flag is off by default.

Eventually we'll want to fix the build system to not have to hack __FILE__ out
by ensuring they are *always* relative paths but until then, this variable can
be used to make progress


R=maruel@chromium.org, thakis@chromium.org
TBR=brettw@chromium.org

BUG=314403

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@278053 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-18 13:10:04 +00:00
solenberg@chromium.org 5358d339b3 - Enable FIXED_POINT for Opus when building for arm64. This yields:
~21% speed up over floating point.
  2.6% increase in executable size.
- Also switched to late expansion of release_optimize in common.gypi (debug_optimize was already using it). This makes it possible to set optimization level via release_optimize in lower level targets.

- Enable -O3 for Opus when building form arm32/arm64. This yields:
  arm32: Speed increase up to 21% (encode) and 5% (decode).
  arm32: 2.8% increase in executable size.
  arm32: Output is bit exact with the output when -Os is used.
  arm64: Speed increase up to 18% (encode) and 25% (decode).
  arm64: 7.4% increase in executable size.
  arm64: Output is exact within one LSB (max difference is 2) with the arm32 output.

Measured using webrtc/audio_codec_speed_tests.

BUG=chromium:354539

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277414 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-16 13:28:03 +00:00
earthdok@chromium.org 9819ea1185 Update the default GYP flags for sanitizer tools.
- use_allocator=none is the default for all tools which replace the allocator,
- for MSan, use_custom_libcxx=1 and v8_target_arch=arm64 are the default.

BUG=302040
R=glider@chromium.org
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277404 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-16 11:21:17 +00:00
ajwong@chromium.org 69978e526a Remove -Wl,gdb-index.
The common case build path does not include running things under a debugger.
Use gdb-add-index instead to generate the index section.

See this chromium-dev thread for background:
  https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/CnRm0EIBp0E

BUG=374952

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277210 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-14 08:48:16 +00:00
brettw@chromium.org 52c1224e76 Hook up content/browser compile in GN build.
I've started changing the way grit headers are included so the include path is relative to the root gen path (liek internal Google does). This also means we don't accumulate another implicit include path for every grit target in the build.

Updates the grit target a bit so that it also includes the generated id file as a dependency, since if this changes everything will need to be re-run.

This adds a bunch of tracing targets required by the content browser build

TBR=scottmg

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277124 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-13 23:18:04 +00:00
hamaji@chromium.org fcf148aeab Do not define OS_CHROMEOS for untrusted NaCl code
so that we do not need !defined(__native_client) for Chrome
OS specific clock ID.

TEST=Manually checked untrusted code does not have OS_CHROMEOS
     and trusted code does have it.
TEST=trybots
BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276985 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-13 09:28:41 +00:00
sebmarchand@chromium.org d0506e6d31 Add a new FORCE_DETERMINISTIC_BUILD define.
This flag will be used to make the builds determinist, e.g. in place like this one: https://code.google.com/p/chromium/codesearch#chromium/src/base/build_time.h&l=15

BUG=314403

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276801 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 21:01:19 +00:00
sebmarchand@chromium.org 16c89af355 Disable Warning 4702 for the PGO builds.
There's more optimization done on a PGO build than on a regular one, this results in some "Unreachable code" warnings that we don't see normally.

But probably anything that this would catch that wouldn't be caught in a normal build isn't going to actually be a bug, so the incremental value of C4702 for PGO builds is likely very small and blocks the setup of the PGO bots.

BUG=380175

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276737 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 18:06:31 +00:00
sehr@chromium.org db2d0ef2fe Enable about:nacl and correct symbol visibility for the plugin
After this change, if libppGoogleNaClPluginChrome.so is placed in the install
directory it correctly starts and attempts to create a subprocess.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3032
R=bradnelson@google.com, darin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276724 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 17:20:42 +00:00
xhwang@chromium.org 1b11225f7e Introduce the ENABLE_BROWSER_CDMS macro.
This will be defined when a platform needs to use browser side CDM to implement
EME API. Currently this is only used on Android.

Note that MediaWebContentsObserver is shared by Android media player managers
and browser CDM managers. Since ENABLE_BROWSER_CDMS is always true on Android,
we only check ENABLE_BROWSER_CDMS to decide whether MediaWebContentsObserver
should be used. Also, in media_web_contents_observer.*, we only check
OS_ANDROID to decide whether Android media player code should be used. This is
not perfect but makes the current code simple. This will be fixed when we have
a general (not Android specic) media player manager.

TBR=yfriedman@chromium.org
BUG=315312
TEST=Compiles on Android. Test pages still work on Android. Compiles when I choose to use browser CDM on Linux.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276200 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-10 23:21:53 +00:00
torne@chromium.org 8787f0ce81 Revert 275652 "Remove unneeded JNI registrations."
This has broken the Android WebView build by introducing an absolute
path into the generated makefiles, rendering them nonportable.

> Remove unneeded JNI registrations.
> 
> Rather than registering all jni bindings at startup, only get references
> to the class object for those files which require bindings. All others
> are satisfied by exporting symbols which can be found automatically by
> dalvik.
> 
> This patch replaces excldue-libs=ALL with ld version script to strip unwanted
> symbols: https://sourceware.org/binutils/docs-2.24/ld/VERSION.html#VERSION
> 
> BUG=
> 
> Review URL: https://codereview.chromium.org/147533004

TBR=sl.ostapenko@samsung.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@275796 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-09 11:33:38 +00:00
sl.ostapenko@samsung.com 7737adfc4c Remove unneeded JNI registrations.
Rather than registering all jni bindings at startup, only get references
to the class object for those files which require bindings. All others
are satisfied by exporting symbols which can be found automatically by
dalvik.

This patch replaces excldue-libs=ALL with ld version script to strip unwanted
symbols: https://sourceware.org/binutils/docs-2.24/ld/VERSION.html#VERSION

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@275652 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-07 08:44:55 +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
scottmg@chromium.org 8e34172cba Set /SUBSYSTEM down to 5.02 on x64 to more closely match x86
This makes us get XP/Server 2003 compatible metrics for window
sizes and so indirectly fixes pixels being cut off at the top
of the window.

(Server 2003 compatible metrics make us match x86 behaviour, and
since we need to maintain XP subsystem there indefinitely, I can
sort of rationalize it on that basis.)

R=jschuh@chromium.org, wfh@chromium.org
BUG=361720

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@274853 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-04 17:16:04 +00:00
sehr@chromium.org ef8b215c4f Gate disabling nacl code on proper gyp flags, etc.
Background: I am currently trying to test NaCl in clank by setting disable_nacl=0 and enable_plugins=1 in gyp.  Some of the code required to get this to work is guarded under overly-specific OS==android and similar constructs.  This first CL enables a coherent build with the flags set to gyp, but does not yet turn the functionality on completely.  A sampling of issues fixed:

1) std:: prefix is more strictly observed on android
2) define NACL_LINUX, etc., is needed for nacl code
3) properly guard flag-setting code

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3032
R=bradnelson@google.com, darin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@274839 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-04 15:39:58 +00:00
glider@chromium.org 195914342a Move system_libdir to a deeper variable dict to fix issue 369119
(system_libdir being undefined in third_party/harfbuzz-ng/harfbuzz.gyp)

BUG=369119
R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@274680 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-04 00:17:11 +00:00
erg@chromium.org fad8ea4a57 linux_aura: Disable the plugin install infobar.
BUG=379425

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@274345 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-02 21:51:04 +00:00
bengr@chromium.org f73eb7285a Added alternative configuration for the data reduction proxy
Added a second configuration that can support two http proxies and one https proxy. In the process, added a new DataReductionProxyParams object to encapsulate static configuration details and made DataReductionSettingsAndroid a BrowserKeyedContextService.

BUG=370039

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273810

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@274067 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-31 22:19:48 +00:00
glider@chromium.org d08bf4e67e Add preliminary support for UBSan in Chromium.
Right now ubsan=1 doesn't work with Chromium-packaged Clang because of missing libraries.

BUG=174801
R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273944 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-30 23:59:01 +00:00
ch.dumez@samsung.com 279251b4de Drop ENABLE_NEW_GAMEPAD_API build flag as it is no longer needed
Drop ENABLE_NEW_GAMEPAD_API build flag as it is no longer needed now that
the Blink side has been updated and all the #ifdefs have been removed.

R=dmichael@chromium.org, brettw@chromium.org
BUG=344556

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273921 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-30 22:49:25 +00:00
battre@chromium.org fa3e997afd Revert 273810 "Added alternative configuration for the data redu..."
Reverting due to failing tests. See http://crbug.com/370039#c5 for details.

> Added alternative configuration for the data reduction proxy
> 
> Added a second configuration that can support two http proxies and one https proxy. In the process, added a new DataReductionProxyParams object to encapsulate static configuration details and made DataReductionSettingsAndroid a BrowserKeyedContextService.
> 
> BUG=370039
> 
> Review URL: https://codereview.chromium.org/286013002

TBR=bengr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273824 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-30 13:44:43 +00:00
bengr@chromium.org 3a01f2bda9 Added alternative configuration for the data reduction proxy
Added a second configuration that can support two http proxies and one https proxy. In the process, added a new DataReductionProxyParams object to encapsulate static configuration details and made DataReductionSettingsAndroid a BrowserKeyedContextService.

BUG=370039

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273810 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-30 13:06:23 +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
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