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

5906 Коммитов

Автор SHA1 Сообщение Дата
aurimas@google.com 410179ccf4 Clean up repack.py and repack_locale.py usage.
- Creates repack_pack.gypi action
- Updates all the call-sites of repack.py
- Removes chrome_repack_pseudo_locales.gypi to instead use
  chrome_repack_locales.gypi
- Remove unused repack_locales_cmd list

BUG=338759
R=tfarina@chromium.org, thakis@chromium.org
TBR=asargent@chromium.org, benm@chromium.org, blundell@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260279 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 21:11:20 +00:00
mnissler@chromium.org fa6ab81e20 Add error message for domain mismatch on re-enrollment.
This error shows up if the server indicates to the client that
enrollment got rejected due to the device belonging do a different
domain (as indicated by the client-provided state key).

BUG=chromium:357207
TEST=Manual, check that the error message shows up on domain mismatch.
R=asvitkine@chromium.org, dpolukhin@chromium.org, joaodasilva@chromium.org

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260216 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 18:44:20 +00:00
jochen@chromium.org 5b1cc00380 Use the system harfbuzz library on chrome os
BUG=353127
R=jshin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260202 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 18:18:20 +00:00
davemoore@chromium.org f2b158f83d Revert 260175 "Fixup mojo dylibs to support mojo in content"
sky is about to check something in that will interact poorly with this
and it'll be easier to apply the necessary changes after that.

> Fixup mojo dylibs to support mojo in content
> 
> Second try after revert of
> https://codereview.chromium.org/211503005/
> 
> The isolates failed because libmojo_system.dylib wasn't getting copied.
> 
> BUG=
> TBR=mark@chromium.org
> 
> Review URL: https://codereview.chromium.org/217003003

TBR=davemoore@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260181 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 17:19:30 +00:00
andrewhayden@chromium.org 3f1d24dbd0 Don't hardcode output directory in findbugs.py
BUG=357190

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260178 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 17:15:08 +00:00
davemoore@chromium.org a0a90b7b70 Fixup mojo dylibs to support mojo in content
Second try after revert of
https://codereview.chromium.org/211503005/

The isolates failed because libmojo_system.dylib wasn't getting copied.

BUG=
TBR=mark@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260175 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 17:05:31 +00:00
haavardm@opera.com 0f77e0bb0f Introduce USE_OPENSSL_CERTS for certificate handling.
See discussion at chromium issue 338885.

When USE_OPENSSL_CERTS is defined, X509::OSCertHandle is now
typedef'ed to struct X509*. 
 
When USE_OPENSSL is defined, USE_OPENSSL_CERTS will now be
defined for linux and Android, while being off for Mac and 
Windows. This allows OpenSSL to be used while leaving
certificate handling to the OS.
 
OpenSSL cert verifying code will only be used on Linux.

This patch does not change any default behavior.

Bug=none
Test=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260152 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 16:20:32 +00:00
brettw@chromium.org c8f200451d Update .gn files to use new template syntax.
This uses the invoker() syntax.

R=scottmg@chromium.org, scottmg

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260151 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 16:19:02 +00:00
mnissler@chromium.org a5d6ba7778 Revert "Add error message for domain mismatch on re-enrollment."
This reverts
https://src.chromium.org/viewvc/chrome?view=rev&revision=260102

It seems to have caused android build breakage:

http://build.chromium.org/p/chromium.linux/buildstatus?builder=Android%20Tests%20%28dbg%29&number=19481

BUG=chromium:357207
TEST=None
TBR=mnissler@chromium.org
NOTRY=true
NOTREECHECKS=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260110 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 12:26:56 +00:00
mnissler@chromium.org 1d53d00c56 Add error message for domain mismatch on re-enrollment.
This error shows up if the server indicates to the client that
enrollment got rejected due to the device belonging do a different
domain (as indicated by the client-provided state key).

