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

11778 Коммитов

Автор SHA1 Сообщение Дата
agrieve 353a7fcfe5 Don't base android lint version off of android sdk version.
If downstream overrides sdk version, we don't want the lint version to
change.

BUG=623989

Review-Url: https://codereview.chromium.org/2418433003
Cr-Original-Commit-Position: refs/heads/master@{#424847}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 11837e363c671aa15024b9d1228057fc2bacd6eb
2016-10-12 21:06:03 +00:00
brettw 35915a4e77 Move enable_remoting build flag to remoting dir.
There is already a remoting_enable.gni file in the remoting directory. This
flag should be contained in there rather than in the global feature flags file.

Review-Url: https://codereview.chromium.org/2410973002
Cr-Original-Commit-Position: refs/heads/master@{#424824}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2b112cd25fcc75ec6d764a789acebfa60022780d
2016-10-12 19:37:34 +00:00
thomasanderson 001d0478cd Build: disable CFI when LTO is disabled
Clang CFI relies on link-time optimization, so disable CFI when
allow_posix_link_time_opt = false.
http://clang.llvm.org/docs/ControlFlowIntegrity.html

This was leading to linker errors on an official build with LTO disabled,
such as:
error: obj/native_client/src/shared/gio/libgio.a: no archive symbol table

R=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2406673002
Cr-Original-Commit-Position: refs/heads/master@{#424816}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b2472ea7c13e04309fc6bf21c5c537071705e859
2016-10-12 19:23:57 +00:00
mikecase e0e90f29f7 Fix call to WriteDepfile in emma_instr.py.
This should fix ability to collect Java coverage data.

Review-Url: https://codereview.chromium.org/2412683003
Cr-Original-Commit-Position: refs/heads/master@{#424755}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 54e5474b559fe6215824be99617463ba27384104
2016-10-12 16:11:22 +00:00
thakis 9016abf4a9 android: Use gold in arm64 builds too.
Reduces hot-cache link time from 49s to 23s (gcc) and binary size from 72M to
67M (gcc)  -- faster links and a 5MB smaller binary.

(With clang, it's 36s to 19.5s and 75M to 69M.)

It also makes the chrome/android/arm64 config more similar to most other build
configs.

We used to not use this because of
https://sourceware.org/bugzilla/show_bug.cgi?id=18348 , but the gold binary
in NDK r12b (which we currently use) has the flags added in the patches on
that bug, so it should be fine now.

BUG=481855

Review-Url: https://codereview.chromium.org/2410233002
Cr-Original-Commit-Position: refs/heads/master@{#424747}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a4baf802f3058b66976a2085278f13ab3bcd8092
2016-10-12 15:48:15 +00:00
thakis a67074f855 android: Make 64-bit chromes compile with clang.
Newer NDKs define snprintf() (and other functions) to a macro when using clang,
to implement a kind of _FORTIFY_SOURCE support.  This means it's impossible to
declare your own base::snprintf(), like base/strings/string_util.h does.  A
future NDK will have a better fortify story that doesn't depend on macros,
but for now build with -Dsnprintf=snprintf to tell the NDK that it shouldn't
define snprintf as a macro.  This will disable fortify for snprintf.

This matters for 64-bit only because we use NDK 21 for 64-bit builds but
we use NDK 16 for 32-bit builds.  NDK 16 never does any fortify stuff, so
while this CL does remove fortify checking for snprintf() (but not for any
other function), 64-bit binaries are still better-protected than 32-bit
binaries.  (And ideally this situation is just temporary.)

With this, x64 and mips64el build fine with clang. With this and
https://codereview.chromium.org/2404193003/, arm64 builds fine with
clang.  I verified that a clang-built arm64 Chromium starts up fine
on my Pixel XL and can navigate to a few websites.

BUG=539781

Review-Url: https://codereview.chromium.org/2409173004
Cr-Original-Commit-Position: refs/heads/master@{#424729}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3ae9e5b283ea81dc1605f70970828064deacba2a
2016-10-12 13:40:36 +00:00
brettw c09c1b824f Move ENABLE_PEPPER_CDMS to a buildflag header.
Removes the global build flag and #define and converts to a buildflag header in
ppapi/features.

A new target "//third_party/widevine/cdm:headers" was added since
widevine_cdm_version.h was unreferenced in the build. Given that this file now
requires //ppapi/features we really need "gn check" to work on it. I made the
existing users of ":version_h" reference this new target which encompasses the
public headers of the widevine CDM.

TBR=jrummell@chromium.org (original reviewer)
TBR=jschuh@chromium.org (render_messages.h owners)
TBR=ddorwin@chromium.org (widevine owners)

Reland of http://crrev.com/2411433002 with official build fix.

Review-Url: https://codereview.chromium.org/2409423002
Cr-Original-Commit-Position: refs/heads/master@{#424687}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c5fcdd0ce8d04569d054322ca21f37272d07005a
2016-10-12 07:27:10 +00:00
brettw dd411417d1 Move some global feature defines to buildflags
Moves
  enable_captive_portal_detection
  enable_hangout_services_extension
  enable_plugin_installation
out of the global features.gni files and moves them into chrome/common's
feature flags buildflag header. This increases encapsulation and reduces the
global #defines passed to all compiles.

CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
TBR=jschuh (render_messages.h)

Review-Url: https://codereview.chromium.org/2405013002
Cr-Original-Commit-Position: refs/heads/master@{#424659}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ab78fefbe385452fae85587b505bcc1bac60a17f
2016-10-12 02:58:34 +00:00
thomasanderson 87ea4e1ce7 Build: Extract debian control files to sysroots
Adapted from sbc@'s CL https://codereview.chromium.org/2391183002/

R=thestig@chromium.org,sbc@chromium.org

BUG=564904

Review-Url: https://codereview.chromium.org/2405073002
Cr-Original-Commit-Position: refs/heads/master@{#424641}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 58974f62d368d3d6dc2f58fe80741804d2147675
2016-10-12 01:42:43 +00:00
alph 87a16ead26 Revert of Move ENABLE_PEPPER_CDMS to a buildflag header. (patchset #5 id:80001 of https://codereview.chromium.org/2411433002/ )
Reason for revert:
Broke build https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Mac/builds/14706

Original issue's description:
> Move ENABLE_PEPPER_CDMS to a buildflag header.
>
> Removes the global build flag and #define and converts to a buildflag header in
> ppapi/features.
>
> A new target "//third_party/widevine/cdm:headers" was added since
> widevine_cdm_version.h was unreferenced in the build. Given that this file now
> requires //ppapi/features we really need "gn check" to work on it. I made the
> existing users of ":version_h" reference this new target which encompasses the
> public headers of the widevine CDM.
>
> TBR=jschuh (render_messages.h)
>
> Committed: https://crrev.com/e23a62a0c4b56618da615698717ed53983854f8d
> Cr-Commit-Position: refs/heads/master@{#424477}

TBR=jrummell@chromium.org,ddorwin@chromium.org,jschuh@chromium.org,brettw@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review-Url: https://codereview.chromium.org/2412493003
Cr-Original-Commit-Position: refs/heads/master@{#424507}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2d7d8a5e77ba0ee8c4c0e03a2ac4b15977926ca6
2016-10-11 19:18:07 +00:00
pwnall ea4ea44b79 Re-enable IndexedDBBrowserTestSingleProcess.RenderThreadShutdownTest.
This was disabled on Android in https://crrev.com/242483 and
separately in http://crrev.com/287030. I aimed to re-enable the test in
http://crrev.com/2370703004 but missed one of the places where it was
disabled.

BUG=342525

Review-Url: https://codereview.chromium.org/2403113003
Cr-Original-Commit-Position: refs/heads/master@{#424489}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b8dd50d72c22d5a6a36754be1a9694ca17c0fb38
2016-10-11 18:20:51 +00:00
brettw d8bdaab97c Move ENABLE_PEPPER_CDMS to a buildflag header.
Removes the global build flag and #define and converts to a buildflag header in
ppapi/features.

A new target "//third_party/widevine/cdm:headers" was added since
widevine_cdm_version.h was unreferenced in the build. Given that this file now
requires //ppapi/features we really need "gn check" to work on it. I made the
existing users of ":version_h" reference this new target which encompasses the
public headers of the widevine CDM.

TBR=jschuh (render_messages.h)

Review-Url: https://codereview.chromium.org/2411433002
Cr-Original-Commit-Position: refs/heads/master@{#424477}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e23a62a0c4b56618da615698717ed53983854f8d
2016-10-11 17:45:59 +00:00
thakis 24d5137150 Android/clang: Always pass --gcc-toolchain, independent of use_gold.
clang uses the same compiler binary no matter what arch it's targeting,
so it needs to know where to find the (arch-dependent) linker.  It needs
to know this no matter if the linker is BFD ld or gold.
This is needed to make things link in chrome/android/arm64
builds with clang.

use_gold defaults to true on android for x86, x64, and arm, but not for arm64,
see build/config/compiler/compiler.gni. It also doesn't default to true
for mips, but mips had a special-case branch adding --gcc-toolchain
before this change.

(We should probably use gold in arm64 android builds by default too, but
that's for a different CL.)

BUG=539781

Review-Url: https://codereview.chromium.org/2404193003
Cr-Original-Commit-Position: refs/heads/master@{#424441}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1a11042f1f1a1532bfba1f0cb8fcb9eac23edd06
2016-10-11 16:03:00 +00:00
lukasza cb5ab4aaa5 Tweak --gtest_filter_file switch to support blank lines and comment lines.
BUG=654589
TEST=Manually tried running out/.../bin/run_content_browsertests --gtest-filter-file=$HOME/scratch/file-with-comments-and-blank-lines.txt

Review-Url: https://codereview.chromium.org/2405063002
Cr-Original-Commit-Position: refs/heads/master@{#424437}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 705aa265b8d39f3b121086030e00986782748e23
2016-10-11 15:45:47 +00:00
sgurun 83eadacc04 Fix monochrome not booting issue
Revert these two CLs to have monochrome working again on ToT.

Revert "Move PathUtils to use ContextUtils."
 commit 7200e9f34aa2e9006d8ea5540035de744b13d27d.
Revert "Reland of Move language pak files to assets."
 commit 67101cd0338a409d80689b9c9c875c95ccde7957.

BUG=653771,644377, 529604

TBR==agrieve@chromium.org,tedchoc@chromium.org,slan@chromium.org,xunjieli@chromium.org,torne@chromium.org,nyquist@chromium.org,wnwen@chromium.org, michaelbai@chomium.org, estevenson@chromium.org

Review-Url: https://codereview.chromium.org/2406093002
Cr-Original-Commit-Position: refs/heads/master@{#424345}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5cb262f964b4a158be02b5497462e2e8d170a59b
2016-10-11 02:38:25 +00:00
thomasanderson 2b10909932 Sysroot: Pull in updated packages from wheezy-updates and jessie-updates
Review-Url: https://codereview.chromium.org/2409853002
Cr-Original-Commit-Position: refs/heads/master@{#424335}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9209700da5e8b545a8b74ea4eb037eaf9d680101
2016-10-11 01:43:13 +00:00
erikchen fe4902cac2 More changes to support hermetic Xcode toolchain in GN.
BUG=651267

Review-Url: https://codereview.chromium.org/2403583002
Cr-Original-Commit-Position: refs/heads/master@{#424307}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 717ca1227414e7ea84b4676ec4b1572491654ae1
2016-10-11 00:43:06 +00:00
sgurun a612ef5c42 Revert of Store only locale paks rather than all assets within BuildConfig.java (patchset #2 id:20001 of https://codereview.chromium.org/2396073002/ )
Reason for revert:
Breaking monochrome (chrome not booting up)

BUG=652984, 653771

Original issue's description:
> Store only locale paks rather than all assets within BuildConfig.java
>
> This works around Monochrome having diffferent BuildConfig.java for
> 32/64 bit.
>
> BUG=652984
>
> Committed: https://crrev.com/4e09dacc10a8a359785c6f49d75653ce7cfd00ec
> Cr-Commit-Position: refs/heads/master@{#423587}

TBR=tedchoc@chromium.org,michaelbai@chromium.org,agrieve@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=652984

Review-Url: https://codereview.chromium.org/2404043002
Cr-Original-Commit-Position: refs/heads/master@{#424304}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 01fbbca601e78b594cebe62b8eb804ca7d6ff0aa
2016-10-11 00:35:24 +00:00
mmoroz 88a2285cdc Reland of [libfuzzer] Add more UBSan flags to is_ubsan_security configuration. (patchset #1 id:1 of https://codereview.chromium.org/2405473002/ )
"object-size" option that caused a lot of errors has been removed in this CL.

Reason for revert:
A couple of fuzzers cannot be built with this config: https://build.chromium.org/p/chromium.fyi/builders/Libfuzzer%20Upload%20Linux%20UBSan/builds/1418/steps/compile/logs/stdio

Original issue's description:
> [libfuzzer] Add more UBSan flags to is_ubsan_security configuration.
>
> R=aizatsky@chromium.org, inferno@chromium.org, ochang@chromium.org
> BUG=616438
>
> Committed: https://crrev.com/d1133be663df309a382a88fbf8bd1cd16878ef21
> Cr-Commit-Position: refs/heads/master@{#423990}

TBR=aizatsky@chromium.org,inferno@chromium.org,ochang@chromium.org,dpranke@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=616438
Committed: https://crrev.com/e03c404aecdb715803ebab9ed711fb2d3305a412
Cr-Commit-Position: refs/heads/master@{#424078}

Review-Url: https://codereview.chromium.org/2408903002
Cr-Original-Commit-Position: refs/heads/master@{#424240}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a565e914721e3d0d8d08cd50da0366451c58b04f
2016-10-10 21:15:17 +00:00
erikchen bbaba8789b Clean up some GN/hermetic build changes.
No functional changes, just style.

BUG=

Review-Url: https://codereview.chromium.org/2401573005
Cr-Original-Commit-Position: refs/heads/master@{#424199}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 55e37ffdfc5d1aa4f47ae7e9bc0c8bc58ba23af5
2016-10-10 18:46:14 +00:00
mmoroz 17093d45bf Revert of [libfuzzer] Add more UBSan flags to is_ubsan_security configuration. (patchset #1 id:1 of https://codereview.chromium.org/2405473002/ )
Reason for revert:
A couple of fuzzers cannot be built with this config: https://build.chromium.org/p/chromium.fyi/builders/Libfuzzer%20Upload%20Linux%20UBSan/builds/1418/steps/compile/logs/stdio

Original issue's description:
> [libfuzzer] Add more UBSan flags to is_ubsan_security configuration.
>
> R=aizatsky@chromium.org, inferno@chromium.org, ochang@chromium.org
> BUG=616438
>
> Committed: https://crrev.com/d1133be663df309a382a88fbf8bd1cd16878ef21
> Cr-Commit-Position: refs/heads/master@{#423990}

TBR=aizatsky@chromium.org,inferno@chromium.org,ochang@chromium.org,dpranke@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=616438

Review-Url: https://codereview.chromium.org/2403673002
Cr-Original-Commit-Position: refs/heads/master@{#424078}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e03c404aecdb715803ebab9ed711fb2d3305a412
2016-10-08 10:56:49 +00:00
thestig 472d19ef7d Make enable_service_discovery a chrome/ feature.
TBR=dbeam@chromium.org

Review-Url: https://codereview.chromium.org/2407483002
Cr-Original-Commit-Position: refs/heads/master@{#424019}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4888f2982142523a4a0ddacfbf729f8d23a11e98
2016-10-08 00:00:29 +00:00
mmoroz 40bdbbd2ff [libfuzzer] Add more UBSan flags to is_ubsan_security configuration.
R=aizatsky@chromium.org, inferno@chromium.org, ochang@chromium.org
BUG=616438

Review-Url: https://codereview.chromium.org/2405473002
Cr-Original-Commit-Position: refs/heads/master@{#423990}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d1133be663df309a382a88fbf8bd1cd16878ef21
2016-10-07 22:40:08 +00:00
mark c271228102 Update Crashpad to 1e6dbcb3008f6eebe02ca33d8c36c8922931dad3
a16a7fd4ef88 win: Make DumpAndCrash() always terminate, and tidy up
             special codes
1e6dbcb3008f Support passing DEVELOPER_DIR to mig.py

Review-Url: https://codereview.chromium.org/2405563002
Cr-Original-Commit-Position: refs/heads/master@{#423958}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 869230baa78b8e945632559a51fcba020dc9a7f8
2016-10-07 20:50:09 +00:00
mark 0a0c073c60 Macs don't use backslashes as path separators
Review-Url: https://codereview.chromium.org/2402033002
Cr-Original-Commit-Position: refs/heads/master@{#423938}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e0088f675519c6e1c90ff0717f09fb267d8a0e5f
2016-10-07 19:46:44 +00:00
nyquist e0b60f74a8 Move session into //blimp/client/app and update GN files.
As part of making the Android Blimp APK compatible with the
//blimp/client/public APIs, this first CL moves the session code into
//blimp/client/app. This includes the GN-targets to ensure that they are
easily identifiable as belonging to the app directory.

This moves the APK-target itself, which means that the testing bots
needed to be updated with the new path to the target. In addition, the
lint suppressions needed to be updated with a new path.

The //blimp/client:blimp_unittests_java_deps (moved from //blimp), still
needs to be referred to directly by //blimp/BUILD.gn, because adding it
as a deps to //blimp/client:unit_tests on the Android platform does not
make the Java classes end up in the unit test APK. Other than this, the
rest of the targets have now been moved to //blimp/client and
//blimp/client/app.

Some targets have been renamed since they now reside in the app
directory.

Lastly, since the visibility parts of //blimp/client/core is cleaned up,
a bug was also filed for removing the visibility for internal core
targets for the engine browser tests.

BUG=651964, 653789

Review-Url: https://codereview.chromium.org/2387813002
Cr-Original-Commit-Position: refs/heads/master@{#423825}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1ce09cbb95446995ca12230ccf86b3467d0259f1
2016-10-07 09:41:19 +00:00
yyanagisawa 792a87c121 Fix pylint warnings: build/gn_helpers.py
************* Module gn_helpers
W: 68,17: Redefining built-in 'input' (redefined-builtin)
W:108,15: Redefining built-in 'input' (redefined-builtin)
W:242, 4: Redefining built-in 'id' (redefined-builtin)

Review-Url: https://codereview.chromium.org/2389353004
Cr-Original-Commit-Position: refs/heads/master@{#423785}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 18ef930c632de1aa0d4850671f0f9522e6674961
2016-10-07 02:37:56 +00:00
erikchen 2b99cbd1e4 Add a variable use_system_xcode to GN.
Start plumbing it through to actions that require binaries from the Xcode
toolchain.

BUG=651267
TBR=sdefresne@chromium.org

Review-Url: https://codereview.chromium.org/2388063003
Cr-Original-Commit-Position: refs/heads/master@{#423673}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b58a723ab22333fe40575f6992c3cb8c7dde0b0a
2016-10-06 21:02:17 +00:00
thomasanderson 1a1bafc588 Build: Use wget instead of curl to download sysroots
R=dpranke@chromium.org

BUG=650482

Review-Url: https://codereview.chromium.org/2398633004
Cr-Original-Commit-Position: refs/heads/master@{#423647}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: afeed464143898afff1654acb2f47a69e50f86eb
2016-10-06 20:20:31 +00:00
agrieve d4f3488af9 Make apk_merger.py use hermetic timestamps.
This ensures two runs of the merger with same inputs results in the same
outputs.

Review-Url: https://codereview.chromium.org/2400693002
Cr-Original-Commit-Position: refs/heads/master@{#423627}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 96f11a3f422215131a9823e95a9f4d5777c538c9
2016-10-06 19:31:23 +00:00
agrieve e9608f21fe Store only locale paks rather than all assets within BuildConfig.java
This works around Monochrome having diffferent BuildConfig.java for
32/64 bit.

BUG=652984

Review-Url: https://codereview.chromium.org/2396073002
Cr-Original-Commit-Position: refs/heads/master@{#423587}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4e09dacc10a8a359785c6f49d75653ce7cfd00ec
2016-10-06 18:07:29 +00:00
xunjieli 6db801c6b8 Add a ignore_elf32_limitations flag in build/config/compiler/compiler.gni
Add a ignore_elf32_limitations flag in
build/config/compiler/compiler.gni to turn off
assertion for Cronet builds.

This CL additionally adds is_clang to the
assertion per comment in 648948.

BUG=651887,648948

Review-Url: https://codereview.chromium.org/2395603003
Cr-Original-Commit-Position: refs/heads/master@{#423564}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6d32a26068321e5976494501c51a33636a42c13f
2016-10-06 17:00:15 +00:00
yyanagisawa e88b7e905a Fix pylint warnings: build/toolchain/win/tool_wrapper.py
************* Module tool_wrapper
W: 94,32: Unused argument 'excinfo' (unused-argument)
W:230,29: Unused argument 'arch' (unused-argument)
W:301, 0: Redefining built-in 'dir' (redefined-builtin)

Review-Url: https://codereview.chromium.org/2393283003
Cr-Original-Commit-Position: refs/heads/master@{#423470}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3b39efa3873fabb1c3565daf1286b60d555bcb56
2016-10-06 07:45:02 +00:00
agrieve 67604e142e Make aidl .srcjars and lib.java jars use hermetic timestamps
This makes compiles faster because they can now detect
when inputs haven't changed.

BUG=523420

Review-Url: https://codereview.chromium.org/2397683003
Cr-Original-Commit-Position: refs/heads/master@{#423413}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 45fb1e3e389c45ed00ee153255fe6045f908a9aa
2016-10-06 03:02:23 +00:00
yyanagisawa e8c7e52d25 fix pylint warning: build/toolchain/mac/linker_driver.py
W:134, 3: Unused variable 'head' (unused-variable)
W:159, 3: Unused variable 'head' (unused-variable)

Review-Url: https://codereview.chromium.org/2396723003
Cr-Original-Commit-Position: refs/heads/master@{#423410}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f636eadf2f2096579005f581cc87963429cf4444
2016-10-06 02:56:15 +00:00
ochang fcb37c7b54 Use -O1 in more optimize configs when optimize_for_fuzzing=true.
BUG=643249

Review-Url: https://codereview.chromium.org/2397873003
Cr-Original-Commit-Position: refs/heads/master@{#423383}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: edfefd55622340e0e3d73ca3b899647c820555af
2016-10-06 01:37:44 +00:00
mikecase e20989bc35 Remove bootclasspath variable from list of testrunner script inputs.
There is only 1 instance in which the bootclasspath variable is
currently used. In this case, adding bootclasspath as an input
sometimes causes an error where GN complains that there is no
path (via public_deps) to the target that generates the input file.

Since public_deps is not supported for java_prebuilt targets, I
think the simplest thing to do is just remove this file from
list of inputs.

BUG=635913

Review-Url: https://codereview.chromium.org/2388153006
Cr-Original-Commit-Position: refs/heads/master@{#423289}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 71fc2fa22d4d1da0cfdcd430f011b4bbf9afebff
2016-10-05 21:11:19 +00:00
jbudorick 1946bc22fc [Android] Use os.exec in the test wrapper scripts.
BUG=652787

Review-Url: https://codereview.chromium.org/2397523003
Cr-Original-Commit-Position: refs/heads/master@{#423220}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 626bdde804d615c4582b5c1a78bd8929f83b1ab9
2016-10-05 18:15:33 +00:00
ochang 9ce5c5420e Add an optimize_for_fuzzing GN flag to build most things with -O1
This is better for coverage guided fuzzing builds as less optimization
means more branches in the generated code.

BUG=643249

Review-Url: https://codereview.chromium.org/2389923003
Cr-Original-Commit-Position: refs/heads/master@{#423217}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aaa26c162de624ebcf7a120e85fef3e19ec02151
2016-10-05 18:01:34 +00:00
sdefresne 0a1cde9524 Fix codesign.py script when ios_enable_code_signing is set to false.
When code signing is disabled, the embedded.mobileprovision file
should not be copied into the generated bundle, so move the copy
after the check of --disable-code-signature.

Remove the embedded.mobileprovision from the bundle if it exists
so that switching ios_enable_code_signing from true to false works.

BUG=None

Review-Url: https://codereview.chromium.org/2397433002
Cr-Original-Commit-Position: refs/heads/master@{#423111}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 98ca7be1e2734af19697a244879bac6a059db148
2016-10-05 08:23:53 +00:00
jbudorick 475d5b37de [Android] Log instr test start & end.
BUG=651984

Review-Url: https://codereview.chromium.org/2385673005
Cr-Original-Commit-Position: refs/heads/master@{#423012}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ddf32ac6c05d9c688aace9f9f7a94b912b29af6a
2016-10-05 00:17:32 +00:00
bshe 724d823eb4 Reland gvr upgrade
The original CL is here: https://codereview.chromium.org/2367673002/
It was reverted because of compile failure with gn flags:
is_debug=false
is_component_build=true
target_os="android"
The reason is gvr uses API that only available in Android N SDK. For
release build, proguard detected the dependancy and results a compile
error. N SDK is in the process of rolling to chromium
https://codereview.chromium.org/2350013004/
In this CL, I restricted WebVr to debug build only. This could unblock
us. And I will remove the is_debug restriction once N is in Chromium

BUG=389343
TBR=dtrainor@

Review-Url: https://codereview.chromium.org/2396663002
Cr-Original-Commit-Position: refs/heads/master@{#423005}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 511e7f727be80e20d41fc5fd07cf8b5244cafbf0
2016-10-04 23:49:26 +00:00
estevenson 07c9ebfc10 Allow multi-line enum entries in java_cpp_enum.py.
clang-format wraps long lines, so java_cpp_enum.py should also
handle multi-line enum entries.

Also changed the HeaderParser to ignore empty comments.

BUG=652018

Review-Url: https://codereview.chromium.org/2396533002
Cr-Original-Commit-Position: refs/heads/master@{#422863}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9066edf6a2199aa3390cc55e89a93f858b50761b
2016-10-04 18:30:11 +00:00
sebmarchand cfca70694d Automatically copy the DIA DLL in the Syzygy binaries directory.
Committed: https://crrev.com/f34c072397b99c313e79cd10a77f5ca397154399
Review-Url: https://codereview.chromium.org/2365893002
Cr-Original-Commit-Position: refs/heads/master@{#422861}
Cr-Original-Original-Commit-Position: refs/heads/master@{#422655}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: af7cc2f1de47235b720dafa5536f16666fd282df
2016-10-04 18:25:11 +00:00
agrieve c54ad1624a Reland of Move language pak files to assets.
Reverted by:
https://codereview.chromium.org/2369683002/

Reason for reland:
I've reworked it so that:
1. The list of pak files to extract are not set on start-up, but rather lazy initialized
2. This is done by putting the list of locale assets right in base's BuildConfig.java
3. Downstream parts have been upstreams so that this won't require a 2-sided patch

Language pak files were moved to res/raw when split apks was being implemented.
Moving them to assets with a java constant keeping track of pak file locations
will improve lookup time and save some space (no more xml files and
resources.arsc).

Other notables:
- .pak filenames no longer mangled. No more .lpak. no more hyphens to _s
- Ensures that monochrome doesn't extract files by extracting only when
files are compressed.

BUG=529604

Review-Url: https://codereview.chromium.org/2371843002
Cr-Original-Commit-Position: refs/heads/master@{#422836}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 67101cd0338a409d80689b9c9c875c95ccde7957
2016-10-04 17:21:00 +00:00
sebmarchand 3866652123 Revert of Automatically copy the DIA DLL in the Syzygy binaries directory. (patchset #11 id:240001 of https://codereview.chromium.org/2365893002/ )
Reason for revert:
Break gclient for the open contributors.

Original issue's description:
> Automatically copy the DIA DLL in the Syzygy binaries directory.
>
> Committed: https://crrev.com/f34c072397b99c313e79cd10a77f5ca397154399
> Cr-Commit-Position: refs/heads/master@{#422655}

TBR=chrisha@chromium.org,siggi@chromium.org,scottmg@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review-Url: https://codereview.chromium.org/2390993002
Cr-Original-Commit-Position: refs/heads/master@{#422767}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bcc865c6e04ee070d0745c645c5bcc0d1cb890bc
2016-10-04 12:45:49 +00:00
sebmarchand ba2b708589 Automatically copy the DIA DLL in the Syzygy binaries directory.
Review-Url: https://codereview.chromium.org/2365893002
Cr-Original-Commit-Position: refs/heads/master@{#422655}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f34c072397b99c313e79cd10a77f5ca397154399
2016-10-04 01:28:05 +00:00
stip 78bfd0cfb5 suppressions.xml suppressions needed for Android SDK roll.
This is only part of the suppressions needed for a full compile, I'm splitting them up into separate CLs to make OWNERS review easier.

BUG=623989

Review-Url: https://codereview.chromium.org/2364233003
Cr-Original-Commit-Position: refs/heads/master@{#422649}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8d53345794d41eb28671c65157fa3c0df093ba99
2016-10-04 01:12:08 +00:00
thestig 2e2c00b2e7 Android: Avoid linking with --gc-sections.
No more --gc-sections in debug mode for test targets either.

Re-enable instrumentation of globals in ASAN builds.

This is effectively a reland of r387491.

BUG=159801, 159847

Review-Url: https://codereview.chromium.org/2384953003
Cr-Original-Commit-Position: refs/heads/master@{#422638}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 404b02529e8f0139fa719f34ffa326014096a7c7
2016-10-04 00:50:03 +00:00
dpranke 8ae484189e Add an `auto_profile_path` flag to GN to control AFDO.
This change adds a new top-level compiler config to GN, so that we can
control whether AFDO should be enabled or not per-target in CrOS
official builds (which is where we use AFDO).

R=brettw@chromium.org, llozano@chromium.org
BUG=633719

Review-Url: https://codereview.chromium.org/2375783002
Cr-Original-Commit-Position: refs/heads/master@{#422513}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bffda9f508c0376ab3ae4b9e52b0367c24f3818a
2016-10-03 20:28:37 +00:00