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

1807 Коммитов

Автор SHA1 Сообщение Дата
wittman@chromium.org fd38b4a5a7 Remove enhanced bookmarks extension
Experimentation around bookmark styling in Chrome is being conducted
in a separate extension, so this in-tree component extension is no
longer needed.

This reverts r226314.

BUG=311282
R=estade@chromium.org, kalman@chromium.org, sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258008 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 16:51:58 +00:00
sebmarchand@chromium.org f1f48f9eb5 Put the syzygy targets behind a 'syzygy_optimize' flag.
R=chrisha@chromium.org, pkasting@chromium.org

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257972 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 15:25:54 +00:00
pneubeck@chromium.org 42452d82b5 Revert of Enable extended debugging symbols to including macro expansion. (https://codereview.chromium.org/198363002/)
Reason for revert:
Might be the cause for memory exhaustion during compilation on the Linux dbg build bot:

http://build.chromium.org/p/chromium.linux/buildstatus?builder=Linux%20Builder%20%28dbg%29%2832%29&number=21991

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

TBR=stuartmorgan@chromium.org,erg@chromium.org,mark@chromium.org,mmoss@chromium.org,thestig@chromium.org,mmoss@google.com,mithro@mithis.com
NOTREECHECKS=true
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257959 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 13:53:16 +00:00
pneubeck@chromium.org 966517c82c Revert of Moving binutils version extraction so it works with clang. (https://codereview.chromium.org/199333007/)
Reason for revert:
Seems to break runhooks on several bots, like:
http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%2BLSan%20Builder/builds/1188

Error: Command /usr/bin/python src/build/gyp_chromium returned non-zero exit status 1 in /b/build/slave/Linux_ASan_LSan_Builder/build
Updating projects from gyp files...
/bin/sh: 1: clang++: not found
compiler_version.py failed to execute: clang++ -Xassembler --version -x assembler -c /dev/null
Command 'clang++ -Xassembler --version -x assembler -c /dev/null' returned non-zero exit status 127
gyp: Call to 'python ../build/compiler_version.py assembler' returned exit status 1.

Original issue's description:
> Moving binutils version extraction so it works with clang.
> 
> BUG=352046
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257943

TBR=thestig@chromium.org,thakis@chromium.org,mithro@mithis.com
NOTREECHECKS=true
NOTRY=true
BUG=352046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257954 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 13:09:01 +00:00
andrewhayden@chromium.org 717e9df6cd Add a switch to control which CLD2 tables are used at build time.
Mobile platforms have traditionally opted for smaller binaries. These options allow mobile
platforms some flexibility in trading language detection accuracy for binary size.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257949 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 12:10:59 +00:00
mithro@mithis.com b05026fa67 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.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257944 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 12:07:41 +00:00
mithro@mithis.com 40db6db80d Moving binutils version extraction so it works with clang.
BUG=352046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257943 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 12:01:51 +00:00
mithro@mithis.com daf1b98c82 GCC didn't officially add -gsplit-dwarf until version 4.8
I tested with gcc 4.8 and then believed the internet when it said 4.7 had support. Someone was wrong on the internet, inconceivable!

Confirmed not supported on 4.7 via GCC release notes at
http://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Debugging-Options.html#Debugging-Options

Confirmed supported on 4.8 via GCC release notes at
http://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Debugging-Options.html#Debugging-Options

Issue reported by sigbjornf@opera.com

BUG=352046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257861 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 06:05:45 +00:00
bajones@chromium.org 391d9d392e Removing Chrome Gamepad transition cruft (Take 2)
"Don't break the build this time" edition.

BUG=344556
TBR=eseidel@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257694 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 18:09:23 +00:00
sky@chromium.org c5254ee808 Adds the ability for the renderer to create the mojo channel
This is initiated and owned by RenderProcessHost. I've added a
method to RenderProcessHostImpl to create the channel. No one is
calling it yet, that will come after this.

RenderProcessHostImpl::CreateMojoChannel initiates the connection and
sends an IPC message to the renderer. The renderer than creates its
end of the connection.

End to end test will come once I've added all the pieces.

BUG=none
TEST=none
R=darin@chromium.org, tsepez@chromium.org, viettrungluu@chromium.org

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

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257691 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 18:03:05 +00:00
zhenyu.liang@intel.com a09598469d Enable Android x64 build
BUG=346626

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257683 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 17:43:48 +00:00
thakis@chromium.org 82f66f34fa Revert 257618 "roll clang 198389:202554"
A bunch of mac builder bots are still on 10.6 (http://crbug.com/353529)          

> roll clang 198389:202554
> 
> This change contains several big changes, many of the caused by upstream
> llvm enabling c++11 in their codebase and thus having higher minimum
> requirements for their toolchain and runtime environment:
> 
> * clang on OS X now requires libc++, which means it'll only run on OS X 10.7+,
>   so change the deployment target from 10.5 to 10.7 (we were planning on
>   requiring 10.8 or 10.9, see bug 335325, but since several people are waiting
>   on a new clang, let's go to 10.7 only for now and do more as a follow-up)
> * On OS X, the compiler is only usable with libc++ if libc++ is checked out
>   and `make install` is run, so do that for the phase 1 compiler.
>   (Chrome doesn't use libc++ yet, so we don't do that for the bootstrapped
>   compiler.)
> * clang on linux now needs libstdc++ 4.7+ which isn't present on precise.
>   So we now include a newer libstdc++ in the compiler bundle (meaning
>   this clang should still run on precise).
> * clang is broken for android at r202554. To unblock oilpan, merge three
>   later changes into this roll, llvm r202793, r203601, and r203635
> 
> Regular, less tricky clang roll stuff:
> * Disable the new warning -Wabsolute-value for now (crbug.com/351479
>   for turning it on)
> * Disable -Wno-tautological-pointer-compare for libxml where it now
>   fires.
> * Since this bundles a new version of the oilpan plugin, bump its suffix to _3
> * Change plugin code to track upstream api change
> * Remove plugin flag check-url-directory as that's now always on
> 
> Due to the c++11 stuff, it's likely that this change will get reverted a few times.
> 
> BUG=351479, 287029,341352,333968,335325
> TBR=hans@chromium.org
> 
> Review URL: https://codereview.chromium.org/195623002

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257620 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 11:57:13 +00:00
thakis@chromium.org 17e657dcc7 roll clang 198389:202554
This change contains several big changes, many of the caused by upstream
llvm enabling c++11 in their codebase and thus having higher minimum
requirements for their toolchain and runtime environment:

* clang on OS X now requires libc++, which means it'll only run on OS X 10.7+,
  so change the deployment target from 10.5 to 10.7 (we were planning on
  requiring 10.8 or 10.9, see bug 335325, but since several people are waiting
  on a new clang, let's go to 10.7 only for now and do more as a follow-up)
* On OS X, the compiler is only usable with libc++ if libc++ is checked out
  and `make install` is run, so do that for the phase 1 compiler.
  (Chrome doesn't use libc++ yet, so we don't do that for the bootstrapped
  compiler.)
* clang on linux now needs libstdc++ 4.7+ which isn't present on precise.
  So we now include a newer libstdc++ in the compiler bundle (meaning
  this clang should still run on precise).
* clang is broken for android at r202554. To unblock oilpan, merge three
  later changes into this roll, llvm r202793, r203601, and r203635

Regular, less tricky clang roll stuff:
* Disable the new warning -Wabsolute-value for now (crbug.com/351479
  for turning it on)
* Disable -Wno-tautological-pointer-compare for libxml where it now
  fires.
* Since this bundles a new version of the oilpan plugin, bump its suffix to _3
* Change plugin code to track upstream api change
* Remove plugin flag check-url-directory as that's now always on

Due to the c++11 stuff, it's likely that this change will get reverted a few times.

BUG=351479, 287029,341352,333968,335325
TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257618 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 10:53:25 +00:00
bajones@chromium.org d942560bf1 Revert of Removing Chrome Gamepad transition cruft (https://codereview.chromium.org/202043003/)
Reason for revert:
Forgot to roll WebKit deps.

Original issue's description:
> Removing Chrome Gamepad transition cruft
> 
> BUG=344556
> TBR=eseidel@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257454

TBR=eseidel@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=344556

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257460 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 17:18:53 +00:00
bajones@chromium.org 91057f440e Removing Chrome Gamepad transition cruft
BUG=344556
TBR=eseidel@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257454 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 16:56:54 +00:00
jochen@chromium.org ee603348ad Fixing gyp syntax
TBR=thakis@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257444 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 16:28:53 +00:00
jochen@chromium.org 2c25922338 Disable treating linker warnings as errors on all of chromeos
BUG=353127
TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257441 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 16:19:01 +00:00
torne@chromium.org 532006cdc0 Revert r253110: "Enable webrtc for webview."
Temporarily disable webrtc on WebView again due to Mac host build
incompatibility in libvpx.

BUG=316499
R=benm@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257433 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 15:21:23 +00:00
mithro@mithis.com a1d6a7d906 This change helps with two significant problems with Chrome debug
builds,
 * Slow link times.
 * Slow gdb startup times.

Lots more detailed information at http://gcc.gnu.org/wiki/DebugFission

Overall, this improves linking speed of debug Chrome builds on Linux
by ~12% and speeds up gdb by around 30%.

This requires a objcopy with --extract-dwo object (binutils newer then
2.22.52.0.4 // 2.23). Ubuntu Precise only comes with 2.23

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257424 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 14:11:21 +00:00
jochen@chromium.org 9b84a91416 Treat linker warnings as errors on all POSIX platforms
BUG=352985

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257419 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 13:42:13 +00:00
sebmarchand@chromium.org 91d2a90b17 Add PGO targets to Chrome.
This allows to do a PGO optimized build of Chrome with the following commands:
python build\gyp_chromium -Dchrome_pgo_phase=1
ninja -C out\Release chrome
run with '--no-sandbox' + pgosweep
python build\gyp_chromium -Dchrome_pgo_phase=2
ninja -C out\Release chrome


----- Approach that didn't worked -----

(see comment #13 to know why this didn't work)

Instead of having the following gyp dependency chain (for a regular build), here '->' means 'depends on': 

'chrome'->|'chrome_main_dll'
----------|'chrome_child_dll'

we know have the following one (when chrome_pgo==1):
'chrome'->|'chrome_main_dll' |->'chrome_pgo_optimize'->|'chrome_main_dll_pgi'
----------|'chrome_child_dll'|-------------------------|'chrome_child_dll_pgi'


The '*_pgi' target correspond to the instrumented dll, the name of the DLLs produced by target will be terminated by '_pgi'.

During the 'chrome_pgo_optimize' step the instrumented DLLs will be renamed (the '_pgi' suffix will be removed) and Chrome will be run against a set of profile test cases, pgosweep.exe will also be invoked to collect the instrumentation data.

Then the main targets ('chrome_main_dll' and 'chrome_child_dll') will be linked with the flag /LTCG:PGOPTIMIZE, this will produce the optimized DLLs.
--------------------------------------------

R=scottmg@chromium.org

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257133 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-14 16:48:30 +00:00
glider@chromium.org 2c2f9c91b8 Actually link with instrumented libraries when building with tsan=1 and use_instrumented_libraries=1
BUG=313751
TBR=earthdok@chromium.org
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257088 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-14 12:34:20 +00:00
rohitrao@chromium.org b9aef2e976 Remove outdated comment from common.gypi.
BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257016 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-14 05:53:34 +00:00
rohitrao@chromium.org 482980481a Update common.gypi to set clang=1 for all iOS builds.
All iOS builds now use clang, regardless of which gyp generator is used, so
change common.gypi to reflect that.

NOTRY=True
BUG=352167

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256923 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-13 20:46:01 +00:00
glider@chromium.org b7da9c174b Disable ASan instrumentation for globals on Mac to work around issue 352073
BUG=352073
TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256799 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-13 10:55:07 +00:00
rohitrao@chromium.org c42c6b246b Adds -Wno-deprecated-register to the build settings for iOS.
Xcode 5.1 ships with a clang that deprecates the register keyword by default.
This warning flag is needed in order to compile for iOS with Xcode 5.1.

However, the old version of Xcode (5.0) does not understand this flag.  In order
to temporarily support compiling on both versions of Xcode, this CL also adds
-Wno-unknown-warning-option to suppress errors about unknown compiler flags.
This flag will be removed as soon as all of the bots have been updated with
Xcode 5.1, within a week.

BUG=255186,337611
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256592 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-12 19:06:57 +00:00
sergeyu@chromium.org 2d2e515192 Build src/crypto for PNaCl
The new crypto_nacl target builds crypto for PNaCl.

BUG=276739

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256485 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-12 09:34:10 +00:00
scherkus@chromium.org 457ebb2272 Require SSE2 for all 32-bit Linux builds and remove disable_sse2 option.
Previously, only 32-bit Google Chrome Linux was being built with x87 floating point math, which led to bugs caused by 80-to-{32,64}-bit rounding errors that weren't caught on the main Chromium builders. UMA data tells us there are ~0 Google Chrome Linux users without SSE2, making a strong case to require SSE2 across the board and align the Google Chrome build closer to the Chromium build.

As for disable_sse2 option, it was added in r45777 but it's unclear if anyone is using it outside of some other GYP code that flips it to 1 for ARM and MIPS architectures. Instead replace the few instances that don't support SSE2 with specific checks for the target architecture and remove the option entirely.

BUG=348761
R=jamesr@chromium.org
TBR=cpu

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256366 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-12 00:31:30 +00:00
wangxianzhu@chromium.org b7c591400d Let DCHECK in non-official-release build be opt-in with dcheck_always_on=1 only
- Remove DCHECK in non-official-release build by default
- Gyp variable dcheck_always_on=1 (existing) forces to enable DCHECK
  in release build
- Remove flag --enable-dcheck

Other effects/notes:
- Now allow "buildtype=Official dcheck_always_on=1" (which will
  enable DCHECK in official build) combination.
- Gyp variable logging_like_official_build no longer has an effect
- Leave DCHECK_IS_ON() unchanged. May deal with it in a later change
  if needed.

This won't affect bots which use dcheck_always_on=1.

BUG=350462
TEST=LoggingTest.Dcheck
R=thakis@chromium.org
TBR=darin,sehr (command line changes in components/nacl and mojo)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255987 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-10 18:23:38 +00:00
jshin@chromium.org 23344105c5 Enable icu_use_data_file_flag on Android
0. Roll icu to r249466 to copy Android-specific icudtl.dat
1. Turn it in build/common.gypi by default except for android webview build. Move it inside L2 var dict and pull it up to the top level var dict to make 'Google Chrome' build on Android happy. 
2. Add an entry for icudtl.dat to chrome/chrome_android_paks.gypi so that
it's copied to assets directory for Chrome and related targets. 
3. Extract icudtl.dat from the asset and copy to DIR_ANDROID_APP_DATA and make it world-readable so that child processes (sandboxed with uid) can read it. 
4. Add icudtl.dat to MANDATORY_PAKS list in various Android build targets 

Google Chrome has #4 but in a separate CL ( https://chrome-internal-review.googlesource.com/#/c/155554/ ). That CL will land before this CL. 

This also depends on a Blink change https://codereview.chromium.org/183013006/ 

TBR=avi@chromium.org
BUG=72633
TEST=base_unittests:*Convers*, net_unittests:*IDN*, browser tests on all platforms.
TEST=On Android, 1. Layout tests 
2. build/android/test_runner.py gtest -s webkit_unit_tests 
--gtest_filter=WebFrameTest.SelectRange*

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255762 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-08 12:02:26 +00:00
aurimas@chromium.org e7050faf90 Add a new gyp flag to enable resource whitelist generation.
BUG=338759
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255710 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-07 22:36:32 +00:00
senorblanco@chromium.org fdfc647636 Pre-emptively add an (unused) #define for record-time filter scaling.
This will be used in Blink to protect the old implementation of hiDPI
filter scaling. Once CC has been taught how to apply hiDPI to filters,
the Blink implementation will be switched off at the same time by
removing this #define.

BUG=281516

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255580 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-07 11:26:59 +00:00
stuartmorgan@chromium.org b267864408 Sync iOS DEPS overrides with downstream
The list has drifted over time during merges; this re-aligns with the
current state.

BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255454 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-06 22:46:45 +00:00
ananta@chromium.org f5b609387b Ensure that the chrome_200_percent.pak file is copied over to the destination folder on Windows.
This will enable the installer on Windows to install the 200 percent assets.

BUG=349607
R=cpu@chromium.org, sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255448 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-06 22:10:49 +00:00
justincohen@chromium.org 2452f5e55e Bring back -fstack-protector-all on iOS.
This flag used to cause a crash on startup. As of Xcode 5 this doesn't
appear to happen anymore.

BUG=341484
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255263 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-06 05:41:36 +00:00
dmikurube@chromium.org ff9e90924a Add use_allocator instead of linux_use_tcmalloc to switch the allocator.
This change is to add a new build option 'use_allocator' which will
replace 'linux_use_tcmalloc' in the future. It doesn't change the
behavior immediately. The migration plan is as follows:

1) (this change)
... Add 'use_allocator' and set its default to "see_use_tcmalloc".
... Change allocator conditions to check use_allocator firstly.
... Use linux_use_tcmalloc if use_allocator=="see_use_tcmalloc".
... NO IMPACT without specifying use_allocator explicitly.
2) Change Blink to accept use_allocator. http://crrev.com/177053003/
3) Change gyp to accept use_allocator. http://crrev.com/178643004/
4) PSA the transition period to chromium-dev@.
5) (after the PSA-ed transition period)
... Make 'use_allocator' to "tcmalloc" or "none" (it depends) by default.
... Remove all linux_use_tcmalloc.
... Assert in gyp_chromium to check if linux_use_tcmalloc is not specified.

At the point of this change (1), linux_use_tcmalloc is still used by default
because 'use_allocator%': "see_use_tcmalloc".

As written in http://crbug.com/345554, linux_use_tcmalloc would
be confusing to have more options about allocators. We plan to:
A) enable gperftools' heap-profiler with non-tcmalloc allocator,
B) add a new memory allocator instead of tcmalloc.

BUG=345554, 339604, 341349
R=agl@chromium.org, brettw@chromium.org, dgarrett@chromium.org, jam@chromium.org, jamesr@chromium.org, joi@chromium.org, miket@chromium.org, nick@chromium.org, rsleevi@chromium.org, scherkus@chromium.org, sergeyu@chromium.org, shess@chromium.org, sievers@chromium.org, sky@chromium.org, vitalybuka@chromium.org, willchan@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255129 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-05 20:07:26 +00:00
caitkp@chromium.org 8086f7802c Only add chrome_redirects as a dependency of base.dll in component builds.
This will cover most of the CreateFile calls and save us from death by
circular gyp dependencies.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@254231 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-28 21:15:18 +00:00
pkasting@chromium.org 7c000e597c Revert 253938 "Enable icu_use_data_file_flag on Android"
May have caused crashes on Android layout test bots.

> Enable icu_use_data_file_flag on Android
> 
> 0. Roll icu to r249466 to copy Android-specific icudtl.dat
> 1. Turn it in build/common.gypi by default except for android webview build. Move it inside L2 var dict and pull it up to the top level var dict to make 'Google Chrome' build on Android happy. 
> 2. Add an entry for icudtl.dat to chrome/chrome_android_paks.gypi so that
> it's copied to assets directory for Chrome and related targets. 
> 3. Extract icudtl.dat from the asset and copy to DIR_ANDROID_APP_DATA and make it world-readable so that child processes (sandboxed with uid) can read it. 
> 4. Add icudtl.dat to MANDATORY_PAKS list in various Android build targets 
> 
> Google Chrome has #4 but in a separate CL ( https://chrome-internal-review.googlesource.com/#/c/155554/ ). That CL will land before this CL. 
> 
> TBR=avi@chromium.org
> BUG=72633
> TEST=base_unittests:*Convers*, net_unittests:*IDN*, browser tests on all platforms.
> 
> Review URL: https://codereview.chromium.org/156333002

TBR=jshin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@254020 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-28 02:19:54 +00:00
jshin@chromium.org f17b894918 Enable icu_use_data_file_flag on Android
0. Roll icu to r249466 to copy Android-specific icudtl.dat
1. Turn it in build/common.gypi by default except for android webview build. Move it inside L2 var dict and pull it up to the top level var dict to make 'Google Chrome' build on Android happy. 
2. Add an entry for icudtl.dat to chrome/chrome_android_paks.gypi so that
it's copied to assets directory for Chrome and related targets. 
3. Extract icudtl.dat from the asset and copy to DIR_ANDROID_APP_DATA and make it world-readable so that child processes (sandboxed with uid) can read it. 
4. Add icudtl.dat to MANDATORY_PAKS list in various Android build targets 

Google Chrome has #4 but in a separate CL ( https://chrome-internal-review.googlesource.com/#/c/155554/ ). That CL will land before this CL. 

TBR=avi@chromium.org
BUG=72633
TEST=base_unittests:*Convers*, net_unittests:*IDN*, browser tests on all platforms.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@253938 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-27 22:08:57 +00:00
sdefresne@chromium.org c9e992e2c5 Remove hack disabling goma when building using Xcode clang
The last version of goma (54) no longer mistake clang for gcc when it
is accessed using the cc symlink in the path.

BUG=315114

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@253881 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-27 18:46:26 +00:00
bajones@chromium.org 8f40db1271 Updating Gamepad API to match latest spec
BUG=344556

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@253623 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-26 23:28:28 +00:00
gab@chromium.org 12c8b1f28d Always embed manifests, even in component builds!
This is finally possible following the conjunction of scottmg's work on embedding manifests as resources post-link and mine/caitkp's work on the version assembly manifest and its compatibility with the component build installer :)!

