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

1554 Коммитов

Автор SHA1 Сообщение Дата
phajdan.jr@chromium.org f8451c8fa9 GTTF: Enable glibcxx debug mode for Debug builds by default.
This will help us catch problems earlier.

This CL actually fixes several problems detected by this mode.

BUG=65151, 267870, 267891
TEST=none
R=avi@chromium.org, jar@chromium.org, thakis@chromium.org, thestig@chromium.org, yoz@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@239811 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-10 18:52:22 +00:00
rtoy@google.com da6758bd36 Enable WebAudio support on Android/x86.
WebAudio support itself is disabled by default and can be enabled
using a flag in chrome://flags.  When so enabled, WebAudio will run.

BUG=290622,292922

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@239518 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-09 18:13:14 +00:00
raymes@chromium.org c28d56737f Add a PDF component extension
This adds a PDF component extension which is used for rendering PDFs with an
out of process PDF plugin. It adds the extension as a MIME handler for pdf file
types. The extension is currently only added if the --out-of-process-pdf switch
is passed to Chrome, AND the PDF plugin is available.

BUG=303491

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@239451 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-09 08:43:17 +00:00
mostynb@opera.com 2aa0735788 OpenMAX requires armv7 or greater
BUG=234135
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@239214 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-06 14:38:15 +00:00
fischman@chromium.org 62afbb7f44 Remove promises of clang flag-removal since clang isn't going to change.
BUG=90453,http://llvm.org/PR10448
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@239151 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-06 08:06:20 +00:00
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