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

2031 Коммитов

Автор SHA1 Сообщение Дата
primiano 8767dee181 Revert "[Android] Workaround for aarch64 NDK bug."
Not required anymore after crrev.com/555503006
This reverts commit df01991ea10e2d19a684e9a212a8b4390005ea64.

BUG=407545
TBR=anton@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#295272}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 21fbfb6e8423d1bb507c27750ca785ec2232d50f
2014-09-17 14:38:00 +00:00
gunsch 86dab0c2bc Adds initial key systems support for Chromecast.
R=lcwu@chromium.org,byungchul@chromium.org
BUG=400914

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

Cr-Original-Commit-Position: refs/heads/master@{#295226}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b50a4e3f22e64129176a9dccd4d280b9aba2f700
2014-09-17 04:05:52 +00:00
torne 98fbe7be4e android_webview: go back to using system ICU.
Partial revert of android_webview: stop using system ICU. (patchset #1 id:1 of https://codereview.chromium.org/541753002/)

Reason for revert:
We can't accept this size increase at present; revert until we've worked out what to do about it.

Original issue's description:
> android_webview: stop using system ICU.
>
> To support unbundled updates we need to stop depending on system
> libraries. Disable using the system version of ICU and instead link
> Chromium's copy.
>
> This increases binary size by ~7MB.
>
> BUG=409851
>
> Committed: https://crrev.com/48e43572c0bfef2b1434d7f330da86cc7770b592
> Cr-Commit-Position: refs/heads/master@{#293510}

BUG=409851

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

Cr-Original-Commit-Position: refs/heads/master@{#295083}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 96256bfea5c496aa70b1913555b1e1c7f166c426
2014-09-16 16:49:26 +00:00
scottmg d01c6c79e7 Only force fastbuild=1 when use_goma if not already set
R=jam@chromium.org
BUG=406457

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

Cr-Original-Commit-Position: refs/heads/master@{#294914}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e14e79beabc1ad9279535834f0a3ea38298e05cc
2014-09-15 23:19:25 +00:00
timurrrr 661c7fb4e7 Roll ASan/Win to r217738
Also update the name of the asan dynamic runtime thunk .lib since it was changed in LLVM r217673.
After this change, component ASan build should be able to report NULL derefs and other AVs the same way as the static build does.

BUG=345874

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

Cr-Original-Commit-Position: refs/heads/master@{#294857}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1d8adb2349f07f2595319f4ef7389001d3e9fd8f
2014-09-15 18:59:23 +00:00
davidben 4d0bc9291b Reland dd7edfa67: Switch Mac over to BoringSSL from NSS.
This is a reland of dd7edfa67 which was reverted in 80a9a88f4c for build
failures. It also includes a BoringSSL roll and build changes to avoid adding a
static initializer.

This is a much much larger change than the diff suggests. If it breaks
something, please revert first and ask questions later.

BUG=338885
TBR=brettw

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

Cr-Original-Commit-Position: refs/heads/master@{#294589}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 71c13e6ac01d5cdc49ca40e8e9301d5142d85018
2014-09-12 15:13:27 +00:00
Scott Graham ee804cd3fa gn: various gyp flag matching for 'base'
- Don't remove -fno-ident from gyp build (was added about 3y ago, seemingly unnecessary for current clang)
- Add -fno-slp-vectorize to GN to make builds match (both to be removed after next clang roll)
- Make usage of -Wno-reserved-user-defined-literal match (required for dbus pre-trusty)
- Add -march=x86-64 to gn cflags
- Default symbol_level based on is_debug, and turn it off by default in Release (same as gyp)

Also, fiddle with output of gyp_flag_compare.py.

R=brettw@chromium.org
BUG=335824

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

Cr-Original-Commit-Position: refs/heads/master@{#294489}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 29682b848742042388ebd29c9df775f074c1414c
2014-09-11 23:30:49 +00:00
gunsch d1afe54d7b Chromecast: initial checkin of Android-based cast shell.
R=byungchul@chromium.org,lcwu@chromium.org,yfriedman@chromium.org
BUG=400876

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

Cr-Original-Commit-Position: refs/heads/master@{#294476}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 407189f61ab162096ea98c40b2ecd85875bd6049
2014-09-11 22:25:48 +00:00
Scott Graham f2ea1b6950 Reland of -fno-exceptions only on .cc files https://codereview.chromium.org/560873003/ with fix for ASAN LSAN
libc++ build removed from cflags, so wasn't removed.

I don't see any other instances of doing this in https://code.google.com/p/chromium/codesearch#search/&q=fno-exceptions&sq=package:chromium&type=cs

R=earthdok@chromium.org, thakis@chromium.org
BUG=335824

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

Cr-Original-Commit-Position: refs/heads/master@{#294408}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9ebc1b919dcb529f7d4182ac6f2334b89366f142
2014-09-11 17:13:09 +00:00
scottmg 0c2dfdbb4a Revert of -fno-exceptions only on .cc files (patchset #1 id:1 of https://codereview.chromium.org/560873003/)
Reason for revert:
Causes ASAN LSAN Linux bot to fail (not in the CQ/try set):

[191/22134 | 8.047] CC obj/third_party/speex/libspeex/libspeex.filters.o
FAILED: /b/build/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/third_party/libc++abi/trunk/src/libc++abi.cxa_new_delete.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DCHROMIUM_BUILD -DCR_CLANG_REVISION=214024 -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DUSE_XI2_MT=2 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DUSE_UDEV -DENABLE_EGLIMAGE=1 -DADDRESS_SANITIZER -DMEMORY_TOOL_REPLACES_ALLOCATOR -DMEMORY_SANITIZER_INITIAL_SIZE -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DCLD2_DATA_SOURCE=static -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 -DENABLE_LOAD_COMPLETION_HACKS=1 -DUSE_NSS=1 -DLEAK_SANITIZER -DWTF_USE_LEAK_SANITIZER=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen '-I../../third_party/libc++abi/trunk/include' '-I../../third_party/libc++/trunk/include' -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -pipe -fPIC -Wno-reserved-user-defined-literal -Xclang -load -Xclang /b/build/slave/Linux_ASan_LSan_Builder/build/src/tools/clang/scripts/../../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -fcolor-diagnostics -B/b/build/slave/Linux_ASan_LSan_Builder/build/src/third_party/binutils/Linux_x64/Release/bin -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -fstrict-aliasing -nostdinc++ -std=c++11 -Wno-format -Wno-unused-result -m64 -march=x86-64 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize=leak -O2 -fdata-sections -ffunction-sections -fno-slp-vectorize -funwind-tables -fno-exceptions -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -Wno-deprecated  -c ../../third_party/libc++abi/trunk/src/cxa_new_delete.cpp -o obj/third_party/libc++abi/trunk/src/libc++abi.cxa_new_delete.o
../../third_party/libc++abi/trunk/src/cxa_new_delete.cpp:50:13: error: cannot use 'throw' with exceptions disabled
            throw std::bad_alloc();
            ^
../../third_party/libc++abi/trunk/src/cxa_new_delete.cpp:77:5: error: cannot use 'try' with exceptions disabled
    try
    ^
../../third_party/libc++abi/trunk/src/cxa_new_delete.cpp:118:5: error: cannot use 'try' with exceptions disabled
    try
    ^
3 errors generated.
FAILED: /b/build/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/third_party/libc++abi/trunk/src/libc++abi.cxa_aux_runtime.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DCHROMIUM_BUILD -DCR_CLANG_REVISION=214024 -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DUSE_XI2_MT=2 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DUSE_UDEV -DENABLE_EGLIMAGE=1 -DADDRESS_SANITIZER -DMEMORY_TOOL_REPLACES_ALLOCATOR -DMEMORY_SANITIZER_INITIAL_SIZE -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DCLD2_DATA_SOURCE=static -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 -DENABLE_LOAD_COMPLETION_HACKS=1 -DUSE_NSS=1 -DLEAK_SANITIZER -DWTF_USE_LEAK_SANITIZER=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen '-I../../third_party/libc++abi/trunk/include' '-I../../third_party/libc++/trunk/include' -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -pipe -fPIC -Wno-reserved-user-defined-literal -Xclang -load -Xclang /b/build/slave/Linux_ASan_LSan_Builder/build/src/tools/clang/scripts/../../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -fcolor-diagnostics -B/b/build/slave/Linux_ASan_LSan_Builder/build/src/third_party/binutils/Linux_x64/Release/bin -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -fstrict-aliasing -nostdinc++ -std=c++11 -Wno-format -Wno-unused-result -m64 -march=x86-64 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize=leak -O2 -fdata-sections -ffunction-sections -fno-slp-vectorize -funwind-tables -fno-exceptions -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -Wno-deprecated  -c ../../third_party/libc++abi/trunk/src/cxa_aux_runtime.cpp -o obj/third_party/libc++abi/trunk/src/libc++abi.cxa_aux_runtime.o
../../third_party/libc++abi/trunk/src/cxa_aux_runtime.cpp:24:5: error: cannot use 'throw' with exceptions disabled
    throw std::bad_cast();
    ^
../../third_party/libc++abi/trunk/src/cxa_aux_runtime.cpp:29:5: error: cannot use 'throw' with exceptions disabled
    throw std::bad_typeid();
    ^
2 errors generated.
FAILED: /b/build/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/third_party/libc++abi/trunk/src/libc++abi.cxa_personality.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DCHROMIUM_BUILD -DCR_CLANG_REVISION=214024 -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DUSE_XI2_MT=2 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DUSE_UDEV -DENABLE_EGLIMAGE=1 -DADDRESS_SANITIZER -DMEMORY_TOOL_REPLACES_ALLOCATOR -DMEMORY_SANITIZER_INITIAL_SIZE -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DCLD2_DATA_SOURCE=static -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 -DENABLE_LOAD_COMPLETION_HACKS=1 -DUSE_NSS=1 -DLEAK_SANITIZER -DWTF_USE_LEAK_SANITIZER=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen '-I../../third_party/libc++abi/trunk/include' '-I../../third_party/libc++/trunk/include' -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -pipe -fPIC -Wno-reserved-user-defined-literal -Xclang -load -Xclang /b/build/slave/Linux_ASan_LSan_Builder/build/src/tools/clang/scripts/../../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -fcolor-diagnostics -B/b/build/slave/Linux_ASan_LSan_Builder/build/src/third_party/binutils/Linux_x64/Release/bin -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -fstrict-aliasing -nostdinc++ -std=c++11 -Wno-format -Wno-unused-result -m64 -march=x86-64 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize=leak -O2 -fdata-sections -ffunction-sections -fno-slp-vectorize -funwind-tables -fno-exceptions -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -Wno-deprecated  -c ../../third_party/libc++abi/trunk/src/cxa_personality.cpp -o obj/third_party/libc++abi/trunk/src/libc++abi.cxa_personality.o
../../third_party/libc++abi/trunk/src/cxa_personality.cpp:1269:21: error: cannot use 'throw' with exceptions disabled
                    throw;
                    ^
../../third_party/libc++abi/trunk/src/cxa_personality.cpp:1290:17: error: cannot use 'throw' with exceptions disabled
                throw be;
                ^
../../third_party/libc++abi/trunk/src/cxa_personality.cpp:1203:5: error: cannot use 'try' with exceptions disabled
    try
    ^
3 errors generated.
ninja: build stopped: subcommand failed.

I'm not quite sure what the actual problem is, but revert for now.

Original issue's description:
> -fno-exceptions only on .cc files
>
> R=thakis@chromium.org
> BUG=335824
>
> Committed: https://crrev.com/fad91907037b2616fe446bfbb880f8c19418de43
> Cr-Commit-Position: refs/heads/master@{#294266}

TBR=thakis@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=335824

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

Cr-Original-Commit-Position: refs/heads/master@{#294270}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f004ba611b207bbb59f3b8789ac4bb6e2b7fce3b
2014-09-11 00:35:22 +00:00
Scott Graham 1a887f1e8f -fno-exceptions only on .cc files
R=thakis@chromium.org
BUG=335824

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

Cr-Original-Commit-Position: refs/heads/master@{#294266}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fad91907037b2616fe446bfbb880f8c19418de43
2014-09-11 00:06:12 +00:00
primiano 10e53368df [Android] Workaround for aarch64 NDK bug.
The last NDK roll (r10c-rc1) lost the ability of generating functional
executables. This is a temporary workaround and should go away by the
time r10c-rd3 NDK is rolled.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#294257}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: df01991ea10e2d19a684e9a212a8b4390005ea64
2014-09-10 23:28:01 +00:00
davidben e39ce1e771 Revert of Switch Mac over to BoringSSL from NSS. (patchset #1 id:1 of https://codereview.chromium.org/539163002/)
Reason for revert:
http://build.chromium.org/p/chromium.memory/builders/Mac%20ASan%2064%20Builder/builds/10583

Original issue's description:
> Switch Mac over to BoringSSL from NSS.
>
> This is a much much larger change than the diff suggests. If it breaks
> something, please revert first and ask questions later.
>
> BUG=338885
>
> Committed: https://crrev.com/dd7edfa679492a6feb3ef2e1630f05da82a1b31f
> Cr-Commit-Position: refs/heads/master@{#294233}

TBR=rsleevi@chromium.org,brettw@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=338885

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

Cr-Original-Commit-Position: refs/heads/master@{#294237}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 80a9a88f4c7b7a1522ec12f393c2e6478dc41fe0
2014-09-10 22:01:27 +00:00
davidben dbc83fc6f3 Switch Mac over to BoringSSL from NSS.
This is a much much larger change than the diff suggests. If it breaks
something, please revert first and ask questions later.

BUG=338885

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

Cr-Original-Commit-Position: refs/heads/master@{#294233}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dd7edfa679492a6feb3ef2e1630f05da82a1b31f
2014-09-10 21:25:44 +00:00
joleksy a46683d545 Rename gyp variable use_titlecase_in_grd_files -> use_titlecase_in_grd
See tools/gyp/pylib/gyp/input.py:
"Sections mathing the regexp '_(dir|file|path)s?$' are also considered PathSections."

Standard gyp variables should not be named like this.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#294166}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a91e86837e8af810c14543eb01851b7881ff95d8
2014-09-10 13:52:04 +00:00
japhet 96d0447b51 Give the layout test harness better information to determine when to finish.
Currently, blink's FrameLoader.cpp contains a complex, hacky function to
determine when to inform the rest of chromium that loading is complete. This
complexity is only necessary to support layout tests. This puts the requisite
logic in the layout test harness. This logic is behind a temporary flag, in
order to permit both blink and chromium to flip to the new definition of load
completion simultaneously.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#294085}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 46789a8b27fffe9c4d55b57fd21c3aef1dca1b69
2014-09-10 03:08:11 +00:00
bolian ebda94dd59 Make the DataCompressionProxyDevRollout trial be able to override both the primary host and the fallback host of the data reduction proxy.
Related Chrome Android CL:
https://chrome-internal-review.googlesource.com/#/c/175697/

BUG=410961

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

Cr-Original-Commit-Position: refs/heads/master@{#294035}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 098fc170c44d55377d0d79fafc98f095ed484b23
2014-09-09 23:36:49 +00:00
hjd a651e06c3d Turn off jarjar in android_webview_telemetry_build
BUG=391488

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

Cr-Original-Commit-Position: refs/heads/master@{#293945}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 46eac8f5a557862d2c39a01986d2a3b8aaf9c866
2014-09-09 15:46:26 +00:00
fdegans 9617514945 Add cflags for GCC 4.8 builds on Android.
This reinstates cflags we used for GCC 4.8 for WebView builds.

BUG=407545
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#293935}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c16332e8e1f6bc14d452a3d0d6201fca57f1a2d9
2014-09-09 13:59:30 +00:00
fdegans f2e8a76b09 Change Android toolchain to GCC 4.9.
Tune global Android ARM cflags for performance.
Update cflags in gn to keep up with gyp.

BUG=407545
CQ_TRYBOTS=tryserver.chromium.linux:android_aosp,android_clang_dbg,android_dbg

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

Cr-Original-Commit-Position: refs/heads/master@{#293913}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6b767135e631b94cd096c78f6622be28a4af277e
2014-09-09 10:11:33 +00:00
vitalybuka b1d96d86b3 More System Dialog printing code disabled on Windows.
BUG=374321

Committed: 77daf40225

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

Cr-Original-Commit-Position: refs/heads/master@{#293700}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f9433e4d9c4fde723a1e791e63ad3c67308ef95d
2014-09-08 10:06:29 +00:00
torne 71852ba746 android_webview: stop using system libjpeg.
To support unbundled updates we need to stop depending on system
libraries. Disable using the system version of libjpeg and instead link
Chromium's libjpeg_turbo.

This increases binary size by ~120KB.

BUG=409851

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

Cr-Original-Commit-Position: refs/heads/master@{#293663}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7c8c58068cdf2997d338cd0b6e3109c5f773dbe6
2014-09-07 12:42:34 +00:00
Nico Weber d8c7c2f3d4 clang/win: Disable -Wunused-local-typedef for now.
BUG=411648,82385
TBR=hans@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#293635}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5897272424994925428a8d1d9a32c5199efe09c8
2014-09-06 21:02:30 +00:00
Sadrul Habib Chowdhury 80910bc071 athena: Move the USE_ATHENA define into //chrome.
Switching the use_athena gyp-flag only affects the code inside //chrome. So move
the USE_ATHENA inside //chrome so that toggling the flag doesn't cause all
targets to be rebuilt, and only code inside //chrome is rebuilt instead. This
should also prevent accidental dependence on USE_ATHENA in code outside of
//chrome.

BUG=none
R=oshima@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#293566}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ec96ebfa63de8e17aaf9ec496a5c70c0e085edb7
2014-09-05 19:17:26 +00:00
torne 362df668ec android_webview: stop using system ICU.
To support unbundled updates we need to stop depending on system
libraries. Disable using the system version of ICU and instead link
Chromium's copy.

This increases binary size by ~7MB.

BUG=409851

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

Cr-Original-Commit-Position: refs/heads/master@{#293510}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 48e43572c0bfef2b1434d7f330da86cc7770b592
2014-09-05 13:09:36 +00:00
Hans Wennborg d3311e2001 Remove -ferror-limit=1 from the Win/Clang build
This was useful to reduce the log output when Clang's Windows
support was less mature.

BUG=82385
R=thakis@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#293141}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a6eeda8438c24c29f6ff17370c55255031be70f7
2014-09-03 15:59:52 +00:00
torne 4b4027d26d android_webview: stop using system expat.
To support unbundled updates we need to stop depending on system
libraries. Disable using the system version of libexpat and instead link
Chromium's copy, and stop removing the expat sources from the checkout.

This increases binary size by ~64KB.

Also remove an obsolete comment about using the system version of
sqlite; this was never implemented and now will not be.

BUG=409851

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

Cr-Original-Commit-Position: refs/heads/master@{#293115}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eac62b75ce57c1689a48fadd4229c1346509a170
2014-09-03 10:58:08 +00:00
oshima f2c825e86f Run athena on chrome
There are more work needs to be finished, but this should at least allow us to implement login UI

* Added chrome version of ExtensionsDelegate and AppActivity
* introduce use_athena gyp flag
* disabled features/code path that does not work yet on athena. Filed bugs to keep track of them.

BUG=397167
R=mukai@chromium.org, yoz@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#293023}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 963c8527b331983a8f8ccb7d11aec2a50a6fcf77
2014-09-02 23:34:25 +00:00
treib 50d8498f3f Revert of Reland https://codereview.chromium.org/298333007/: Enable mac_strip_release under ASan on OSX. Remo… (patchset #1 id:1 of https://codereview.chromium.org/517803004/)
Reason for revert:
Breaks *lots* of browser_tests on Mac ASan. See e.g.:
http://build.chromium.org/p/chromium.memory/buildstatus?builder=Mac%20ASan%2064%20Tests%20%281%29&number=2036
http://build.chromium.org/p/chromium.memory/buildstatus?builder=Mac%20ASan%2064%20Tests%20%282%29&number=2600
http://build.chromium.org/p/chromium.memory/buildstatus?builder=Mac%20ASan%2064%20Tests%20%283%29&number=2424

Original issue's description:
> Reland https://codereview.chromium.org/298333007/: Enable mac_strip_release under ASan on OSX. Remove the .saves files.
>
> The reasons for reverting the CL hadn't been documented. I'm going to reland and update the bugs.
>
> Unce upon a time the ASan runtime library used to be statically linked into
> the executables on OSX.
> Because that library provided a number of API functions needed by the shared
> libraries, we had custom ASan-specific .saves files that told the `strip`
> utility to preserve those functions when stripping the executables.
>
> Then ASan switched to using dynamic runtime library, which instantly broke the
> stripping step, because the executables weren't necessarily referencing all the
> ASan API functions (issue 242503).
> As a result, stripping has been disabled, and we haven't had .dSYM debug info
> for ASan builds for more than a year now (issue 148383).
>
> Because the ASan API functions are now undefined in the executables, it's
> actually senseless to use the .saves files to preserve those functions.
> This CL deletes the .saves files and turns mac_strip_release on for ASan
> builds.
>
> BUG=148383, 242503, 170739, 166857
> TBR=mark@chromium.org
>
> Committed: d5319a1499

TBR=mark@chromium.org,glider@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=148383, 242503, 170739, 166857

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

Cr-Original-Commit-Position: refs/heads/master@{#292885}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0b804d0007f4fc6b6d99f699e160819ab90c1798
2014-09-01 17:08:32 +00:00
glider 45955e1345 Reland https://codereview.chromium.org/298333007/: Enable mac_strip_release under ASan on OSX. Remove the .saves files.
The reasons for reverting the CL hadn't been documented. I'm going to reland and update the bugs.

Unce upon a time the ASan runtime library used to be statically linked into
the executables on OSX.
Because that library provided a number of API functions needed by the shared
libraries, we had custom ASan-specific .saves files that told the `strip`
utility to preserve those functions when stripping the executables.

Then ASan switched to using dynamic runtime library, which instantly broke the
stripping step, because the executables weren't necessarily referencing all the
ASan API functions (issue 242503).
As a result, stripping has been disabled, and we haven't had .dSYM debug info
for ASan builds for more than a year now (issue 148383).

Because the ASan API functions are now undefined in the executables, it's
actually senseless to use the .saves files to preserve those functions.
This CL deletes the .saves files and turns mac_strip_release on for ASan
builds.

BUG=148383, 242503, 170739, 166857
TBR=mark@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#292872}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5750a97fd179642548e6add77aafc1cdb0eec7e8
2014-09-01 13:45:26 +00:00
timurrrr d720857baf Add GYP dependencies for the ASan RTL in the component build mode
BUG=345874
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#292655}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6e2f3e261755cdc688ac0e0492655695e7e6f73d
2014-08-29 16:55:09 +00:00
Stuart Morgan ee9f58926e Revert "Add armv7s to the iOS ARCH list"
This reverts commit f1dc118635a18587a35b3d6f5092878467c261dd.

Reverting due to inconsistent behavior across toolchains, and lack of
clarity on whether armv7s is actually necessary.

BUG=407295,408027
R=rohitrao@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#292624}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7c31daaf4d36113ca2602d1887566a1ad5214a03
2014-08-29 14:01:10 +00:00
scottmg 4ac2fb5ddd win: Add /Zc:inline to Pro Release builds
http://msdn.microsoft.com/en-us/library/dn642448.aspx

This makes Release .objs smaller and so links faster. It was added in
Update 2, but caused the compiler to crash on Chrome building LTCG. It
seems to be OK after Update 3.

As the depot_tools Express toolchain is not yet Update 3, we don't add
the flag there.

R=jam@chromium.org
BUG=350018,402270

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

Cr-Original-Commit-Position: refs/heads/master@{#292571}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4f828c94f2875e6e66fbec71c34ef088f5099522
2014-08-29 04:12:06 +00:00
vitalybuka 917969991c Removed print_web_view_helper_win.cc
Removed win_pdf_metafile_for_printing gyp option.
Removed WIN_PDF_METAFILE_FOR_PRINTING define.

BUG=170859
TBR=yzshen

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

Cr-Original-Commit-Position: refs/heads/master@{#292501}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 36259ca6a4aa40fa18c2ccbffa4e6b3a8b711868
2014-08-28 23:43:19 +00:00
mlamouri 95f0ede9fd Always enable optimize_jni_generation on non-WebView builds.
It seems that the cons are fairly weak and the benefits might be worth it.
This flag breaks WebView builds.

BUG=None

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

Cr-Original-Commit-Position: refs/heads/master@{#292458}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 23668752ea266ca59e788510fc9e4baaf0397895
2014-08-28 20:58:00 +00:00
torne 3258a26c62 Update host compiler version info for android webview.
The android webview build now uses clang when building for host; update
the gyp variables appropriately to make sure we use reasonable compiler
flags.

BUG=377684

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

Cr-Original-Commit-Position: refs/heads/master@{#292418}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ed51a58fb7366557e5dc3b874aa9821d8c5d5343
2014-08-28 18:33:10 +00:00
petarj 7e6858a705 [MIPS] Add support in common.gypi for building MIPS64
Add missing variables (android_ndk_*) for building Chromium for MIPS64.
In addition to this, set default mips_arch_variant-s for different MIPS
platforms.

BUG=400684

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

Cr-Original-Commit-Position: refs/heads/master@{#292148}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c8a5da7455b57b2399e4a69e8100c098d9870052
2014-08-27 14:34:54 +00:00
damienv 7579855ad7 Add the mp2t mimetype to the list of supported mime types.
The mp2t mimetype is now supported when the mpeg2 TS stream parser is enabled.
This change is required since isTypeSupported involves
that CanPlayType for the same mime type is at least maybe.
This condition is now enforced at Blink level.

BUG=None

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

Cr-Original-Commit-Position: refs/heads/master@{#292073}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a6c976378bd6485a520f0806e82126b25047d1c9
2014-08-27 01:48:37 +00:00
stuartmorgan 75ad96b5a3 Add armv7s to the iOS ARCH list
App Store rules require shipping armv7s with arm64, so this is required
for the "both" configuration.

Also adds it to the 32-bit configuration so that local testing will
better match actual builds, but we can revisit if that turns out to be
onerous in practice.

BUG=407295

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

Cr-Original-Commit-Position: refs/heads/master@{#291930}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f1dc118635a18587a35b3d6f5092878467c261dd
2014-08-26 17:54:53 +00:00
noms cd44b988a8 Revert of linux: Always use (64bit) gold for linking, even on 32bit. (patchset #3 of https://codereview.chromium.org/503873004/)
Reason for revert:
Tentatively reverting because it made the sizes bot grumpy (http://build.chromium.org/p/chromium/buildstatus?builder=Linux&number=52715)

Original issue's description:
> linux: Always use (64bit) gold for linking, even on 32bit.
>
> All 32bit bots now have 64bit kernels and can run 64bit gold. So always use
> that.  We already require running 64bit binaries for clang, and the official
> bots already used to do this for gold.  This makes linking on 32bit bots faster,
> and simplifies our configurations.
>
> BUG=396333
> TBR=brettw
>
> Committed: c7864673b1

TBR=thestig@chromium.org,brettw@chromium.org,thakis@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=396333

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

Cr-Original-Commit-Position: refs/heads/master@{#291905}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 277720168a1fd1bd3147912fc81c88f6dc0f1c69
2014-08-26 15:22:32 +00:00
thakis 37c4e7670d linux: Always use (64bit) gold for linking, even on 32bit.
All 32bit bots now have 64bit kernels and can run 64bit gold. So always use
that.  We already require running 64bit binaries for clang, and the official
bots already used to do this for gold.  This makes linking on 32bit bots faster,
and simplifies our configurations.

BUG=396333
TBR=brettw

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

Cr-Original-Commit-Position: refs/heads/master@{#291904}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7cd5e7a3a82ebad8bf53e1236229d1094f8dafc6
2014-08-26 14:56:01 +00:00
leecam d3fe036471 sandbox: Add Arm64 support for seccomp-BPF
Adds support for Arm64 to 'sandbox/'. This can be used
by future CLs to provide Arm64 policy for Chrome.

BUG=355125
TEST=sandbox_linux_unittests

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

Cr-Original-Commit-Position: refs/heads/master@{#291631}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e6f6b730e646a11e6f6a3c1c5f54e052aa07584a
2014-08-24 23:38:52 +00:00
glider@chromium.org d574781737 Move default sanitizer options into build/ so that WebRTC can import them.
BUG=302040
TBR=noelallen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@291168 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-21 20:34:46 +00:00
thakis@chromium.org e2cf087f47 Don't disable -Wabsolute-value when building for arm.
The things requiring this have been fixed.

BUG=395832
TBR=sbc@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@290396 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-18 23:12:29 +00:00
hans@chromium.org 67dd702733 Disable Clang's warnings about undefined pointer comparisons in Debug builds
The address of a reference, or the 'this' pointer, are always non-NULL
in well-defined C/C++ programs, and Clang warns about comparing them to NULL,
because the comparisons may be optimized away.

However, it can still be useful to do such comparisons in Debug builds.
For example, Skia does a lot of SkASSERT(&a), where a is a reference
parameter.

BUG=404271

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@290361 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-18 21:01:08 +00:00
thakis@chromium.org 0336472687 Don't pass -target arm-linux-gnueabihf on android.
Fixes a regression from r395832. (This isn't a visible change as the android
build happens to pass -target arm-linux-androideabi later on the compile line,
but relying on this is risky.)

BUG=395832
TBR=sbc@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@290308 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-18 18:21:18 +00:00
sbc@chromium.org 5ce31b993d Enable ARM/linux cross compile to use clang.
BUG=395832
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@290261 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-18 15:41:07 +00:00
thakis@chromium.org accf653d46 clang/win: Disable -Wexit-time-destructors for now, 2nd try.
BUG=404525
TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@290252 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-18 14:13:33 +00:00
thakis@chromium.org 11f22f58d6 clang/win: Disable -Wexit-time-destructors for now.
I'm not 100% sure this will be evaluated at the right time to have an effect.

BUG=404525
TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@290208 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-18 04:38:15 +00:00
gunsch@chromium.org e27b23d6b3 Chromecast: MP2TS stream parser should always be enabled.
R=lcwu@chromium.org,damienv@chromium.org
BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@289779 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-15 04:28:01 +00:00