BUG=276953, 346843, 127233
TEST=
A) Installer still works in component builds
B) Self-destruct now works in component builds
C) Incremental linking still works for chrome_dll/unit_tests/browser_tests.

R=robertshield@chromium.org, scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@253534 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-26 19:09:47 +00:00
sdefresne@chromium.org a322085f8e Add a new configuration 'Profile' when building for iOS
When running Instruments, it is better to use a Release build, but
with a dSYM file. So introduce a new configuration 'Profile' based
on 'Release' that also generates a dSYM file.

This uses a separate configuration because Instruments needs a
real dSYM file, and generating it with dsymutil is slow. Moreover,
it is not possible to build a dSYM file from the Release build, and
profiling a Debug build is not really representative of real usage.

BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@253444 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-26 14:32:58 +00:00
michaelbai@chromium.org e2dfcd7887 Enable webrtc for webview.
BUG=316499

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@253110 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-25 10:00:49 +00:00
scottmg@chromium.org 0d70a9ac76 Revert 252837 "trial run of vs2013 with iterator debugging off t..."
> trial run of vs2013 with iterator debugging off to see if browser_tests are timing-related
> 
> BUG=
> 
> Review URL: https://codereview.chromium.org/165693005

TBR=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@252844 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-23 07:19:55 +00:00
scottmg@chromium.org e39449f467 trial run of vs2013 with iterator debugging off to see if browser_tests are timing-related
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@252837 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-23 04:30:43 +00:00
hans@chromium.org 1278e14d0f Start landing build support for Clang-style ASan on Windows
If this breaks your SyzyASan build, make sure you're passing syzyasan=1
in GYP_DEFINES instead of asan=1. I have updated all affected buildbots
I know about.

