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

1599 Коммитов

Автор SHA1 Сообщение Дата
jochen@chromium.org 2203656142 Turn on deprecation warnings for V8 on Mac
BUG=324225
R=dcarney@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238955 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-05 12:16:13 +00:00
boliu@chromium.org fddbff8b61 Fix non-goma android build after r238630
dirname outputs "." when given an empty argument, which gyp rules then
interpret as goma being available.

Remove ANDROID_GOMA_WRAPPER which is no longer used, and use GOMA_DIR
directly for android build.

BUG=
NOTRY=true

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238727 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 18:35:38 +00:00
mostynb@opera.com 8f0f153192 remove arm_version==5 configuration, since it's no longer supported
Since armv5 builds are no longer supported (due to being dropped by V8),
let's remove a stray arm_version==5 section from the build configration.

BUG=234135

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238725 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 18:26:12 +00:00
boliu@chromium.org 8f76b822a5 Revert 238718 "Fix non-goma android build after r238630"
Broke gyp on chromeos bot (possibly others)

> Fix non-goma android build after r238630
> 
> dirname outputs "." when given an empty argument, which gyp rules then
> interpret as goma being available.
> 
> Remove ANDROID_GOMA_WRAPPER which is no longer used, and use GOMA_DIR
> directly for android build.
> 
> BUG=
> NOTRY=true
> 
> Review URL: https://codereview.chromium.org/104563004

TBR=boliu@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238719 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 17:52:16 +00:00
boliu@chromium.org 4dda2a367e Fix non-goma android build after r238630
dirname outputs "." when given an empty argument, which gyp rules then
interpret as goma being available.

Remove ANDROID_GOMA_WRAPPER which is no longer used, and use GOMA_DIR
directly for android build.

BUG=
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238718 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 17:47:53 +00:00
mostynb@opera.com faea1b40e4 TODO: remove armv7 setting
Leave a TODO note in build/common.gypi to remove this obsolete armv7
setting, once all uses of it are removed.

BUG=234135

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238643 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 08:47:21 +00:00
yyanagisawa@chromium.org 1ce775885f Add use_goma for GYP_DEFINES
If use_goma is specified in GYP_DEFINES, gomacc is automatically set as
CC wrapper and CXX wrapper. It uses the default goma directory if the gomadir
option is not given. No need to fix PATH when running ninja (or make).
This is the revival of https://codereview.chromium.org/69293004/.
In https://codereview.chromium.org/69293004/, I removed ANDROID_GOMA_WRAPPER
code, which is actually used.  This code supports both way of enabling goma
for Android.  You can set GOMA_DIR or you can set -D use_goma=1.

Currently, this works well with ninja (default build system of chromium).
It does not work well with make in some case (e.g. build on linux with make).

Example 1
$ GYP_DEFINES="clang=1 use_goma=1" build/gyp_chromium
(no need to set CC/CXX at this stage)

build.ninja will have
cc = ${HOME}/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang
cxx = ${HOME}/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++

The user can run ninja without setting PATH or so.
$ ninja -C out/Release -j100

Example 2

$ GYP_DEFINES="use_goma=1 gomadir=/path/to/goma" build/gyp_chromium

build.ninja will have
cc = /path/to/goma/gomacc gcc
cxx = /path/to/goma/gomacc g++

user can run ninja without setting PATH or so.
$ ninja -C out/Release -j100

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238630 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 07:32:41 +00:00
jshin@chromium.org c1a52c1465 Move the logic for getting icu data out of icu_util
Currently, how to build/link the icu data is split between
common.gypi and icu_util.cc

Move it out of icu_util.cc and put it in common.gypi

Also, remove icudata from the dependency list in url.gyp. icuuc depends
on icudata and specifying icuuc alone is sufficient. Otherwise, ninja
complains about multiple rules specified for icudata and a circular
dependency when icu_use_data_file_flag is set to 1 on Linux.