BUG=chromium:357207
TEST=Manual, check that the error message shows up on domain mismatch.
R=asvitkine@chromium.org, dpolukhin@chromium.org, joaodasilva@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260102 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 11:13:52 +00:00
tfarina@chromium.org 6013a01bb2 Remove "all_webkit" target.
Everybody should be building blink_tests right now. As it is today all_webkit is just an alias to blink_tests.

It was added by r233699 - https://codereview.chromium.org/59233012

Blink side - https://codereview.chromium.org/191973002

Nobody seems to be using it anymore.

BUG=None
TEST=None (no functional changes).
R=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260063 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 02:35:16 +00:00
thakis@chromium.org 13820ece50 android: Do not pass source_dir to apk-package.xml.
apkbuilder only uses sourcefolder to package non-java files (see
addSourceFolder() and checkFileForPackaging() in
e162064a7b/sdkmanager/libs/sdklib/src/com/android/sdklib/build/ApkBuilder.java ),
and our java/src folders only contain .java (and OWNERS) files.

(Determined via `find . -type f -a -path '*/src/*' -a -not -name '*.java'` and
manually ignoring everything not looking like a java folder.)

No intended behavior change; Chrome.apk looks identical with and without
this change (except for timestamps).

BUG=none
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260047 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 00:51:42 +00:00
mukai@chromium.org c33e2361f8 Revert 259561 "Set the default ASan options for executables buil..."
> Set the default ASan options for executables built with ASan on Linux.
> 
> This is a copy of https://codereview.chromium.org/25687005/ updated for the current trunk
> with the link_dependency attribute speculatively added to base/base.gyp:sanitizer_options
> to avoid potential dependency cycles.
> 
> 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
> TBR=thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/201153007

TBR=glider@chromium.org
BUG=357093

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260037 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 00:09:43 +00:00
brettw@chromium.org d5d911eebc Remove GN integration code from gyp_chromium.
We are no longer persuing the hybrid mode.

R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259918 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-27 17:07:45 +00:00
bajones@chromium.org c63b6d128d Revert 259788 "Fixup mojo dylibs"
Broke Mac GPU bots. content_gl_tests began failing with:

dyld: Library not loaded: @loader_path/libmojo_system.dylib
  Referenced from: /tmp/run_tha_testiM3m5a/out/Release/content_gl_tests
  Reason: image not found

> Fixup mojo dylibs
> 
> BUG=
> R=mark@chromium.org
> 
> Review URL: https://codereview.chromium.org/211503005

TBR=davemoore@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259908 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-27 16:32:34 +00:00
andrewhayden@chromium.org b35943627a Make it possible to read CLD data from a file.
Note that this change DOES NOT "opt-in" any platform at this time, it merely
makes it possible to read the CLD data in from a file if cld_version=2 and
cld_dynamic=1. Subsequent changes will be required for platforms to "opt-in"
to using this approach; e.g., each platform will have to generate their data
file and package it appropriately before turning this feature on in compile
flags.

IMPORTANT: Can't be enabled on on Android until the SIGBUS in CLD is fixed:
https://code.google.com/p/cld2/issues/detail?id=11

BUG=326023

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259900 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-27 16:16:03 +00:00
dmikurube@chromium.org 7edeccf6b4 Use use_allocator instead of android_use_tcmalloc to switch the allocator.
See https://crrev.com/177353002 and the bug for the details.

BUG=345554

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259894 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-27 16:05:44 +00:00
chrisha@google.com e6e4c7e285 Use SYZYASAN instead of ADDRESS_SANITIZER.
We've seen different failure related to the fact that we use the same flag without providing the same API and functionality.

BUG=
TBR=jamesr

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259855 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-27 15:08:04 +00:00
davemoore@chromium.org d923f3c349 Fixup mojo dylibs
BUG=
R=mark@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259788 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-27 05:24:24 +00:00
spang@chromium.org 0c57e250f3 git-hooks/pre-commit: Allow merging deps2submodules changes from upstream
This also checks the 2nd parent during a merge, to allow commiting a
merge that contains newer versions of the submodules. In particular
merging chromium master into a local branch will now work.