BUG=82385
R=thakis@chromium.org, timurrrr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@252707 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-22 00:27:11 +00:00
ycheo@chromium.org b8d31d21dc Enable the embedded L1/EME support in WebView.
- Add ExternalVideoSurfaceContainer which handles the external surface for the hole punching in WebView.
- Refactor the callbacks of ContentViewClient on the hole-punching to make them have the single purpose per each function.

BUG=329447

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@252571 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-21 16:08:20 +00:00
thakis@chromium.org 007dfc2325 android envsetup: Stop honoring --target-arch parameter.
Most people don't use this parameter and get arm binaries. This is
still the default, so this change shouldn't affect most people.

Folks should instead pass -Dtarget_arch to gyp. (Or, soon, envsetup will stop
clobbering GYP_DEFINES, then you can just add target_arch to your GYP_DEFINES.)
Note that in gyp land, 'mips' is called 'mipsel' and 'x86' is called 'ia32'.
'arm' stays 'arm'.

So for example, instead of running

  . build/android/envsetup.sh --target-arch=mips
  android_gyp

you'd run

  . build/android/envsetup.sh
  android_gyp -Dtarget_arch=mipsel

I updated the bots I was able to find to pass the -D flag in addition to
--target-arch. After this CL here is in, I'll update the bots to stop passing
--target-arch, and then I'll make --target-arch a hard error in this script for
a while, to make sure nobody still uses it.

BUG=330631,34476
R=torne@chromium.org
TBR=yfriedman

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@252034 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-19 18:20:22 +00:00
erg@chromium.org 5303a17597 linux_aura: Default use_gnome_keyring% to on when use_aura=1.
BUG=342106

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251992 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-19 08:12:29 +00:00
thakis@chromium.org e5a418237c android envsetup: Use gyp defines instead of env vars for sdk root and sdk tools.
If ANDROID_SDK_ROOT is set, it's still added to the path for now, but it's
no longer passed to gyp. If you want to set a custom sdk root, call gyp like
"build/gyp_chromium -Dandroid_sdk_root=path".

If ANDROID_SDK_ROOT is not set, it's still getting exported with a default
value that's identical to the default value of gyp's android_sdk_root variable.

ANDROID_SDK_TOOLS and ANDROID_SDK_BUILD_TOOLS_VERSION are now
completely ignored. Set the android_sdk_tools or android_sdk_build_tools_version
gyp defines instead if you need to change either. If they are not set,
envsetup no longer sets them.

(Dependent on an internal that changes a bot to set these gyp defines in
addition to the env vars.)

BUG=330631
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251904 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-19 00:52:52 +00:00
glider@chromium.org f5d354b4a8 Disable source fortification under Clang on Linux.
Right now source fortification isn't supported by Clang (http://llvm.org/bugs/show_bug.cgi?id=16821)
It may also prevent the sanitizer tools from catching some bugs.