A similar change has to be made in
third_party/WebKit/Source/web/web.gyp. 
(see https://codereview.chromium.org/93053003/ )

This CL does not change the actual build process, yet. It's just to prepare
to switch to "icu*.dat" on Mac and Linux.

BUG=72633
TEST=All the configuration/builds go fine on all platforms.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238567 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 04:37:06 +00:00
wfh@chromium.org d764644c44 [Win] Add option to reauthenticate the OS user before revealing passwords.
This CL depends on 28713002

BUG=303113

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238552 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 04:02:03 +00:00
thakis@chromium.org 5a3419ec8d Revert 238466 "Revert 238036 "Revert 238025 "Let test_isolation_..."
While r238430 improved things, it didn't fix them enough. Exciting new error:

OSError: File /Volumes/data/b/build/slave/google-chrome-rel-mac/build/src/out/Release/<(mac_product_name) Framework.framework doesn't exist

(tracked at http://crbug.com/324911)

> Revert 238036 "Revert 238025 "Let test_isolation_mode default to..."
> 
> The change was reverted because swarming didn't work with branded builds,
> but r238430 should've fixed that. Relanding. (There are no branded trybots.)
> 
> > Revert 238025 "Let test_isolation_mode default to check on mac."
> > 
> > Failing on "Google Chrome Mac" (http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Mac/builds/15042)
> > In the error log, tools/swarming_client/isolate.py says "File /Volumes/data/b/build/slave/google-chrome-rel-mac/build/src/out/Release/Chromium Framework.framework doesn't exist"
> > 
> > > 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
> > > 
> > > Review URL: https://codereview.chromium.org/92303002
> > 
> > TBR=thakis@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/98383002
> 
> TBR=hashimoto@chromium.org
> 
> Review URL: https://codereview.chromium.org/102963003

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238505 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 00:48:11 +00:00
thakis@chromium.org 176ee6ca52 Revert 238036 "Revert 238025 "Let test_isolation_mode default to..."
The change was reverted because swarming didn't work with branded builds,
but r238430 should've fixed that. Relanding. (There are no branded trybots.)

> Revert 238025 "Let test_isolation_mode default to check on mac."
> 
> Failing on "Google Chrome Mac" (http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Mac/builds/15042)
> In the error log, tools/swarming_client/isolate.py says "File /Volumes/data/b/build/slave/google-chrome-rel-mac/build/src/out/Release/Chromium Framework.framework doesn't exist"
> 
> > 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
> > 
> > Review URL: https://codereview.chromium.org/92303002
> 
> TBR=thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/98383002

TBR=hashimoto@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238466 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-03 22:38:26 +00:00
alextaran@chromium.org 073a2129ce Add instrumented libraries build with msan
BUG=313751
R=glider@chromium.org
TBR=cpu@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238394 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-03 14:33:41 +00:00
sgurun@chromium.org 388abef545 For implementing printing in android K release, we had to temporarily
fork chromium. The first patchset below is equivalent to what we have
in KLP branch (minus machine generated makefiles). 

This is to unfork the implementation.

Note that the print messages and print_web_view_helper are same (or
very slightly different) from their counterpart in
chrome/renderer/printing and chrome/common/print_messages. The plan is
to start componentizing printing immediately after and remove the
duplicate code

TBR=danakj@chromium.org
BUG=322276

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238196 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-02 21:52:01 +00:00
jochen@chromium.org 47c25416ff Disable deprecated V8 APIs when building
Except for Mac. On Mac, we need to wait for one additional V8 roll.

BUG=322505
TBR=dcarney@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238106 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-02 15:25:50 +00:00
jochen@chromium.org 2bdd6b0989 Revert 238096 "Disable deprecated V8 APIs when building"
> Disable deprecated V8 APIs when building
> 
> BUG=322505
> R=dcarney@chromium.org
> 
> Review URL: https://codereview.chromium.org/83523002

TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238102 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-02 15:18:24 +00:00
jochen@chromium.org 011bfb8030 Revert 238100 "Don't enable V8 deprecation warnings on Mac just yet"
> Don't enable V8 deprecation warnings on Mac just yet
> 
> I'll need to figure out why this doesn't compile on Mac but everywhere
> else.
> 
> BUG=322505
> TBR=dcarney@chromium.org
> 
> Review URL: https://codereview.chromium.org/99253002

TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238101 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-02 15:17:39 +00:00
jochen@chromium.org 897c147494 Don't enable V8 deprecation warnings on Mac just yet
I'll need to figure out why this doesn't compile on Mac but everywhere
else.

BUG=322505
TBR=dcarney@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238100 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-02 15:00:07 +00:00
jochen@chromium.org cd055331ab Disable deprecated V8 APIs when building
BUG=322505
R=dcarney@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238096 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-02 14:30:59 +00:00
hashimoto@chromium.org c2437af80c Revert 238025 "Let test_isolation_mode default to check on mac."
Failing on "Google Chrome Mac" (http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Mac/builds/15042)
In the error log, tools/swarming_client/isolate.py says "File /Volumes/data/b/build/slave/google-chrome-rel-mac/build/src/out/Release/Chromium Framework.framework doesn't exist"

> 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
> 
> Review URL: https://codereview.chromium.org/92303002

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238036 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-02 06:07:10 +00:00
thakis@chromium.org c9ea67d3e5 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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238025 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-02 04:28:33 +00:00
jochen@chromium.org 47d4e52544 Remove -Wno-deprecated-warnings from cflags for clang
third-party libraries that use auto_ptr or other deprecated APIs
should either define this locally or be updated.

BUG=324299
R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237971 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-30 05:15:18 +00:00
eae@chromium.org 506b67df37 Revert 237900 "Add use_goma for GYP_DEFINES"
Broke the blink android build.
TBR=mkwst@chromium.org

> Add use_goma for GYP_DEFINES
> 
> If use_goma is specified in GYP_DEFINES, gomacc is automatically set as
> CC wrapper and CXX wrapper.  It uses the default goma directory if the gomadir
> option is not given.  No need to fix PATH when running ninja (or make).
> This is the revival of https://codereview.chromium.org/12419003/,
> and expected to work with https://codereview.chromium.org/66303010/.
> Note: Goma team suggest not to put gomadir in PATH if you use use_goma option.
> 
> Currently, this works well with ninja (default build system of chromium).
> It does not work well with make in some case (e.g. build on linux with make).
> 
> According to the review comment, ANDROID_GOMA_WRAPPER has already been
> obsoleted.  ANDROID_GOMA_WRAPPER will be just ignored after this change.
> 
> Example 1
> $ GYP_DEFINES="clang=1 use_goma=1" build/gyp_chromium
> (no need to set CC/CXX at this stage)
> 
> build.ninja will have
> cc = ${HOME}/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang
> cxx = ${HOME}/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++
> 
> The user can run ninja without setting PATH or so.
> $ ninja -C out/Release -j100
> 
> Example 2
> 
> $ GYP_DEFINES="use_goma=1 gomadir=/path/to/goma" build/gyp_chromium
> 
> build.ninja will have
> cc = /path/to/goma/gomacc gcc
> cxx = /path/to/goma/gomacc g++
> 
> user can run ninja without setting PATH or so.
> $ ninja -C out/Release -j100
> 
> BUG=173686
> 
> Review URL: https://codereview.chromium.org/69293004

TBR=yyanagisawa@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237911 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-29 09:55:00 +00:00
yyanagisawa@chromium.org a3e2164008 Add use_goma for GYP_DEFINES
If use_goma is specified in GYP_DEFINES, gomacc is automatically set as
CC wrapper and CXX wrapper.  It uses the default goma directory if the gomadir
option is not given.  No need to fix PATH when running ninja (or make).
This is the revival of https://codereview.chromium.org/12419003/,
and expected to work with https://codereview.chromium.org/66303010/.
Note: Goma team suggest not to put gomadir in PATH if you use use_goma option.

Currently, this works well with ninja (default build system of chromium).
It does not work well with make in some case (e.g. build on linux with make).

According to the review comment, ANDROID_GOMA_WRAPPER has already been
obsoleted.  ANDROID_GOMA_WRAPPER will be just ignored after this change.

Example 1
$ GYP_DEFINES="clang=1 use_goma=1" build/gyp_chromium
(no need to set CC/CXX at this stage)

build.ninja will have
cc = ${HOME}/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang
cxx = ${HOME}/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++

The user can run ninja without setting PATH or so.
$ ninja -C out/Release -j100

Example 2

$ GYP_DEFINES="use_goma=1 gomadir=/path/to/goma" build/gyp_chromium

build.ninja will have
cc = /path/to/goma/gomacc gcc
cxx = /path/to/goma/gomacc g++

user can run ninja without setting PATH or so.
$ ninja -C out/Release -j100

BUG=173686

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237900 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-29 08:20:42 +00:00
aedla@chromium.org 25702cbdfb IPC fuzzer child process component
Fuzzer child process takes messages from a testcase file specified by --ipc-fuzzer-testcase and sends them across IPC.

Renderer process is replaced by the fuzzer process using --renderer-cmd-prefix, which is only supported under POSIX.

BUG=260848

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237795 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-28 16:05:14 +00:00
thakis@chromium.org 373a1188a6 Remove ant_build_out.
build/java_apk,gypi defaults to something based on <(PRODUCT_DIR) for
asset_location, so apparently it doesn't require an absolute path. Absolute
paths are yucky, and the `pwd -P` pattern has led someone else astray, so
remove it.

BUG=none
R=cjhopman@chromium.org
TBR=avi

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237676 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-28 05:17:33 +00:00
scottmg@chromium.org ddc29606e5 Default msvs_cygwin_shell to 0
This will cause all rules that do not have msvs_cygwin_shell: 1 to run
using cmd.exe.

R=iannucci@chromium.org
TBR=wez@chromium.org
BUG=123026

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237636 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-27 22:52:39 +00:00
scottmg@chromium.org 8d935e7fd9 Revert 237623 "Default msvs_cygwin_shell to 0"
Broke
http://build.chromium.org/p/chromium.webkit/builders/Win%20Builder/builds/44940/steps/compile/logs/stdio#error1

remoting_copy_locales, or something.

> Default msvs_cygwin_shell to 0
> 
> This will cause all rules that do not have msvs_cygwin_shell: 1 to run
> using cmd.exe.
> 
> R=iannucci@chromium.org
> BUG=123026
> 
> Review URL: https://codereview.chromium.org/86703002

TBR=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237628 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-27 22:05:32 +00:00
scottmg@chromium.org 947fba8213 Default msvs_cygwin_shell to 0
This will cause all rules that do not have msvs_cygwin_shell: 1 to run
using cmd.exe.

R=iannucci@chromium.org
BUG=123026

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237623 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-27 21:27:14 +00:00
jochen@chromium.org 74742e165e Revert 237048 "When building with component=shared_library on li..."
> When building with component=shared_library on linux, add -rdynamic
> 
> This allows for WTF's BACKTRACE() macro to symbolize stacktraces.
> 
> BUG=none
> R=glider@chromium.org
> 
> Review URL: https://codereview.chromium.org/83553002

TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237060 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-25 12:14:36 +00:00
jochen@chromium.org 47511667c1 When building with component=shared_library on linux, add -rdynamic
This allows for WTF's BACKTRACE() macro to symbolize stacktraces.

BUG=none
R=glider@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237048 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-25 09:17:53 +00:00
spang@chromium.org fac71cc95c Disable glib by default for embedded builds
BUG=318413

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@236866 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-22 23:21:55 +00:00
raphael.kubo.da.costa@intel.com 0f91f91a12 Pass the gold binary to the linker using only absolute paths.
The previous expansion using <(PRODUCT_DIR)/../.. did not work correctly
if one was using a different build directory layout (out-of-source
builds, or some build directory with a different number of
subdirectories).

Solve this by doing the same as the sysroot variables: stop using
relative paths from the build directory and extract absolute paths using
DEPTH.

TEST=./build/gyp_chromium -Goutput_dir=/somewhere/else
R=phajdan.jr@chromium.org,thakis@chromium.org,dpranke@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@236822 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-22 20:46:53 +00:00
spang@chromium.org b3aac00fdc Disable udev by default for embedded builds
BUG=318413

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@236672 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-22 01:42:47 +00:00
mostynb@opera.com 8f2c411ac2 Make it possible to disable udev in the content API on linux
This is useful for embedded linux setups, which often don't include udev support.

TEST=Build content_shell on linux with use_udev=0 then run ldd on output binaries to verify libudev is not listed (and is listed if built with use_udev=1 or unspecified)

BUG=318315,318413

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@236204 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-20 08:36:40 +00:00
spang@chromium.org ca44c657e1 Support use_glib==0 on Linux in base
This makes base build on Linux when use_glib is set to 0. The only glib
bits we are currently using in that configuration are g_get_home_dir()
and g_try_malloc().

Use of g_get_home_dir() is not essential. Without glib, we can just rely
on the $HOME environment variable always.

Use of g_try_malloc() is just a way to cause a large memory allocation
from a shared library. We can achieve the same effect using asprintf().

BUG=318315, 318413, 170408

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@236162 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-20 05:33:46 +00:00
sugoi@chromium.org 67e1fd127d Adding build rules for fuzzer (internal only)
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@236050 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-19 22:04:11 +00:00
spang@chromium.org 80cbee3d32 ozone: Support building without cairo
This adds a use_cairo gyp variable that removes cairo from the build.
To build skia without cairo, we need the code in
bitmap_platform_device_android.cc.

To make all platforms build the correct files, rename
bitmap_platform_device_linux to bitmap_platform_device_cairo and
rename bitmap_platform_device_android to bitmap_platform_device_skia.
We'll use bitmap_platform_device_skia for Android and for embedded
content shell.

BUG=318315, 318413

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@236037 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-19 20:17:16 +00:00
phajdan.jr@chromium.org f31245d71f Linux: fix build with gnome-keyring on Aura.
This is upstreaming a Gentoo Linux patch.

BUG=none
R=erg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235446 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-15 22:00:22 +00:00
agable@chromium.org 483d54d769 Disable linux_aura on the main builders.
Currently, browser_tests are running 2x-3x slower on the bots. Our first
dev channel has been very enlightening and got people to file all sorts
of helpful bugs.

BUG=319075,125106,303342,318961
NOTRY=True
R=cmp@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235280 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-15 03:20:45 +00:00
thakis@chromium.org ba8bf6ba69 Remove linux coverage scripts.
BUG=318423
TBR=owners

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235208 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-14 19:19:50 +00:00
bauerb@chromium.org 91a1fd2a9a Set ENABLE_MANAGED_USERS #ifdef on Android.
TBR=nyquist@chromium.org,atwilson@chromium.org
BUG=244891

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235155 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-14 16:15:34 +00:00
agable@chromium.org 7076a0f51e Reland 234478 "Build mac release builds with symbols..."
This CL relands the mac-only portion of 234478, which was reverted in 235042.

R=jochen@chromium.org
BUG=315598

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235061 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-14 06:22:29 +00:00
agable@chromium.org a884fd031c Revert 234478 "Revert 234272 "Revert 234257 "Build mac and linux..."
This CL increases extract_build times from ~40 seconds to ~400 seconds. We are
not currently equipped to handle this slowdown of build cycle times. Reverting
this until we have a way to do this that won't increase cycle times by 15%.

BUG=315598
TBR=jochen@chromium.org,cmp@chromium.org,dpranke@chromium.org

> Revert 234272 "Revert 234257 "Build mac and linux release builds..."
> 
> > Revert 234257 "Build mac and linux release builds with symbols a..."
> > 
> > NaCL ignores linux_strip_binary...
> > 
> > > Build mac and linux release builds with symbols and don't strip them by default
> > > 
> > > On Mac, we already build with symbols, but strip them.
> > > 
> > > Building with symbols (a) matches what we do for official builds and (b)
> > > makes crashes on release builders more useful.
> > > 
> > > BUG=315598
> > > R=mark@chromium.org, thakis@chromium.org
> > > 
> > > Review URL: https://codereview.chromium.org/66673005
> > 
> > TBR=jochen@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/69493002
> 
> TBR=jochen@chromium.org
> 
> Review URL: https://codereview.chromium.org/66293011

TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235042 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-14 05:30:31 +00:00
spang@chromium.org bae935bcad ozone: Add "embedded" build configuration
This flag merely disables some features by default.

BUG=318413

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235026 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-14 02:42:43 +00:00
thakis@chromium.org db7469ad64 ios: Enable -Wunused-functions.
BUG=315884
TBR=net,sql owners

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235014 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-14 01:46:17 +00:00
spang@chromium.org b08945aa3a Make dbus-based wifi data provider optional on linux
The linux wifi data provider adds an external dependency on libdbus.
This prevents building content_browser on linux systems that don't
include it (particularly embedded ones such as chromecast).

Introduce use_dbus gyp variable and remove this dependency when
use_dbus==0.

BUG=318315,318413

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234894 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-13 20:44:52 +00:00
scottmg@chromium.org c926eaea47 Set TargetMachine for libs too
In VS2013, remoting_host_event_logger.lib fails with:

FAILED: E:\b\depot_tools\python_bin\python.exe gyp-win-tool link-wrapper environment.x86 lib.exe /nologo /ignore:4221 /OUT:obj\remoting\remoting_host_event_logger.lib @obj\remoting\remoting_host_event_logger.lib.rsp
LINK : warning LNK4068: /MACHINE not specified; defaulting to X64

obj\remoting\host\remoting_host_event_logger.host_event_logger_win.obj : fatalerror LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

This is because if unspecified, lib.exe chooses the target architecture
based on the first input file. In this lib, the first file (there's only
2) happens to be a .res compiled from a .rc, which doesn't have an
architecture. Because we use the amd64 toolchain, lib decides to guess
that it should use x64. This fails to lib because the other .cc input is
x86.

After adding support for setting the architecture for libs in gyp here
https://codereview.chromium.org/68133006/ this sets it explicitly on our
libs too.

R=cpu@chromium.org
BUG=309197

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234656 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-12 22:44:39 +00:00
justincohen@chromium.org fdfa593016 Don't warn on missing prop synthesis in non-chromium code for iOS.
Certain internal directories fire many many warnings for
-Wobjc-missing-property-synthesis.

BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234543 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-12 17:01:17 +00:00
alextaran@chromium.org 53bdc05cc0 Adds a flag "use_instrumented_libraries" and corresponding target with 2 simple libraries
BUG=313751
R=glider@chromium.org,thakis@chromium.org
TBR=cpu@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234498 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-12 13:41:30 +00:00
jochen@chromium.org a1e81284f8 Revert 234272 "Revert 234257 "Build mac and linux release builds..."
> Revert 234257 "Build mac and linux release builds with symbols a..."
> 
> NaCL ignores linux_strip_binary...
> 
> > Build mac and linux release builds with symbols and don't strip them by default
> > 
> > On Mac, we already build with symbols, but strip them.
> > 
> > Building with symbols (a) matches what we do for official builds and (b)
> > makes crashes on release builders more useful.
> > 
> > BUG=315598
> > R=mark@chromium.org, thakis@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/66673005
> 
> TBR=jochen@chromium.org
> 
> Review URL: https://codereview.chromium.org/69493002

TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234478 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-12 10:45:29 +00:00
scottmg@chromium.org 1c27492ca6 Add define required for VS2013 ATL to target XP
See linked bug for details.

TBR=cpu@chromium.org
BUG=297971

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234446 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-12 07:13:33 +00:00
thakis@chromium.org e89b5e98fa -Wunused-functions for linux, android, chromeos
BUG=315884
TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234407 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-12 05:05:41 +00:00
jochen@chromium.org dc5d0f4922 Revert 234257 "Build mac and linux release builds with symbols a..."
NaCL ignores linux_strip_binary...

> Build mac and linux release builds with symbols and don't strip them by default
> 
> On Mac, we already build with symbols, but strip them.
> 
> Building with symbols (a) matches what we do for official builds and (b)
> makes crashes on release builders more useful.
> 
> BUG=315598
> R=mark@chromium.org, thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/66673005

TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234272 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-11 20:29:32 +00:00
jochen@chromium.org 06103289f5 Build mac and linux release builds with symbols and don't strip them by default
On Mac, we already build with symbols, but strip them.

Building with symbols (a) matches what we do for official builds and (b)
makes crashes on release builders more useful.

BUG=315598
R=mark@chromium.org, thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234257 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-11 19:25:05 +00:00
mpearson@chromium.org b0897e0a2f Revert 234207 "Set the default ASan options for executables buil..."
Seems to cause two Chrome Memory bots to fail consistently with the error
"Failed cbuildbot failed buildpackages failed report"

See these links:
http://build.chromium.org/p/chromium.memory/builders/Chromium%20OS%20(x86)%20ASAN
http://build.chromium.org/p/chromium.memory/builders/Chromium%20OS%20(amd64)%20ASAN

If those links break, mpearson@ has a copy of the failure output
(too long to paste here).


> Set the default ASan options for executables built with ASan on Linux.
> 
> This CL introduces a module, base/debug/sanitizer_options.cc, which will override
> the defaults for various dynamic tools (only ASan at this moment). For every executable
> built with a dynamic tool this module will be linked into that executable, providing
> weak functions to be called by the tool.
> 
> The existing declaration of __asan_default_options() in chrome/app/chrome_exe_main_gtk.cc
> has been moved into sanitizer_options.cc (now every binary built with GOOGLE_CHROME_BUILD=1
> will have the same options as google-chrome-asan.
> The existing declaration of __asan_default_options() in chrome/nacl/nacl_helper_linux.cc
> has been kept as is, but we had to remove -Wl,-u_sanitizer_options_link_helper to avoid picking sanitizer_options.cc.
> 
> GYP changes for OSX and iOS will be committed separately.
> 
> BUG=302040
> R=thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/25687005

TBR=glider@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234232 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-11 17:25:33 +00:00
glider@chromium.org 5e492eb20c Set the default ASan options for executables built with ASan on Linux.
This CL introduces a module, base/debug/sanitizer_options.cc, which will override
the defaults for various dynamic tools (only ASan at this moment). For every executable
built with a dynamic tool this module will be linked into that executable, providing
weak functions to be called by the tool.

The existing declaration of __asan_default_options() in chrome/app/chrome_exe_main_gtk.cc
has been moved into sanitizer_options.cc (now every binary built with GOOGLE_CHROME_BUILD=1
will have the same options as google-chrome-asan.
The existing declaration of __asan_default_options() in chrome/nacl/nacl_helper_linux.cc
has been kept as is, but we had to remove -Wl,-u_sanitizer_options_link_helper to avoid picking sanitizer_options.cc.

GYP changes for OSX and iOS will be committed separately.

BUG=302040
R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234207 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-11 09:42:02 +00:00
erg@chromium.org 8ce0e6a86c linux_aura: Turn aura on on the main linux builders.
This is essentially a revert of r227214. In the interim, we've enabled interactive_ui_tests, switched to openbox on the bots to theoretically fix browser_tests, and have a speculative nacl integration crash fix.

BUG=125106,303342,304554,125106,304555,316716,316919

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234139 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-09 19:25:41 +00:00
thakis@chromium.org 805d006a7e mac: Turn on -Wunused-functions.
BUG=315884
R=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234081 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-09 04:18:21 +00:00
thakis@chromium.org 3de5fab2ff ios: Remove -Wno-unnamed-type-template-args.
Unnamed type template args are fine in C++11, there's no need for this flag.
Mac removed it a while ago.

BUG=none
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233922 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-08 16:51:09 +00:00
jochen@chromium.org e621a9fa41 Revert 233887 "Build mac and linux release builds with symbols a..."
First need to figure out sizes step

> Build mac and linux release builds with symbols and don't strip them by default
> 
> On Mac, we already build with symbols, but strip them.
> 
> Building with symbols (a) matches what we do for official builds and (b)
> makes crashes on release builders more useful.
> 
> BUG=315598
> R=erg@chromium.org, thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/64753002

TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233893 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-08 13:28:16 +00:00
jochen@chromium.org 44e00ef784 Build mac and linux release builds with symbols and don't strip them by default
On Mac, we already build with symbols, but strip them.

Building with symbols (a) matches what we do for official builds and (b)
makes crashes on release builders more useful.

BUG=315598
R=erg@chromium.org, thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233887 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-08 12:31:00 +00:00
sebmarchand@chromium.org fe2fe58d52 Disable incremental linking for the large modules in Debug static_library.
If we don't do this then we get the following error (with chrome_frame_reliability_tests at least):

LINK : fatal error LNK1210: exceeded internal ILK size limit; link with /INCREMENTAL:NO

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233832 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-08 08:55:41 +00:00
spang@chromium.org 6e0c24a6a3 Support removal of DRI platform
All ozone configurations currently build DRI support, and therefore
have a dependency on the libdrm system library. This is not needed
except when ozone_platform_dri is enabled.

This allows us to drop the link to libdrm when it is not needed.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233671 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-07 20:10:44 +00:00
abarth@chromium.org ad87a663de Remove global #define WebKit blink
Now that we've updated all the code from the WebKit namespace to the blink
namespace, we can remove this global #define.

TBR=jamesr@chromium.org
BUG=295096

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233627 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-07 17:01:33 +00:00
abarth@chromium.org ee07cd29bc Begin renaming the WebKit namespace to blink
This CL introduces a global preprocessor macro to rename WebKit to blink. After
this CL lands, we'll update the code to use the blink namespace incrementally.
Once we've converted all the code, we'll remove the preprocessor macro.

R=jamesr@chromium.org, jamesr
BUG=295096

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233284 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-06 17:32:17 +00:00
kiyun@chromium.org d66e785ccc Fix iOS device builds broken by r232181
r232181 changed build/common.gypi to set ARCHS=i386 explicitly for
target_arch==ia32. However, we don't want to set ARCHS=i386 for iOS device
builds (because iOS devices are a different architecture entirely). This CL
arranges to leaved ARCHS untouched for iOS builds, so that Xcode will use its
defaults; this was the behavior before r232181.

The non-intuitive aspect is that target_arch==ia32 for OS=="ios", because
host_arch is set to 'ia32' at line 88 of build/common.gypi for 'OS=="win" or
OS=="mac" or OS=="ios"' and target_arch is set from host_arch at line 117.

With build/common.gypi fixed, we also need to fix
discardable_memory_provider_unittest.cc for iOS device builds, now that it is
being compiled with the correct architecture.

BUG=314712

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233050 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-05 19:11:42 +00:00
bengr@chromium.org e84c0ca3cd Added gyp support for fallback data reduction proxy host
This change provides a way to specify a fallback data reduction
proxy in gyp.

BUG=314108

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232779 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-04 20:27:29 +00:00
mseaborn@chromium.org 3271ad203d Fix spelling: "supress" -> "suppress"
BUG=165339
TEST=none
TBR=bulach@chromium.org,pkasting@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232557 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-02 02:05:53 +00:00
bungeman@chromium.org 483756fd62 Always use chromium_code variable with target_conditions.
The chromium_code variable is designed to be set by targets.
However, if it is used in a conditions predicate in common.gypi,
it will always be false, since conditions are evaluated early.
target_conditions are evaluated late, after the target has had a
chance to set its own variables.

R=mark@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232397 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-01 15:16:30 +00:00
spang@chromium.org 4323b37b79 Implement --ozone-platform flag to select OzonePlatform implementation at runtime
This provides a way to select an ozone implementation to use at runtime. Each
ozone implementation adds its name to the ozone_platforms GYP variable, and we
take care of parsing the flag value and configuring chromium to use that
implementation during initialization.

To support external ports, we generate the list of enabled platforms at
build time. The list is a static array that maps values of the --ozone_platform
flag to a constructor function for an OzonePlatform subclass. At runtime, we
call the constructor for platform specified on the command-line and use it to
provide implementations of the various ozone interfaces (SurfaceFactoryOzone,
EventFactoryOzone).

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232301 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-01 05:37:26 +00:00
mark@chromium.org 0b1f2af283 Fix build for xcodebuild from Xcode 5:
- In Xcode 5, ARCHS defaults to x86_64 instead of i386. Use i386 for the
   32-bit Chrome build.
 - In Xcode 5, otool is no longer available in DEVELOPER_BIN_DIR. Run otool
   via xcrun as in r227787.

BUG=280362
R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232181 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-31 18:40:00 +00:00
spang@chromium.org 304faa92d0 Implement OzonePlatform
This provides a way to select an ozone implementation to use at build time.
It replaces the previous ad-hoc requirement to inject implementations of
ozone interfaces somewhere during initialization, such as by overriding
ContentMainDelegate::PreSandboxStartup(). That requirement made it
difficult for external ozone implementations to build internal targets such
as content_shell because those targets do not initialize the external ozone
implementation without additional patching. Enabling external ports of
chromium is one of the main goals of ozone.

The OzonePlatform code is located at ui/ozone and depends on code in
ui/gfx and ui/events because it must inject implementations into
those components. The ozone platform is initialized from
ui/aura or ui/gl, as those components need the interfaces provided by ozone
in order to function.

There are two in-tree platforms currently: test (image dump) and dri
(libdrm-based direct rendering). The platform is selected by the setting
ozone_platform gyp variable and defaults to "test".

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232170 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-31 18:22:44 +00:00
maruel@chromium.org 163f551776 Use swarming_client instead of swarm_client.
Modify all the references to use src/tools/swarming_client/.

The build scripts already support both.

R=csharp@chromium.org, torne@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232104 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-31 13:34:31 +00:00
sdefresne@chromium.org b51d13828a Enable RLZ on iOS
BUG=309629

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231868 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-30 17:37:21 +00:00
vollick@chromium.org d2e01b4168 Add discardable memory emulation for non-android/mac platforms
Adds support for emulated discardable memory. The memory is managed by a
provider which listens for memory pressure notifications from the platform.

Currently, only android pushes these notifications, but in future patches, we
will apply pressure on other platforms in certain situations (e.g., when a tab
gets backgrounded).

BUG=237681

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231845 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-30 16:33:30 +00:00
justincohen@google.com b7ca9e835e Remove ninja special cases for iOS build configurations.
Gyp now sets -iphoneos architecture, so armv7 switching isn't required in
common.gypi.  This CL also gets rid of ONLY_ACTIVE_ARCH, which requires full
rebuilds when switching devices between armv7, armv7s and arm64 devices.

Also remove the iOS5 arclite link step, which isn't needed in iOS6+.
 
BUG=312300
TEST=ios_rel_device builds

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231658 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-29 22:31:51 +00:00
sbc@chromium.org 7533be619e Support cross compiling for armhf variant ARM/linux.
armhf (hardware float) is the ubuntu default these 
days so should be used over armel in most cases.
Also, the chromium ARM/linux test hardware is 
running armhf.

This CL does not change the default or remove armel
support. That is left for a future CL.

BUG=308256

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231487 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-29 02:38:46 +00:00
rmsousa@chromium.org 0c3bfd5a3a Revert 231456 "Remove ninja special cases for iOS build configur..."
This broke the "iOS Device" bot.

> Remove ninja special cases for iOS build configurations.
> 
> Gyp now sets -iphoneos architecture, so armv7 switching isn't required in
> common.gypi.  This CL also gets rid of ONLY_ACTIVE_ARCH, which requires full
> rebuilds when switching devices between armv7, armv7s and arm64 devices.
> 
> Also remove the iOS5 arclite link step, which isn't needed in iOS6+.
>  
> BUG=312300
> Test=ios_rel_device builds
> 
> Review URL: https://codereview.chromium.org/25535004

TBR=justincohen@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231466 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-29 00:55:17 +00:00
justincohen@google.com d1957850a0 Remove ninja special cases for iOS build configurations.
Gyp now sets -iphoneos architecture, so armv7 switching isn't required in
common.gypi.  This CL also gets rid of ONLY_ACTIVE_ARCH, which requires full
rebuilds when switching devices between armv7, armv7s and arm64 devices.

Also remove the iOS5 arclite link step, which isn't needed in iOS6+.
 
BUG=312300
Test=ios_rel_device builds

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231456 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-29 00:19:49 +00:00
scottmg@chromium.org 0003327273 Make intsafe.h workaround global
This was coming up in a lot of places, so make it a global include (on
the express toolchain) and remove the individual occurences of the same
pattern.

R=wez@chromium.org
TBR=sky@chromium.org
BUG=308740

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231378 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-28 19:30:43 +00:00
glider@chromium.org 4ade242e4c Revert a temporary workaround for issue 310479, which led to TSan v2 slowdown on the bots.
The bots have llvm-symbolizer in PATH now, so it's ok to use -gline-tables-only again.

BUG=310479
TBR=timurrrr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@230689 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-24 09:52:54 +00:00
cevans@chromium.org 939ab1c24c Revert 230577 "Perf experiment (to be reverted): use system mall..."
> Perf experiment (to be reverted): use system malloc on Mac.
> 
> BUG=310744
> R=abarth@chromium.org
> TBR=abarth@chromium.org
> 
> Review URL: https://codereview.chromium.org/35423009

TBR=cevans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@230680 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-24 08:21:33 +00:00
cevans@chromium.org 15449a1291 Perf experiment (to be reverted): use system malloc on Mac.
BUG=310744
R=abarth@chromium.org
TBR=abarth@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@230577 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-24 01:00:04 +00:00
glider@chromium.org d092d49163 Pass '-g -O1 -fno-inline -fno-inline-functions' when building with tsan=1
to let ThreadSanitizer print accurate stacks with addr2line.

BUG=310479
TBR=jyasskin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@230380 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-23 09:21:02 +00:00
plundblad@chromium.org 5517a2f26b Enable brlapi by default for chromeos builds.
BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@230152 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-22 17:21:29 +00:00
hajimehoshi@chromium.org 42437f87ba Make CLD2 default on the desktop platforms. We'd like to use CLD2 as of M32.
BUG=240647

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@230010 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-22 02:10:00 +00:00
spang@chromium.org d912bb9927 Move evdev events support into EventFactoryDelegateEvdev
And introduce a gyp variable use_ozone_evdev to allow this feature to be
removed from the build. Additionally, the --ozone-events flag is introduced
to select an EventFactoryDelegateOzone implementation to use.

If an embedder or out-of-tree EventFactoryDelegateOzone implementation
calls SetEventFactoryDelegateOzone during initialization, the flag has no
effect.

BUG=none
TEST=Build & run content_shell, ui_unittests with use_ozone=1

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229950 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-21 23:09:48 +00:00
thakis@chromium.org 18245c4b82 android: Enable -Wunused-const-variable.
BUG=307668
TBR=hans

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229662 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-20 05:25:47 +00:00
jkummerow@chromium.org 663fbdb922 GYP variable v8_optimized_debug should be overridable by GYP_DEFINES
This re-lands r226772. The issue that caused the revert has been fixed on the V8 side.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229634 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-19 22:44:19 +00:00
thakis@chromium.org 793f32bc53 linux and chromeos: Turn on -Wunused-const-variable.
BUG=307668
R=hans@chromium.org
TBR=oshima

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229578 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-19 16:20:58 +00:00
tommi@chromium.org be6288c07d Revert 229222 "Change _ITERATOR_DEBUG_LEVEL to 1 on Release builds"
BUG=308898

> Change _ITERATOR_DEBUG_LEVEL to 1 on Release builds
> 
> VS2010 changed the default to 0 meaning weaker checks in our
> release builds.  This commit changes it back again.
> 
> BUG=289691
> 
> Review URL: https://codereview.chromium.org/23464081

TBR=wfh@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229409 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-18 13:58:17 +00:00
thakis@chromium.org 6178c6bb75 mac: Enable -Wunused-const-variable.
BUG=307668
TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229395 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-18 13:16:57 +00:00
wfh@chromium.org b60f69617c Change _ITERATOR_DEBUG_LEVEL to 1 on Release builds
VS2010 changed the default to 0 meaning weaker checks in our
release builds.  This commit changes it back again.

BUG=289691

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229222 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-17 20:55:26 +00:00
thakis@chromium.org b2d28d51c1 Remove variants block.
No existing gyp generator looks at this. (scons used to, but it hasn't been
in use in over 3 years.)

No behavior change.

BUG=none
R=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@228730 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-15 18:30:06 +00:00
thakis@chromium.org 82724f4553 Revert 227219 "Revert 226920 "Roll Clang 188423:191856.""
This relands the clang roll from r226920. The symbol issue
(http://crbug.com/304846) should be fixed by now, on the crash server side.

> Revert 226920 "Roll Clang 188423:191856."
> 
> Possibly broke crash symbolication on mac.
> 
> > Roll Clang 188423:191856.
> > 
> > Remove libprofile_rt from package.sh, it doesn't exist after LLVM r191835
> > 
> > BUG=290204,303886
> > R=thakis@chromium.org
> > TBR=net owner
> > NOTRY=true
> > 
> > Review URL: https://codereview.chromium.org/25875004
> 
> TBR=thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/26145004

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@228318 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-12 06:02:42 +00:00
rnk@chromium.org d7aa5e3c5e Revert 215743 "Don't pass /safeseh to the linker when using clan..."
This is no longer needed.  Clang is SEH safe because it doesn't support
SEH and therefore has no SEH handlers to register in .sxdata.  It emits
the @feat.00 symbol to let the linker know that it is SEH safe.

> Don't pass /safeseh to the linker when using clang on Windows
> 
> It does not generate SEH safe code at the moment.
> 
> R=scottmg@chromium.org
> BUG=82385
> 
> Review URL: https://codereview.chromium.org/21910008

TBR=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@228004 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-10 21:23:00 +00:00
bengr@chromium.org 4fa9932145 Added probe to determine if data reduction proxy can be used
Chrome will now probe the URL /connect, which is hosted by the
data reduction proxy, before using the proxy. This CL also
upstreams some of the settings logic for the proxy.

BUG=270958

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227410 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-08 00:49:43 +00:00
zmo@chromium.org 99bfbe460f Remove the use_angle_translator condition.
We retired translator_glsl already, so we always use translator.

This is a revertion of https://codereview.chromium.org/25351004/.

BUG=
TEST=tree
TBR=jamesr

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227372 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-07 22:57:01 +00:00
thakis@chromium.org fd4235c709 Revert 226920 "Roll Clang 188423:191856."
Possibly broke crash symbolication on mac.

> Roll Clang 188423:191856.
> 
> Remove libprofile_rt from package.sh, it doesn't exist after LLVM r191835
> 
> BUG=290204,303886
> R=thakis@chromium.org
> TBR=net owner
> NOTRY=true
> 
> Review URL: https://codereview.chromium.org/25875004

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227219 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-06 02:38:04 +00:00
erg@chromium.org 5efe1fcc46 linux_aura: Revert everything; abort turning linux_aura on.
Spectacular breakages include:

- nacl integration tests constantly crashing.
- browser tests running in a busted environment.
- interactive_ui_tests being weirdly broken despite not running.
- Size regressions

BUG=125106,303342,304554,125106,304555
TBR=cpu@chromium.org,mseaborn@chromium.org,tim@chromiium.org,phajdan.jr@chromium.org,koz@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227214 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-05 22:50:02 +00:00