TEST=git checkout -b test origin/master~200
  git merge --no-ff --no-commit origin/master
  git commit

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259711 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 22:05:38 +00:00
jochen@chromium.org 17ac412f09 Use the system provided harfbuzz on chromeos
It's part of the pango library we use already, so by using it, we avoid
a link time collission.

However, if you build just the browser on linux on ubuntu 12, we don't
have such an up to date pango available, so we need to be a bit smart
about whether or not to use the system harfbuzz.

This also allows for treating linker warnings as errors on chromeos

BUG=353127
R=jshin@chromium.org, thakis@chromium.org

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

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259652 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 19:10:02 +00:00
brettw@chromium.org 8d03cb1c06 This renames all custom GN targets to actions in the GN build like the new version requires.
R=scottmg@chromium.org
TBR=scottmg

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259610 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 17:04:14 +00:00
sky@chromium.org 0f65aff570 Adds plumbing to pass WebUI mojo::Handle from browser to renderer
See the test for details on how it'll all work out in practice.

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

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259605 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 16:45:02 +00:00
glider@chromium.org 37ff3e885d Set the default ASan options for executables built with ASan on Linux.
This is a copy of https://codereview.chromium.org/25687005/ updated for the current trunk
with the link_dependency attribute speculatively added to base/base.gyp:sanitizer_options
to avoid potential dependency cycles.

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
TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259561 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 12:52:33 +00:00
jochen@chromium.org 6f636927a8 Revert of Use the system provided harfbuzz on chromeos (https://codereview.chromium.org/203163003/)
Reason for revert:
chromeos doesn't have hb-icu.h

Original issue's description:
> Use the system provided harfbuzz on chromeos
> 
> It's part of the pango library we use already, so by using it, we avoid
> a link time collission.
> 
> However, if you build just the browser on linux on ubuntu 12, we don't
> have such an up to date pango available, so we need to be a bit smart
> about whether or not to use the system harfbuzz.
> 
> This also allows for treating linker warnings as errors on chromeos
> 
> BUG=353127
> R=jshin@chromium.org, thakis@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259423
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259530

TBR=jshin@chromium.org,thakis@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=353127

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259534 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 09:31:31 +00:00
jochen@chromium.org d95f05fff1 Use the system provided harfbuzz on chromeos
It's part of the pango library we use already, so by using it, we avoid
a link time collission.

However, if you build just the browser on linux on ubuntu 12, we don't
have such an up to date pango available, so we need to be a bit smart
about whether or not to use the system harfbuzz.

This also allows for treating linker warnings as errors on chromeos

BUG=353127
R=jshin@chromium.org, thakis@chromium.org

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259530 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 08:05:28 +00:00
hidehiko@chromium.org baceec9f02 Fix linker warning on build with target_arch=ia32.
Since r257419, linker warning starts to cause the build failure.
This CL is fixing some linker warnings on cross compilation build so that build with target_arch=ia32 option works properly.
Here are the error logs:

/usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libgcrypt.so when searching for -lgcrypt
/usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libgcrypt.a when searching for -lgcrypt
/usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libcap.so when searching for -lcap
/usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libcap.a when searching for -lcap
/usr/bin/ld: warning: libgnutls.so.26, needed by /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib32/libcups.so, may conflict with libgnutls.so.28



BUG=n/a
TEST=build with GYP_DEFINES=target_arch=ia32, run trybot.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259463 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 04:00:08 +00:00
erikchen@chromium.org 39d7d82d43 Revert of Use the system provided harfbuzz on chromeos (https://codereview.chromium.org/203163003/)
Reason for revert:
Revert as speculative cause for build failure.

http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28daisy%29/builds/17405/steps/Report/logs/stdio

Original issue's description:
> Use the system provided harfbuzz on chromeos
> 
> It's part of the pango library we use already, so by using it, we avoid
> a link time collission.
> 
> However, if you build just the browser on linux on ubuntu 12, we don't
> have such an up to date pango available, so we need to be a bit smart
> about whether or not to use the system harfbuzz.
> 
> This also allows for treating linker warnings as errors on chromeos
> 
> BUG=353127
> R=jshin@chromium.org,thakis@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259423

TBR=jshin@chromium.org,thakis@chromium.org,jochen@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=353127

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259439 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 01:49:58 +00:00
jochen@chromium.org a3e651e42b Use the system provided harfbuzz on chromeos
It's part of the pango library we use already, so by using it, we avoid
a link time collission.

However, if you build just the browser on linux on ubuntu 12, we don't
have such an up to date pango available, so we need to be a bit smart
about whether or not to use the system harfbuzz.

This also allows for treating linker warnings as errors on chromeos

BUG=353127
R=jshin@chromium.org,thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259423 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 00:47:20 +00:00
kerz@chromium.org db1cb8b67e Update APK generation scripts to take custom keystore names and passwords.
R=klobag,cjhopman

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259420 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 00:43:37 +00:00
thakis@chromium.org 88eb7b2c96 clang roll 198389:202554 revolutions
First try: https://codereview.chromium.org/195623002
Second try: https://codereview.chromium.org/211213004

Difference from "second try" is passing --enable-libedit=no to
configure, to not depend on libedit.3.dylib (which doesn't exist on
OS X 10.6), see diff from patch set 1 to 2.

The linux package wasn't rebuilt, so it's configured without that flag.
That shouldn't cause issues hopefully.

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259411 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 00:14:35 +00:00
thakis@chromium.org a046e5aab7 Revert 259371 "clang roll 198389:202554 reloaded"
Even though the libc++ dependency is gone, clang still depends on
/usr/lib/libedit.3.dylib suddently, which doesn't exist on 10.6. Backing out
while I investigate...

> clang roll 198389:202554 reloaded
> 
> The first try is at https://codereview.chromium.org/195623002/ . Patch set 1
> is identical to that CL, patch set 2 has what changed.
> 
> The big change is that clang/mac is built in gnu++98 mode and doesn't link
> to libc++, to buy us time until the next roll for upgrading our bots to 10.7.
> This includes blink plugin changes up to r256229 (inclusive).
> 
> BUG=351479, 287029, 341352, 333968, 335325
> R=hans@chromium.org
> TBR=hans@chromium.org
> 
> Review URL: https://codereview.chromium.org/211213004

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259378 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-25 22:56:20 +00:00
thakis@chromium.org ac2f493c45 clang roll 198389:202554 reloaded
The first try is at https://codereview.chromium.org/195623002/ . Patch set 1
is identical to that CL, patch set 2 has what changed.

The big change is that clang/mac is built in gnu++98 mode and doesn't link
to libc++, to buy us time until the next roll for upgrading our bots to 10.7.
This includes blink plugin changes up to r256229 (inclusive).

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259371 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-25 22:42:36 +00:00
szager@chromium.org a5d76a54e9 Test commit to trigger git-based bugdroid.
BUG=356319
TBR=mmoss@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259308 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-25 19:56:49 +00:00
tonyg@chromium.org b62fcac6f2 Replace GetHostSize with a cross-platform implementation.
This is in preparation for Telemetry for Android devices with a Mac host.

BUG=355646

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259265 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-25 18:28:56 +00:00
rmcilroy@chromium.org a79ec8edc6 [Android] Fix arm64 abi after Android rename
BUG=354405

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259140 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-25 04:01:00 +00:00
navabi@google.com c66ad30e39 If install of test apk fails because of storage, wipe device data.
Also, remove install of apk in device status check to track install speed. We have not been tracking install speed and have not found it to be very useful. I want to avoid doing too many installs. We can bring it back if we find out that it is useful. We originally added it because installs were timing out, but we found install speed to be too variable across the same device to be useful.

BUG=335549
TBR=craigdh@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258967 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-24 18:04:57 +00:00
jbudorick@chromium.org 59b85af440 [Android] Linting the rest of build/android/
BUG=168518

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258948 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-24 16:21:44 +00:00
glider@chromium.org d566d40a15 Remove the unnecessary <(chroot_cmd) prefix from the libgcrypt-config-wrapper
invocation.

TBR=piman@chromium.org
BUG=355496

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258924 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-24 13:56:26 +00:00
yang.gu@intel.com 84e23bb030 Add support of x64 to generate .mk files
Now you may generate x64 .mk files with command:
./android_webview/tools/gyp_webview linux-x86_64

BUG=346626

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258872 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-24 04:07:34 +00:00
mithro@mithis.com fcbccb8ce7 Fix compiler_version.py on systems with non-English locale.
The the version string can be localized! The regexs assume English formatting and will fail to match under other localization (such as when the versions dots become commas).

http://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html#Locale-Environment-Variables

BUG=354231

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258867 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-24 03:40:01 +00:00
dbeam@chromium.org 8753fdb163 Revert 258763 "Adds plumbing to pass WebUI mojo::Handle from bro..."
Broke compile on Linux Builder (dbg):
FAILED: /b/build/goma/gomacc c++ -MMD -MF obj/content/gen/mojo/common/mojo/content_common_mojo_bindings.render_process.mojom.o.d -DCONTENT_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DBLINK_SCALE_FILTERS_AT_RECORD_TIME -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCOMPONENT_BUILD -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_MOJO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DUSE_XI2_MT=2 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DUSE_UDEV -DENABLE_EGLIMAGE=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DUSE_NSS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_DEBUG -I../.. -Igen -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -msse2 -mfpmath=sse -mmmx -m32 -O0 -g -funwind-tables -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare  -c gen/mojo/common/mojo/render_process.mojom.cc -o obj/content/gen/mojo/common/mojo/content_common_mojo_bindings.render_process.mojom.o
gen/mojo/common/mojo/render_process.mojom.cc:10:54: fatalerror: content/common/mojo/render_process.mojom.h: No such file or directory
compilation terminated.

> Adds plumbing to pass WebUI mojo::Handle from browser to renderer
> 
> See the test for details on how it'll all work out in practice.
> 
> BUG=none
> TEST=none
> R=darin@chromium.org
> 
> Review URL: https://codereview.chromium.org/206923002

TBR=sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258769 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-22 03:59:42 +00:00
sky@chromium.org 92f08ed470 Adds plumbing to pass WebUI mojo::Handle from browser to renderer
See the test for details on how it'll all work out in practice.

BUG=none
TEST=none
R=darin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258763 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-22 03:25:24 +00:00
tfarina@chromium.org 45eadb7e5b Break cycles between views, content and webview.
When running gyp_chromium with the following diff:

diff --git a/build/gyp_chromium b/build/gyp_chromium
index 63e8671..ca9b6a4 100755
--- a/build/gyp_chromium
+++ b/build/gyp_chromium
@@ -509,8 +509,6 @@ if __name__ == '__main__':
   # option.  http://crbug.com/35878.
   # TODO(tc): Fix circular dependencies in ChromiumOS then add linux2
   # list.
-  if sys.platform not in ('darwin',):
-    args.append('--no-circular-check')

These cycles are found:

gyp: Cycles in .gyp file dependency graph detected:
Cycle: content/content_shell_and_tests.gyp ->
ui/views/controls/webview/webview.gyp -> ui/views/views.gyp ->
content/content_shell_and_tests.gyp
Cycle: ui/views/controls/webview/webview.gyp -> ui/views/views.gyp ->
content/content_shell_and_tests.gyp ->
ui/views/controls/webview/webview.gyp
Cycle: ui/views/views.gyp -> content/content_shell_and_tests.gyp ->
ui/views/controls/webview/webview.gyp -> ui/views/views.gyp
Cycle: ui/views/views.gyp -> content/content_shell_and_tests.gyp ->
ui/views/views.gyp
Cycle: ui/views/controls/webview/webview.gyp -> ui/views/views.gyp ->
ui/views/controls/webview/webview.gyp
Cycle: ui/views/views.gyp -> ui/views/controls/webview/webview.gyp ->
ui/views/views.gyp
Cycle: content/content_shell_and_tests.gyp -> ui/views/views.gyp ->
content/content_shell_and_tests.gyp

By moving '*examples*' targets from views.gyp to examples.gyp we break
most of these cycles.

Then it remains the cycle:
Cycle: content/content_shell_and_tests.gyp -> ui/views/controls/webview/webview.gyp -> content/content_shell_and_tests.gyp

To fix that we introduced a webview_tests.gyp to which we moved the include of
content_shell_and_tests.gyp from webview.gyp, and thus breaking that
cycle and fixing all the circlar dependencies found above.

BUG=331669,35878
TEST=run gyp_chromium with the above diff, gyp should not throw any
cycles output.

R=ben@chromium.org, harrym@chromium.org, tapted@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258758 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-22 03:11:55 +00:00
glider@chromium.org 57600e5cb1 Disable the globals instrumentation under asan==1, not asan_coverage==1.
BUG=352073
TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258636 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-21 18:51:17 +00:00
mithro@mithis.com 9f8894cd69 Revert of Minor fix to regex inside compiler_version.py (https://codereview.chromium.org/207303004/)
Reason for revert:
The second \. should have remained a .

Chris Dumez	
1 minute ago #7
Message was sent while issue was closed.
https://codereview.chromium.org/207303004/diff/1/build/compiler_version.py
File build/compiler_version.py (right):

https://codereview.chromium.org/207303004/diff/1/build/compiler_version.py#ne...
build/compiler_version.py:31: version_re = re.compile(r"^GNU [^ ]+ .*
(\d+)\.(\d+)\.*?$", re.M)
The last "\.*" looks weird, I think it should be ".*"

Original issue's description:
> Minor fix to regex inside compiler_version.py
> 
> These dots where meant to be literal dots, not anything.
> 
> BUG=352046
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258570

TBR=thakis@chromium.org,thestig@chromium.org,ch.dumez@samsung.com
NOTREECHECKS=true
NOTRY=true
BUG=352046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258579 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-21 14:48:38 +00:00
thakis@chromium.org aaa319a163 android: Remove last two references to bug 177552.
BUG=177552
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258573 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-21 14:21:33 +00:00
mithro@mithis.com 5108a59304 Minor fix to regex inside compiler_version.py
These dots where meant to be literal dots, not anything.

BUG=352046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258570 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-21 14:15:52 +00:00
feng@chromium.org 35a6d219f5 [Android] Workaround of an android platform bug.
On some Android devices (e.g., Sony Xperia), package manager may
fail to extract native libraries when updating Chrome.

The change tries alleviate the situation by:
1) name libchrome with version number;
2) when failed to load library, try to extract native libraies
   and load them.

BUG=311644

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258546 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-21 12:39:56 +00:00
noamsml@chromium.org ecdda002f6 Enable devices page UI on MacOSX
Changes:

1. Consolidate the logic of "ENABLE_MDNS or OS_MACOSX" into a single C++/grit/ninja define called "enable_service_discovery"
2. Move a bunch of files from being conditioned on enable_mdns to being conditioned on enable_service_discovery.
3. Create a separate, simplified PrivetHTTPAsynchronousFactory that synchronously returns a PrivetHTTPClient for the mDNS host and port
without resolving, since on OSX mDNS resolution is baked into the operating system.

BUG=352811

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258480 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-21 00:58:56 +00:00