BUG=162783,341809
R=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251868 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-18 22:54:44 +00:00
caitkp@chromium.org 61fc7ae520 Hook up redirects for component builds
BUG=334379

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251823 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-18 20:27:03 +00:00
rsleevi@chromium.org 3ff1296302 Remove use_system_nspr build flag. It's not "officially" supported
BUG=none
R=wtc@chromium.org, phajdan.jr@chromium.org
TBR=willchan

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251527 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-15 05:05:48 +00:00
hans@chromium.org 501732566c Make SyzyAsan depend on 'syzyasan' GYP flag instead of 'asan==1 and OS=="win"'
We're bringing the regular Clang-based ASan to Windows and will put it behind
asan==1 like on all other platforms.

BUG=343960

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251518 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-15 04:49:18 +00:00
thakis@chromium.org 3e3ae4cdf8 android envsetup: Stop exporting (and honoring) ANDROID_SDK_VERSION.
If someone wants to use a custom android sdk version, they now need to set
the android_sdk_version gyp define instead of this env var.

(Depends on one internal change to an internal bot that currently sets the
env var: https://chrome-internal-review.googlesource.com/154255)

BUG=330631

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

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

BUG=324207
R=piman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251353 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 16:58:45 +00:00
joi@chromium.org 03acc7a293 Add GYP flag to optionally enable the Hangout Services extension in
any build (not just Chrome-branded builds).

BUG=343567

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251350 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 16:40:34 +00:00
thestig@chromium.org fe35db0b5f Remove enable_touch_ui variable from build/common.gypi. No longer used.
Review URL: https://codereview.chromium.org/165803003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251321 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 15:07:41 +00:00
jshin@chromium.org 07c72f7e24 Revert of Revert of Revert of Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/163173003/)
Reason for revert:
The original CL (https://src.chromium.org/viewvc/chrome?view=rev&revision=251213 )  was reverted (and reverted twice more) because VMtest on chromeos-{x86,amd64} failed to find icudtl.dat. It turned out that my Chrome OS side change (chromeos-chrome.ebuild) was not picked up by build bots until several hours after landing of that CL. 

It's now picked up [1] and VMtest (on chromeos_x86 bot) finally passed with the original CL still in. 

So, I'm re-landing the original CL by reverting.  


[1] See LGKMSync section at http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28x86%29/builds/19858

Original issue's description:
> Revert of Revert of Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/164333003/)
> 
> Reason for revert:
> CrOS-side change (chromeos-chrome.ebuild) may not be used by a buildbot.  
> 
> ./1_autotest_tests/results-27-experimental_login_OwnershipNotRetaken/login_OwnershipNotRetaken/sysinfo/var/log/ui/ui.LATEST still has 
> 
> [0214/002103:FATAL:content_main_runner.cc(735)] Check failed: base::i18n::InitializeICU()
> 
> Original issue's description:
> > Revert of Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/165593002/)
> > 
> > Reason for revert:
> > https://chromium-review.googlesource.com/#/c/185937/ just got landed and this CL can go in now. 
> > 
> > Original issue's description:
> > > Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/163793004/)
> > > 
> > > Reason for revert:
> > > https://chromium-review.googlesource.com/#/c/185937/ has to go in first. 
> > > 
> > > 
> > > Original issue's description:
> > > > Turn on icu_use_data_file_flag on CrOS
> > > > 
> > > > See also https://chromium-review.googlesource.com/#/c/185937/
> > > > 
> > > > The switch has to be turned on in two places (chromeos-chrome.ebuild and
> > > > build/common.gypi). One or the other can get landed separately, though.
> > > > 
> > > > BUG=72633
> > > > TEST=net_unittests:*IDN* and base_unittests:*String*
> > > > TBR=mark
> > > > 
> > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251213
> > > 
> > > TBR=mark@chromium.org
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=72633
> > > 
> > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251214
> > 
> > TBR=mark@chromium.org
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=72633
> > 
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251220
> 
> TBR=mark@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=72633
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251276

TBR=mark@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=72633

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251279 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 10:22:00 +00:00
jshin@chromium.org 1ac37aff19 Revert of Revert of Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/164333003/)
Reason for revert:
CrOS-side change (chromeos-chrome.ebuild) may not be used by a buildbot.  

./1_autotest_tests/results-27-experimental_login_OwnershipNotRetaken/login_OwnershipNotRetaken/sysinfo/var/log/ui/ui.LATEST still has 

[0214/002103:FATAL:content_main_runner.cc(735)] Check failed: base::i18n::InitializeICU()

Original issue's description:
> Revert of Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/165593002/)
> 
> Reason for revert:
> https://chromium-review.googlesource.com/#/c/185937/ just got landed and this CL can go in now. 
> 
> Original issue's description:
> > Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/163793004/)
> > 
> > Reason for revert:
> > https://chromium-review.googlesource.com/#/c/185937/ has to go in first. 
> > 
> > 
> > Original issue's description:
> > > Turn on icu_use_data_file_flag on CrOS
> > > 
> > > See also https://chromium-review.googlesource.com/#/c/185937/
> > > 
> > > The switch has to be turned on in two places (chromeos-chrome.ebuild and
> > > build/common.gypi). One or the other can get landed separately, though.
> > > 
> > > BUG=72633
> > > TEST=net_unittests:*IDN* and base_unittests:*String*
> > > TBR=mark
> > > 
> > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251213
> > 
> > TBR=mark@chromium.org
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=72633
> > 
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251214
> 
> TBR=mark@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=72633
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251220

TBR=mark@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=72633

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251276 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 08:50:53 +00:00
jshin@chromium.org 29da8a956e Revert of Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/165593002/)
Reason for revert:
https://chromium-review.googlesource.com/#/c/185937/ just got landed and this CL can go in now. 

Original issue's description:
> Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/163793004/)
> 
> Reason for revert:
> https://chromium-review.googlesource.com/#/c/185937/ has to go in first. 
> 
> 
> Original issue's description:
> > Turn on icu_use_data_file_flag on CrOS
> > 
> > See also https://chromium-review.googlesource.com/#/c/185937/
> > 
> > The switch has to be turned on in two places (chromeos-chrome.ebuild and
> > build/common.gypi). One or the other can get landed separately, though.
> > 
> > BUG=72633
> > TEST=net_unittests:*IDN* and base_unittests:*String*
> > TBR=mark
> > 
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251213
> 
> TBR=mark@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=72633
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251214

TBR=mark@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=72633

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251220 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 01:19:34 +00:00
jshin@chromium.org 72b76937eb Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/163793004/)
Reason for revert:
https://chromium-review.googlesource.com/#/c/185937/ has to go in first. 


Original issue's description:
> Turn on icu_use_data_file_flag on CrOS
> 
> See also https://chromium-review.googlesource.com/#/c/185937/
> 
> The switch has to be turned on in two places (chromeos-chrome.ebuild and
> build/common.gypi). One or the other can get landed separately, though.
> 
> BUG=72633
> TEST=net_unittests:*IDN* and base_unittests:*String*
> TBR=mark
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251213

TBR=mark@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=72633

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251214 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 00:58:48 +00:00
jshin@chromium.org 0a03ae107f Turn on icu_use_data_file_flag on CrOS
See also https://chromium-review.googlesource.com/#/c/185937/

The switch has to be turned on in two places (chromeos-chrome.ebuild and
build/common.gypi). One or the other can get landed separately, though.

BUG=72633
TEST=net_unittests:*IDN* and base_unittests:*String*
TBR=mark

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251213 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 00:48:12 +00:00
thakis@chromium.org 00d6c27f28 android envsetup: Remove --host-os flag.
Clients should set the host_os gyp variable instead. (As far as I can tell,
this flag was added for the webview build, and this CL updates gyp_webview
to use the gyp define instead. I haven't found other clients.)

Since several gyp targets check the value of host_os in a
target_conditions block and most of the build/common.gypi variables
aren't available during target_conditions processing time, use the same
trick that chromium_code uses to make host_os available at target_conditions
time.

BUG=330631
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251138 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-13 21:48:25 +00:00
asvitkine@chromium.org 0daf59a33e Revert 251003 "Revert 250830 "Exclude notification strings for b..."
> Revert 250830 "Exclude notification strings for builds that dont..."
> 
> > Exclude notification strings for builds that dont use it.
> > 
> > BUG=326023
> > 
> > Review URL: https://codereview.chromium.org/160113002
> 
> Broke win64 sync tests, e.g. output:
> 
> c:\b\build\slave\cr-win-rel-x64\build\src\chrome\browser\sync\test\integration\sync_test.cc(707): error: Value of: UTF16ToASCII(browser()->tab_strip_model()->GetActiveWebContents()-> GetTitle())
>   Actual: ""
> Expected: "Notifications enabled"
> 
> TBR=aurimas@chromium.org
> 
> Review URL: https://codereview.chromium.org/163713002

Reverting the revert, since this wasn't responsible for the failures.

TBR=asvitkine@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251106 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-13 20:14:13 +00:00
sdefresne@chromium.org 0ba9a9f3a7 Add support for sub-architecture when building for iOS
Since iOS 7, the iPhone 5s, the iPad Air and the iPad Mini Retina
supports 64-bits binaries. This requires building a fat binary with
support for both armv7 and arm64 (and optionally armv7s).

In an effort to prepare building such a fat binary for Chrome on
iOS, introduce a "target_subarch" variable that control the variant
we want to build (32-bit only, 64-bit only -- mainly for debugging,
fat binary).

This require introducing way to use the clang compiler shipped with
Xcode, as the clang compiler shipped with Chromium code does not
support "arm64" architecture yet (Apple has not yet opensource the
implementation).

BUG=341453, 314720
R=mark@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251083 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-13 18:17:35 +00:00
asvitkine@chromium.org a5e4e68d15 Revert 250830 "Exclude notification strings for builds that dont..."
> Exclude notification strings for builds that dont use it.
> 
> BUG=326023
> 
> Review URL: https://codereview.chromium.org/160113002

Broke win64 sync tests, e.g. output:

c:\b\build\slave\cr-win-rel-x64\build\src\chrome\browser\sync\test\integration\sync_test.cc(707): error: Value of: UTF16ToASCII(browser()->tab_strip_model()->GetActiveWebContents()-> GetTitle())
  Actual: ""
Expected: "Notifications enabled"

TBR=aurimas@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251003 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-13 14:54:45 +00:00
aurimas@chromium.org a5aed47a24 Exclude notification strings for builds that dont use it.
BUG=326023

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250830 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-12 23:18:03 +00:00
mkosiba@chromium.org 4418261943 [android_webview] Suppress warning for Android build.
This suppresses a warning in the Android build configuration.

BUG=None
TEST=compile
NOTRY=true
R=torne@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250726 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-12 16:06:56 +00:00
hans@chromium.org 67c7ddf7a1 Set -fmsc-version for the Windows Clang build
It's important that -fmsc-version matches the version of VS that we're
falling back to. In practive, this should always be 2013 these days.

BUG=82385
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250511 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-11 21:22:00 +00:00
hans@chromium.org 42fa32da4a Suppress some more warnings for Clang Windows builds
BUG=82385

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250278 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-11 02:05:13 +00:00
kjellander@chromium.org 4054b9e0e2 Add libpeerconnection.{so,dll} to browser_tests.isolate
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250207 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-10 21:14:46 +00:00
grt@chromium.org 6a07832f63 Set MinimumRequiredVersion for XP support on x86 builds.
BUG=297971
R=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@249318 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-06 09:49:21 +00:00
aurimas@chromium.org 88430b5333 Exclude IDS_CERT strings that are not used on Android.
BUG=326023

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@249089 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-05 19:56:25 +00:00
jshin@chromium.org 0cb2504f2b Prepare to enable icu_use_data_file_flag on CrOS
1. Enabling icu_use_data_file_flag led to a crash because GetStringUTF8 (that relies on ICU to determine whether the current UI language is RTL) is called before InitializeICU is called. Instead of using GetStringUTF8, get the string directly from the resource bundle because there's no need to adjust the string for the RTL locale in this particular case. 

2. update chromite to a revision that copies icudtl.dat when icu_use_data_file_flag is on. 

The switch (icu_use_data_file) will be flipped in a follow-up CL (either in build/common.gypi or chromeos-chrome ebuild file or both as necessary). 

BUG=72633
TEST=cros_{amd,x86,amd64} pass all the tests. No actual change with this CL.


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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248954 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-05 10:22:11 +00:00
scottmg@chromium.org c31efe5bdc Remove build references to third_party/cygwin
There's test running dependencies in blink and buildbot,
so the directory/DEPS can't be removed right now. For the
time being, remove the build related entries.

R=maruel@chromium.org, thakis@chromium.org
BUG=123026
TEST=remove from DEPS and .DEPS.git, delete HKCU\Software\Cygnus Solutions\... and build successfully.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248802 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-04 23:00:37 +00:00
scottmg@chromium.org 3719dcde20 Support Express for 2013 automatic toolchain
Pick up setting for Express 2013 to get WDK_DIR set (required
for ATL with Express).

Add additional "or 2013e" to build/common.gypi, but exclude
unneeded workaround for intsafe.h.

R=dpranke@chromium.org
BUG=323300, 340358

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248747 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-04 17:50:01 +00:00
thakis@chromium.org cbd4e06bee android envsetup: Don't set mips_arch_variant.
Instead of the slightly rube-goldbergian approach of giving mips_arch_variant
the default value mips32r2 in common.gypi and then always overriding this with
mips32r1 in envsetup, just set mips_arch_variant to mips32r1 by default and
don't set it in envsetup.

I checked that the generated ninja file for base is identical before and after
this change, and that the mips flags change as expected when manually setting
mips_arch_variant to mips32r2. No behavior change.

BUG=330631
TBR=torne@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248409 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-02 16:10:28 +00:00
caitkp@chromium.org 9070f8392f Revert of Enable icu_use_data_file_flag on CrOS (https://codereview.chromium.org/135963010/)
Reason for revert:
This is breaking the Chrome OS bots on the waterfall:

http://build.chromium.org/p/chromium.chromiumos/buildstatus?builder=ChromiumOS%20%28x86%29&number=19593
http://build.chromium.org/p/chromium.chromiumos/buildstatus?builder=ChromiumOS%20%28amd64%29&number=13965


From discussion on chromium-dev:

Looking at /var/log/messages for one of the failing tests, Chrome is exiting with SIGABRT over and over, and ui.LATEST has the following over and over:
[0201/085858:FATAL:content_main_runner.cc(735)] Check failed: base::i18n::InitializeICU(). 

Original issue's description:
> Enable icu_use_data_file_flag on CrOS
> 
> 1. Enable icu_use_data_file_flag on CrOS
> 
> 2. Doing #1 led to a crash because GetStringUTF8 (that relies on ICU to determine whether the current UI language is RTL) is called before InitializeICU is called. Instead of using GetStringUTF8, get the string directly from the resource bundle because there's no need to adjust the string for the RTL locale in this particular case. 
> 
> Note to perf-sheriff : The size of chrome binary will be 10M smaller because the ICU data is now in a separate file (icudtl.dat) whose size is about 10M. 
> 
> BUG=72633
> TEST=ui_base_unittests
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248325

TBR=tony@chromium.org,vapier@chromium.org,mark@chromium.org,nkostylev@chromium.org,jshin@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=72633

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248374 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-02 04:11:13 +00:00
jshin@chromium.org 44061cc150 Enable icu_use_data_file_flag on CrOS
1. Enable icu_use_data_file_flag on CrOS

2. Doing #1 led to a crash because GetStringUTF8 (that relies on ICU to determine whether the current UI language is RTL) is called before InitializeICU is called. Instead of using GetStringUTF8, get the string directly from the resource bundle because there's no need to adjust the string for the RTL locale in this particular case. 

Note to perf-sheriff : The size of chrome binary will be 10M smaller because the ICU data is now in a separate file (icudtl.dat) whose size is about 10M. 

BUG=72633
TEST=ui_base_unittests

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

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

BUG=none
R=maruel@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248214 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-31 17:23:56 +00:00
thakis@chromium.org a5fc6550d7 android/clang: Don't add path to gold shim to PATH, use -B instead.
No intended behavior change.

BUG=330631
R=torne@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248080 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-31 00:04:22 +00:00
aurimas@chromium.org 172abd09be Exclude Task Manager strings when enable_task_manager==0.
BUG=326023

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@247933 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-30 11:04:29 +00:00
fdegans@chromium.org 35d88113f8 Removed mtune for Android build.
mtune was set to cortex-a8, which is a Nexus S-generation CPU.
Removing it allows for small speed improvements (~1%) for
warm page load times on top10 mobile sites on more recent devices.
Data: https://docs.google.com/spreadsheet/ccc?key=0Ao-xIDuezqMNdDc5OWpxbkk4NFJ0SF9Iemt0Tlg3RFE&usp=sharing
And it has virtually no effect on binary size.
BUG=334271

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@247882 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-30 07:53:42 +00:00
hans@chromium.org 07907a3211 common.gypi: When clang=1 on Windows, set CC to clang-cl
(See https://code.google.com/p/gyp/source/detail?r=1846 for
how GYP deals with this.)

BUG=82385

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@247586 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-29 01:59:21 +00:00
jshin@chromium.org e0d288fdc7 Use icudat*.dat file on Mac
1. Set icu_use_data_file_flag to 1 in common.gypi
2. Add icudatl.dat to the resournce bundle list in
chrome_dll_bundle.gypi and content_shell.gypi
3. Move ICU_UTIL_DATA_IMPL to base.gyp

This CL has to be landed after
https://codereview.chromium.org/111723007/ is landed and rolled in. 
(done in https://codereview.chromium.org/118313004/ )

Note to perf-sheriff: This CL adds ~10MB to the resource bundle while cutting down the same amount from the Chrome executable/binary.  

BUG=72633
TEST=All the Mac builds (static, shared) go through and tests (e.g.
layout tests, base_unittests --gtest_filter=*String*, net_unittests
--gtest_filter=*IDN*) loading the ICU data pass.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@247404 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-28 06:00:04 +00:00
aurimas@chromium.org d5c03bdb4a Exclude print_preview resources for platforms that don't use it
Only enable_printing==1 uses print_preview and all of its resources.
enable_printing==2 and enable_printing==0 do not need them.

BUG=326023

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@247291 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-27 21:07:50 +00:00
jshin@chromium.org 24cc033e7d Use the icu data file on Linux (but not on CrOS)
Set icu_use_data_file_flag to 1 for POSIX (other than Mac/iOS/Android).

Mac and Android will be handled in a separate CL.

This has to wait until https://codereview.chromium.org/111723007/ is rolled in.
(done by https://codereview.chromium.org/118313004/ )

BUG=72633
TEST=All linux builds go through and all tests pass and there's no perf (start-up etc) regression.

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

R=mark@chromium.org, mmoss@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@247045 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-25 00:58:56 +00:00
ronghuawu@chromium.org 9c91fda9d1 Revert 246678 "Use the icu data file on Linux (but not on CrOS)"
"Failed sizes" - http://build.chromium.org/p/chromium/builders/Linux

> Use the icu data file on Linux (but not on CrOS)
> 
> Set icu_use_data_file_flag to 1 for POSIX (other than Mac/iOS/Android). 
> 
> Mac and Android will be handled in a separate CL. 
> 
> This has to wait until https://codereview.chromium.org/111723007/ is rolled in. 
> (done by https://codereview.chromium.org/118313004/ )
> 
> BUG=72633
> TEST=All linux builds go through and all tests pass and there's no perf (start-up etc) regression.
> 
> Review URL: https://codereview.chromium.org/102413007

TBR=jshin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246952 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-24 20:25:13 +00:00
hans@chromium.org cf1d2c1c59 Start massaging the GYP files for building with clang on Windows
BUG=82385
TBR=cpu

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246874 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-24 13:26:35 +00:00
thakis@chromium.org 39a2338132 win: Remove msbuild_toolset, and msvs-specific ProgramDatabaseFile.
Since we're now on ninja, they don't have an effect.

BUG=none
R=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246783 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-24 04:36:23 +00:00
jshin@chromium.org 2a82402f9e Enable icu_use_data_file on Windows
Set icu_use_data_file_flag to 1 on Windows in common.gypi and make the dependency on icudata conditional on 'icu_use_data_file_flag != 0' in common.gypi, base.gyp and net.gyp

Add icudtl.dat to the Windows build/archive/install file lists.

Load icudtl.dat from DIR_MODULE instead of DIR_EXE on Windows. (to fix bug 337116)


This also requires a change in third_party/icu/icu.gyp
( https://codereview.chromium.org/111723007/ ), which was rolled in by https://codereview.chromium.org/118313004/

BUG=72633,337116
TEST=All windows builds work fine and there's no perf regression (start-up etc). Chrome installed via mini_installer runs fine (no issue with icu data file).

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246751 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-24 01:00:41 +00:00
thakis@chromium.org 67845a0884 android: Stop adding toolchain dir to PATH.
This seems mostly no longer necessary (at least I can build all targets
in an open-source chrome/android build without problems). I'm guessing
that https://codereview.chromium.org/9693042 made this obsolete.

It was only needed for `as` with clang; pass -B to clang instead
for now (until we switch to clang's integrated assembler).

BUG=330631,124610
R=torne@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246714 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-23 23:16:35 +00:00
jshin@chromium.org e5a9786ccf Use the icu data file on Linux (but not on CrOS)
Set icu_use_data_file_flag to 1 for POSIX (other than Mac/iOS/Android). 

Mac and Android will be handled in a separate CL. 

This has to wait until https://codereview.chromium.org/111723007/ is rolled in. 
(done by https://codereview.chromium.org/118313004/ )

BUG=72633
TEST=All linux builds go through and all tests pass and there's no perf (start-up etc) regression.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246678 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-23 20:38:52 +00:00
jshin@chromium.org 7e185d448a Revert of Enable icu_use_data_file on Windows (https://codereview.chromium.org/99473012/)
Reason for revert:
mini_installer somehow does not install icudtl.dat in the top product directory (alongside chrome.exe) leading to a failure in InitializeICU(). 

icudtl.dat is listed in both mini_installer.gypi and FILES.cfg for windows.


Original issue's description:
> Enable icu_use_data_file on Windows
> 
> 
> Set icu_use_data_file_flag to 1 on Windows in common.gypi and make the dependency on icudata conditional on 'icu_use_data_file_flag != 0' in common.gypi, base.gyp and net.gyp
> 
> This also requires a change in third_party/icu/icu.gyp
> ( https://codereview.chromium.org/111723007/ ), which was rolled in by https://codereview.chromium.org/118313004/
> 
> BUG=72633
> TEST=All windows builds work fine and there's no perf regression (start-up etc).
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246387

TBR=mark@chromium.org,scottmg@chromium.org,laforge@chromium.org,maruel@chromium.org,grt@chromium.org,wtc@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=72633

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246632 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-23 17:43:48 +00:00
eugenis@chromium.org 5b68711365 Pass -marm when building with ASan for Android/ARM.
Frame pointers are broken in Thumb mode.
The same reason as in 'profiling' condition several lines above.
FTR, http://llvm.org/bugs/show_bug.cgi?id=18505

BUG=325685

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246568 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-23 11:07:53 +00:00
kochi@google.com b4b9cfcc04 Revert 246313 "Use an alternate mechanism for CreateFile calls i..."
This caused reading profile error on Windows8 platform.

> Use an alternate mechanism for CreateFile calls in Chrome
> 
> BUG=334379
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245464
> 
> Review URL: https://codereview.chromium.org/138593004

TBR=caitkp@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246541 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-23 08:57:54 +00:00
joaodasilva@chromium.org 6ed366439f Build with configuration_policy enabled on iOS by default.
This will start covering the policy iOS build on the main waterfall. The code
in chrome/browser/policy is still disabled on that platform by default, but
the policy component and its unittests will be built.

This change also enables one policy on iOS, otherwise some parts of the build
break.

BUG=275292

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246422 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-22 21:48:03 +00:00
jshin@chromium.org 1f10c9aefa Enable icu_use_data_file on Windows
Set icu_use_data_file_flag to 1 on Windows in common.gypi and make the dependency on icudata conditional on 'icu_use_data_file_flag != 0' in common.gypi, base.gyp and net.gyp

This also requires a change in third_party/icu/icu.gyp
( https://codereview.chromium.org/111723007/ ), which was rolled in by https://codereview.chromium.org/118313004/

BUG=72633
TEST=All windows builds work fine and there's no perf regression (start-up etc).

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246387 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-22 19:18:43 +00:00
caitkp@chromium.org 223a699f31 Use an alternate mechanism for CreateFile calls in Chrome
BUG=334379

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246313 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-22 13:49:01 +00:00
uekawa@chromium.org 79f728503a Remove FILE_MANAGER_EXTENSION and related configuration. They can be folded back to Chrome OS as condition.
BUG=166934

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246294 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-22 11:09:32 +00:00
eugenis@chromium.org 1b77ddb22c Remove -fomit-frame-pointer when building with any Sanitizer.
On Android/ARM we add -fomit-frame-pointer elsewhere in common.gypi.
Simply adding -fno-omit-frame-pointer when building with sanitizers is
not enough, because the former flag wins (it get added closer to the end
of the command line). Therefore, we also remove all -fomit-frame-pointer
flags under sanitizers.

BUG=325685
TEST=wait for the next clang roll, run asan tests on android
R=glider@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246256 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-22 09:27:52 +00:00
jam@chromium.org 1391faa165 Revert 245865 "Revert of Reenable linux_aura on the main builder..."
We've switched to Aura on Linux (see chromium-dev threads). NPAPI plugins aren't supported on Linux Aura (also see chromium-dev thread). These tests should just be disabled.

> Revert of Reenable linux_aura on the main builders. (Again). (https://codereview.chromium.org/138033023/)
> 
> Reason for revert:
> Blink layout tests are failing:
> 
> http/tests/plugins/interrupted-get-url.html
> http/tests/plugins/third-party-cookie-accept-policy.html
> plugins/mouse-click-plugin-clears-selection.html
> 
> Original issue's description:
> > Reenable linux_aura on the main builders. (Again).
> > 
> > We upgraded the eu-strip binary so that it can deal with binaries that
> > are more than two gigabytes large. This should fix the crash on the
> > Google Chrome Linux builder, which was the only bot to break last night.
> > 
> > BUG=319075,125106,303342,318961
> > NOTRY=True
> > 
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245737
> 
> TBR=erg@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=319075,125106,303342,318961
> 
> Review URL: https://codereview.chromium.org/143073002

TBR=eustas@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246094 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-21 20:02:51 +00:00
eustas@chromium.org 36d6cf587f Revert of Reenable linux_aura on the main builders. (Again). (https://codereview.chromium.org/138033023/)
Reason for revert:
Blink layout tests are failing:

http/tests/plugins/interrupted-get-url.html
http/tests/plugins/third-party-cookie-accept-policy.html
plugins/mouse-click-plugin-clears-selection.html

Original issue's description:
> Reenable linux_aura on the main builders. (Again).
> 
> We upgraded the eu-strip binary so that it can deal with binaries that
> are more than two gigabytes large. This should fix the crash on the
> Google Chrome Linux builder, which was the only bot to break last night.
> 
> BUG=319075,125106,303342,318961
> NOTRY=True
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245737

TBR=erg@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=319075,125106,303342,318961

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245865 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-20 07:46:54 +00:00
thakis@chromium.org 106c8979fd android: Use use_goma=1 gomadir gyp defines instead of magic GOMA_DIR env var.
For a short transition period, let envsetup.sh set the right GYP_DEFINES when
GOMA_DIR is set, so that people aren't broken immediately after this lands.

Also stop setting GOMA_COMPILER_PROXY_THREADS – if the value this sets
is truly better, that should be the default in goma, it shouldn't be set in
envsetup.sh (doing it in goma has the advantage that it works on all
platforms, also abstraction barriers, etc.)

BUG=332697
R=brettw@chromium.org, ilevy@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245801 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-18 23:54:41 +00:00
erg@chromium.org 3fd68c674e Reenable linux_aura on the main builders. (Again).
We upgraded the eu-strip binary so that it can deal with binaries that
are more than two gigabytes large. This should fix the crash on the
Google Chrome Linux builder, which was the only bot to break last night.

BUG=319075,125106,303342,318961
NOTRY=True

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245737 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-18 03:40:17 +00:00
earthdok@chromium.org 5c5f3f42f5 Allow the asan_coverage GYP flag to accept arbitrary values.
We're experimenting with using values other than 0 or 1 to control coverage
granularity.

BUG=324216
TBR=glider@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245614 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 21:01:36 +00:00
earthdok@chromium.org abaa0fd581 Introduce an MSan blacklist and use it to ignore V8.
BUG=330709,178409
TBR=glider@chromium.org,eugenis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245597 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 20:24:53 +00:00
jochen@chromium.org e1583e7d28 In a chromium checkout, compile d8 for the host toolset
It's required during compilation on the host for webui tests

BUG=331585
R=machenbach@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245515 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 14:17:40 +00:00
jochen@chromium.org 8f543a1c05 Revert 245464 "Use an alternate mechanism for CreateFile calls i..."
ChromeCreateFileTest.CheckWriteAndReadParams crashes on Vista

> Use an alternate mechanism for CreateFile calls in Chrome
> 
> BUG=334379
> 
> Review URL: https://codereview.chromium.org/138593004

TBR=caitkp@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245501 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 12:49:40 +00:00
caitkp@chromium.org ba3ecc57bd Use an alternate mechanism for CreateFile calls in Chrome
BUG=334379

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245464 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 07:20:47 +00:00
ycheo@chromium.org a43c633ccc Remove Chrome for TV code.
BUG=334126

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245449 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 06:52:19 +00:00
erg@chromium.org a0340ed280 Revert of Reenable linux_aura on the main builders. (https://codereview.chromium.org/136813004/)
Reason for revert:
Failed due to mysterious failures on the Google Chrome Linux bot.

Example:
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c stable
Staging common install files in '/tmp/deb.build.AEvway'...
eu-strip: while computing checksum for debug information: Invalid argument
Cleaning...

BUG=335451

Original issue's description:
> Reenable linux_aura on the main builders.
> 
> We fixed the browser test slowdown that lead to linux_aura being
> disabled in r235280. (Different test suites are faster or slower, but
> overall, tests run faster.)
> 
> We are turning this on primarily to get perf data; if things look
> acceptable, we hope to cut a dev channel this week.
> 
> BUG=319075,125106,303342,318961
> NOTRY=True
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245415

TBR=
NOTREECHECKS=true
NOTRY=true
BUG=319075,125106,303342,318961

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245429 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 06:06:49 +00:00
erg@chromium.org 00337f31a1 Revert of linux_aura: Attempt to green the official builder by reverting unwind support. (https://codereview.chromium.org/141013009/)
Reason for revert:
Didn't actually help with the build failures on Google Chrome Linux.

Original issue's description:
> linux_aura: Attempt to green the official builder by reverting unwind support.
> 
> This effectively reverts in r243919 and r244331 in a desperate attempt
> to fix the tree.
> 
> Build fail output:
> 
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c beta
> Staging common install files in '/tmp/rpm.build.XtJRbJ'...
> eu-strip: while computing checksum for debug information: Invalid argument
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c unstable
> Staging common install files in '/tmp/rpm.build.t4jNp4'...
> eu-strip: while computing checksum for debug information: Invalid argument
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c unstable
> Staging common install files in '/tmp/deb.build.CxnH9l'...
> eu-strip: while computing checksum for debug information: Invalid argument
> Cleaning...
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c stable
> Staging common install files in '/tmp/deb.build.9Zyie1'...
> eu-strip: while computing checksum for debug information: Invalid argument
> Cleaning...
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c beta
> Staging common install files in '/tmp/deb.build.xUB39X'...
> eu-strip: while computing checksum for debug information: Invalid argument
> Cleaning...
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c stable
> Staging common install files in '/tmp/rpm.build.aN0PGV'...
> eu-strip: while computing checksum for debug information: Invalid argument
> ../out/Release/chrome, section '.eh_frame': the call frame entry at offset 0x18 uses a DWARF expression to describe how to recover register '.cfa',  but this translator cannot yet translate DWARF expressions to Breakpad postfix expressions
> ninja: build stopped: subcommand failed.
> 
> BUG=180975
> TBR=spang@chromium.org, stip@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245421

TBR=spang@chromium.org,stip@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=180975

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245428 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 06:02:51 +00:00
erg@chromium.org 17f961d9a1 linux_aura: Attempt to green the official builder by reverting unwind support.
This effectively reverts in r243919 and r244331 in a desperate attempt
to fix the tree.

Build fail output:

FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c beta
Staging common install files in '/tmp/rpm.build.XtJRbJ'...
eu-strip: while computing checksum for debug information: Invalid argument
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c unstable
Staging common install files in '/tmp/rpm.build.t4jNp4'...
eu-strip: while computing checksum for debug information: Invalid argument
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c unstable
Staging common install files in '/tmp/deb.build.CxnH9l'...
eu-strip: while computing checksum for debug information: Invalid argument
Cleaning...
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c stable
Staging common install files in '/tmp/deb.build.9Zyie1'...
eu-strip: while computing checksum for debug information: Invalid argument
Cleaning...
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c beta
Staging common install files in '/tmp/deb.build.xUB39X'...
eu-strip: while computing checksum for debug information: Invalid argument
Cleaning...
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c stable
Staging common install files in '/tmp/rpm.build.aN0PGV'...
eu-strip: while computing checksum for debug information: Invalid argument
../out/Release/chrome, section '.eh_frame': the call frame entry at offset 0x18 uses a DWARF expression to describe how to recover register '.cfa',  but this translator cannot yet translate DWARF expressions to Breakpad postfix expressions
ninja: build stopped: subcommand failed.

BUG=180975
TBR=spang@chromium.org, stip@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245421 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 04:07:19 +00:00
erg@chromium.org 31803bf96b Reenable linux_aura on the main builders.
We fixed the browser test slowdown that lead to linux_aura being
disabled in r235280. (Different test suites are faster or slower, but
overall, tests run faster.)

We are turning this on primarily to get perf data; if things look
acceptable, we hope to cut a dev channel this week.

BUG=319075,125106,303342,318961
NOTRY=True

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245415 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 01:52:50 +00:00
ager@chromium.org 724f901e12 Revert "Linux: Turn --icf=safe back on for the gold linker."
This broke the wtf_unittests when compiling with gcc:
http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20%28dbg%29/builds/16904

TBR=cevans@chromium.org, thestig@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245194 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-16 12:19:49 +00:00
thestig@chromium.org aff00f4430 Linux: Turn --icf=safe back on for the gold linker.
Review URL: https://codereview.chromium.org/137993011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245149 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-16 05:42:06 +00:00
earthdok@chromium.org 6867ff1017 Add a GYP flag to enable coverage gathering instrumentation in ASan builds.
BUG=324216
R=glider@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245091 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-16 03:25:03 +00:00
raymes@google.com 1aaf2ea193 Disable multithreading for gold
gold is frequently crashing on the buildbots which is most likely due to a race
condition when running in multithreaded mode. Disable multithreaded mode
until the bug is fixed.

BUG=161942
R=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244811 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-14 23:40:55 +00:00
bolian@chromium.org ce4a6db2c4 Added Dev host for data reduction proxy controlled by Finch experiment.
This is only for Android. We don't need it for iOS at this point.

BUG=325345

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244669 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-14 11:17:30 +00:00
thakis@chromium.org 862b84ed2d android: Set gcc_version in build/common.gypi instead of in envsetup.
BUG=330631
R=torne@chromium.org

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

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

BUG=318315

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244583 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-13 21:27:42 +00:00
hans@chromium.org 2de5cf9cda Roll Clang 193323:198389
BUG=323668

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244540 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-13 18:34:22 +00:00
spang@chromium.org 5c3c0217bf Enable unwind support with buildtype=Official branding=Chrome in Debug mode
The previous patch removed unwind support on x64 official builds,
including Debug builds. That may have been a bit too far. Add it back to
Debug builds (but not Release builds).

BUG=180975

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244331 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-11 03:12:05 +00:00
dalecurtis@google.com aef7d5f1f7 Revert 244256 "[Android] Enable lint warnings by default."
> [Android] Enable lint warnings by default.
> 
> Lint has been running on FYI bots for a while,
> time to enable them by default on bots and for developers.
> 
> BUG=None
> R=yfriedman@chromium.org
> 
> Review URL: https://codereview.chromium.org/127383002

TBR=frankf@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244266 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-10 22:42:57 +00:00
frankf@chromium.org c2410e8f72 [Android] Enable lint warnings by default.
Lint has been running on FYI bots for a while,
time to enable them by default on bots and for developers.

BUG=None
R=yfriedman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244256 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-10 22:02:12 +00:00
spang@chromium.org e80ad0953f Enable unwind support for all non-official builds
This makes unwind support consistent on Linux (used by
base::debug::StackTrace). A combination of arch-specific toolchain defaults
and arch-specific cflags made the previous behavior inconsistent.

Unwind tables are useful for development and much cheaper than
debuginfo, so enable them for all non-official builds.

TEST=build for ia32, x64, arm (compared defaults & official)
BUG=180975

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@243919 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-09 17:32:51 +00:00
thakis@chromium.org a418e1e0ea Add mac_write_linker_maps gyp define.
With GYP_DEFINES=mac_write_linker_maps=1, ld64 will be instructed to write
.map files, which can then be visualized to get an idea of binary size.

(Works best in a static library build.)

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@242693 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-28 21:27:44 +00:00
thakis@chromium.org ce49cd1dd2 Get rid of the python_arch variable.
It's only used for pyauto, which is on the way out.

BUG=277641,224072,177664
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@242551 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-26 20:38:39 +00:00
mostynb@opera.com d89b36da73 remove deprecated armv7 gyp setting now that all uses have been removed
BUG=234135

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@242428 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-24 15:08:02 +00:00
alextaran@chromium.org 43e2baa08c Add libc++ and libc++abi to third-party.
BUG=318770, 313751
R=glider@chromium.org,thakis@chromium.org,bradnelson@chromium.org,darin@chromium.org,phajdan@chromium.org

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

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@242088 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-20 13:07:28 +00:00
jln@chromium.org 4bb1fab585 Make building seccomp-bpf a GYP condition
We add a use_seccomp_bpf variable to allow not building
seccomp-bpf.

We make sure that it can't be use by mistake with sanity
checks that the architecture is MIPS.

BUG=267179
TEST=Use "GYP_DEFINES='use_seccomp_bpf=0' and comment out the two #error.
about:sandbox should say that seccomp-bpf is disabled.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241949 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-19 21:38:38 +00:00
fischman@chromium.org 6d66da0bd7 Revert r169382 now that android:40302 is fixed.
Thin archives are once again ok for android static_library builds.

(related, the webrtc build no longer uses the ndk-build system)

BUG=https://code.google.com/p/webrtc/issues/detail?id=950

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241812 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-19 06:19:34 +00:00
thakis@chromium.org 8c9a4555f2 Revert 241705 "Revert 241681 "Let test_isolation_mode default to..."
This relands 241681, which should now hopefully work after r241717.

> Revert 241681 "Let test_isolation_mode default to check on mac."
> 
> Still not working on the branded builders, lots of .isolate files still
> hardcode "chromium framework" (see http://crbug.com/324911)
> 
> > Let test_isolation_mode default to check on mac.
> > 
> > It was set to noop in https://chromiumcodereview.appspot.com/14055005 due to
> > issues with xcode. Now that xcode is no longer used, it can be set to check
> > again.
> > 
> > BUG=none
> > 
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238025
> > 
> > R=maruel@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/92303002
> 
> TBR=thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/110423005

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241767 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-19 02:39:08 +00:00
thakis@chromium.org 052812f587 Revert 241681 "Let test_isolation_mode default to check on mac."
Still not working on the branded builders, lots of .isolate files still
hardcode "chromium framework" (see http://crbug.com/324911)

> Let test_isolation_mode default to check on mac.
> 
> It was set to noop in https://chromiumcodereview.appspot.com/14055005 due to
> issues with xcode. Now that xcode is no longer used, it can be set to check
> again.
> 
> BUG=none
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238025
> 
> R=maruel@chromium.org
> 
> Review URL: https://codereview.chromium.org/92303002

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241705 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-18 23:45:05 +00:00
thakis@chromium.org e099912806 Let test_isolation_mode default to check on mac.
It was set to noop in https://chromiumcodereview.appspot.com/14055005 due to
issues with xcode. Now that xcode is no longer used, it can be set to check
again.

BUG=none

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

R=maruel@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241681 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-18 22:19:32 +00:00
nick@chromium.org f9f599a317 Revert 241574 "Add libc++ and libc++abi to third-party."
[Reason for revert: linux builder check_licenses failure. - nick]

> Add libc++ and libc++abi to third-party.
> 
> BUG=318770, 313751
> R=glider@chromium.org,thakis@chromium.org,bradnelson@chromium.org,darin@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=240682
> 
> Review URL: https://codereview.chromium.org/75213003

TBR=alextaran@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241595 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-18 18:00:27 +00:00
alextaran@chromium.org 4d0811c2c6 Add libc++ and libc++abi to third-party.
BUG=318770, 313751
R=glider@chromium.org,thakis@chromium.org,bradnelson@chromium.org,darin@chromium.org

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241574 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-18 15:28:27 +00:00
dnicoara@chromium.org 0120fa1bf9 Do not define use_clipboard_aurax11 on ozone builds
On Ozone builds clipboard_aurax11 is excluded since Ozone
builds should not pull any X11 dependencies.

This patch fixes failing ui_unittests build on Ozone.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241390 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-17 22:28:31 +00:00
glider@chromium.org 0c69f83c18 Don't add -lrt when linking ASan/TSan/MSan binaries.
This is now done by the Clang driver.

BUG=234010
TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241298 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-17 16:08:53 +00:00
zmo@chromium.org 9b4dff58a5 Get rid of the old angle checkout
BUG=319527
TEST=bots
R=kbr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241099 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-17 02:05:01 +00:00
reveman@chromium.org 2741f8bec2 base: Refactor DiscardableMemoryProvider to build and be tested on all platforms.
This also moves DiscardableMemory::CreateLockedMemory implementations
to platform specific files and allows us to choose what implementation
to use at runtime.

No change in behavior, refactor only.

BUG=327516
TEST=base_unitttest --gtest_filter=DiscardableMemory*

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240924 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-16 18:02:04 +00:00
mostynb@opera.com fae2d596b6 update armv6 floating point defaults
Update the armv6 floating point defaults as suggested in
http://crbug.com/234135

BUG=234135

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240891 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-16 14:11:38 +00:00
phajdan.jr@chromium.org e2a0c74afe Add a flag to force disable libstdc++ debug mode.
BUG=328249, 65151
R=kbr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240769 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-13 22:10:27 +00:00
cmp@chromium.org d62d6af9ee Revert 240682 "Add libc++ and libc++abi to third-party."
This change broke deps2git.  We will add the repos in a bit and
we'll add check_deps2git to the CQ.

> Add libc++ and libc++abi to third-party.
> 
> BUG=318770, 313751
> R=glider@chromium.org,thakis@chromium.org,bradnelson@chromium.org,darin@chromium.org
> 
> Review URL: https://codereview.chromium.org/75213003

TBR=alextaran@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240706 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-13 18:45:48 +00:00
alextaran@chromium.org ab65d23cef Add libc++ and libc++abi to third-party.
BUG=318770, 313751
R=glider@chromium.org,thakis@chromium.org,bradnelson@chromium.org,darin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240682 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-13 17:12:16 +00:00
thakis@chromium.org fc93c55fc9 Remove heapcheck support.
The bots are gone, no need to keep this around. The replacement that's
maintained by the dynamic tools team is ASan / LSan.

BUG=325380

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240643 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-13 14:39:49 +00:00
geofflang@chromium.org 12390fc573 Update dependencies to use new angle repository.
BUG=319527

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240595 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-13 11:49:09 +00:00