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

2116 Коммитов

Автор SHA1 Сообщение Дата
andrewhayden fb06ec0169 Sync cld_2.gyp with cld_2/BUILD.GN, make BUILD.gn authoritative.
Also removes a comment that is no longer applicable in common.gypi.

BUG=
TBR=toyoshim@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#304013}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7c3b1854c5f8ae7e929c6822fa20e780b668f020
2014-11-13 11:24:35 +00:00
andresantoso faa5ed34aa MacViews: Get chrome/browser/ui/views/frame to compile (reland)
Reland of https://codereview.chromium.org/697223003.

Some fixes to get this subdirectory to compile for MacViews.
An aura::Window dependency is moved from BrowserView to
BrowserCommandHandlerX11.
Hide Ash dependency from ImmersiveModeController.
Add Mac implementation of NativeBrowserFrame.

Now that we include both BrowserWindow::CreateBrowserWindow definitions
in the build, add a new build flag "mac_views_browser" to select between
Cocoa and Views browser.

BUG=425229

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

Cr-Original-Commit-Position: refs/heads/master@{#303958}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f15013419679b0e5860d58464f64f7e65d5c9f1e
2014-11-13 02:15:17 +00:00
derat ff0973990c Add "envoy" GYP variable for pulling in envoy targets.
BUG=426914

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

Cr-Original-Commit-Position: refs/heads/master@{#303928}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 77f15bd8cb64ab8b997b6aa7a26f5ff5d1afa0f4
2014-11-13 00:04:39 +00:00
Sadrul Habib Chowdhury 6ffd1c685a x11: Always require XI2.2 for X11.
This removes the use_xi2_mt gyp variable, and USE_XI2_MT define from the
code. XI2.2 is now available on all supported linux platforms.

BUG=291141
R=brettw@chromium.org, derat@chromium.org, erg@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#303918}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4ae87941c77264d9271afdf939381962c4f45bd2
2014-11-12 23:22:39 +00:00
thakis d83cc964c6 Enable -Wunused-local-typedef
BUG=321833
TBR=brettw

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

Cr-Original-Commit-Position: refs/heads/master@{#303892}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4970b5813302934cfc3df8ccd0b8647a912884a1
2014-11-12 20:54:04 +00:00
andrewhayden af5f2b3b42 Fix: Set Android to go back to CLD2. The CLD version should not have been updated in change 14d913, but that change is otherwise correct.
Code review where I missed this:
codereview.chromium.org/461633002

This only breaks downstream builds that are still tied to CLD1, such as Chrome
for Android. We shouldn't do the changeover to CLD2 without announcing first to
chromium-dev.

notry=true because this simply returns Android to CLD1, as it has always been.,

BUG=
NOTRY=true
TBR=toyoshim@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#303710}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fe3b61660588dce1f1cee9ec2bb6c0b2e09f2303
2014-11-11 20:25:05 +00:00
andrewhayden dea9f4537e Refactor language detection logic to allow non-static CLD data sources.
This change further refines the approach taken in setting the implementation
used for accessing compact language detector at runtime. It is based upon the
pattern used in content_client.h, though adapted for this specific use case.
Fundamentally, there is a switch from having exactly one linked-in class define
a global method to instead having the high-level targets (like the content
shell, chrome shell, and so on) be responsible for setting the implementation
that is desired. This eliminates a lot of the ugly GYP/GN logic, but requires
work for each high-level target.

BUG=367239

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

Cr-Original-Commit-Position: refs/heads/master@{#303669}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 14d91355848a733b18396d74c97d6b945260b899
2014-11-11 17:47:36 +00:00
glider ef1140b4c7 Use the experimental PBQP register allocator for UBSan builds.
This decreases compile time, so we don't need to build certain libraries with -O0 anymore (and we can't because PBQP doesn't support -O0)

BUG=426271
TBR=inferno@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#303657}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dfb61d8d703376828a3c53cf4c388931dd6b45f3
2014-11-11 16:28:49 +00:00
thakis 7751fb5939 mac: Switch from -O3 to -O2.
All other platforms use other -O2 or -Os. Since Linux even uses the same
compiler as mac now, there isn't a great reason for Mac to use a different
optimization level.

In a static release build, this reduces binary size from 175.1MB to 174MB, so
it's probalby not a huge change anyways. If it is, the perf bots will tell us.

BUG=none

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

Cr-Original-Commit-Position: refs/heads/master@{#303476}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9ce1b7510648285b80ff75213384bf4186b8c9dd
2014-11-10 16:20:07 +00:00
raymes dac22f8555 Revert "MacViews: Get chrome/browser/ui/views/frame to compile"
This reverts commit f6158b090dc352608141ba8a9d8f09bbdbf4af88.
Speculative revert to attempt to fix https://code.google.com/p/chromium/issues/detail?id=431608

NOTREECHECKS=true
NOTRY=true
BUG=431608
TBR=tapted@chromium.org,andresantoso@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#303411}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8bdca01518ca8f1443d5255adab9ebfa607c7850
2014-11-10 01:11:24 +00:00
andresantoso b6614d8528 MacViews: Get chrome/browser/ui/views/frame to compile
Some fixes to get this subdirectory to compile for MacViews.
An aura::Window dependency is moved from BrowserView to
BrowserCommandHandlerX11.
Hide Ash dependency from ImmersiveModeController.
Add Mac implementation of NativeBrowserFrame.

Now that we include both BrowserWindow::CreateBrowserWindow definitions
in the build, add a new build flag "mac_views_browser" to select between
Cocoa and Views browser.

BUG=425229

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

Cr-Original-Commit-Position: refs/heads/master@{#303299}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f6158b090dc352608141ba8a9d8f09bbdbf4af88
2014-11-07 21:46:38 +00:00
oshima 9a1843ee9f Exclude spellcheck related code properly on android/ios which doesn't have spellchecker
BUG=397227

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

Cr-Original-Commit-Position: refs/heads/master@{#303277}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 66a9f969936e09b6751b166bef6dcc9d2154ab36
2014-11-07 20:01:29 +00:00
lliabraa 03836aec54 Use --no-output-all-resource-defines for grit on iOS.
Passing this flag to grit will prevent it from including all
resource IDs in header files and resource maps. The default
behavior is to output all resource defines, even for whitelisted
elements, so this will force compile errors if iOS depends on
resource IDs that are not whitelisted.

BUG=428947, 425998

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

Cr-Original-Commit-Position: refs/heads/master@{#303242}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 59d7c372f9091d7b6b6c62789148121301336d6c
2014-11-07 16:29:29 +00:00
newt f5c4ee02a4 Compile Android using GRIT's new --no-output-all-resource-defines flag.
This flag causes GRIT to include the same resources in generated .h
files as are included in the PAK files. This seems like an obvious thing
to do, right? Well, before this CL, *every* resource from the GRD file
was listed in the .h file, even resources inside of <if> statements that
evaluated to false. As a result, it was possible to reference a resource
(e.g. IDS_FOO) in a .cc file, even if IDS_FOO was excluded from the PAK
file. What happened at runtime? Crash!

This change brings compile-time safety to resource loading: the crash
mentioned above would now be a compile failure since IDS_FOO is no
longer in the generated .h file.

BUG=428947

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

Cr-Original-Commit-Position: refs/heads/master@{#303180}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0548dfae799a5423abd007f2f9d8ea0a1d5d571b
2014-11-07 03:40:10 +00:00
fdegans a6cfe58448 Use thumb versions of external libraries with ARMv7.
Previously, we were using the non-thumb versions of these libraries.
This should save around 60 kiB in binary size.
This also includes some minor style fix in build/common.gypi

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

Cr-Original-Commit-Position: refs/heads/master@{#303015}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3572927ce7c9ce6d528820f9575a93985f9309bf
2014-11-06 12:28:25 +00:00
vitalybuka 7ea3728119 Disable basic printing on ChromeOS.
It's actually a printing with Cloud Print Web dialog.

BUG=408684, 158799

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

Cr-Original-Commit-Position: refs/heads/master@{#302959}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e6f4a714b83dc7d8187b3f93d41a9a1d590a42d3
2014-11-06 04:02:55 +00:00
vitalybuka 8d1cc55e8c Renamed enable_printing and printing_mode in *.gyp* and .*gn* files.
enable_printing and printing_mode replaced with
enable_basic_printing and enable_print_preview.

BUG=430281

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

Cr-Original-Commit-Position: refs/heads/master@{#302905}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 93eea40972717ac4e0a649bd289fc9e946512c33
2014-11-05 23:47:41 +00:00
vitalybuka 003e686c9c Re-factored printing defines and build configs.
Renamed DISABLE_BASIC_PRINTING to ENABLE_BASIC_PRINTING.
Renamed ENABLE_FULL_PRINTING to ENABLE_PRINT_PREVIEW.

BUG=430281

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

Cr-Original-Commit-Position: refs/heads/master@{#302868}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e29991c62a63bbce344e597306dab8150c67b532
2014-11-05 21:16:46 +00:00
torne b5e2a2c1f1 android_webview: force libstdc++ use on host.
The way we build host binaries in the android gyp backend currently
doesn't work if we attempt to link against libc++. To avoid problems for
AOSP work to change the default C++ library, explicitly specify that we
want to use libstdc++ (the current default).

BUG=
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#302784}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8beb670cff7f4c09fb6f48b122efea1dff3e8803
2014-11-05 12:17:00 +00:00
thakis 2196f38900 ios: Switch from -std=gnu++0x to -std=c++11.
BUG=427584

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

Cr-Original-Commit-Position: refs/heads/master@{#302644}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a90810d3df55fcf2d1e97d8b7946d0b1d444807f
2014-11-04 19:42:10 +00:00
bedupont d940cdb6fe Provide a way to disable libpci dependency.
Add a new gyp variable: use_libpci (default value is 1).
Add a new define when use_libpci==1: USE_LIBPCI.
Don't call specific PCI code in gpu_info_collector_linux.cc if USE_LIBPCI isn't defined.

BUG=427401
R=piman@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#302613}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 65ce5accb99908e292b9766c3da6cf54d6cc337f
2014-11-04 16:31:00 +00:00
thakis 5f871496cf clang/win: Turn off Winconsistent-missing-override for now.
We can't fix all instances of this warning at the moment (because of gmock
and because of blink apis, see bug). We've fixed many, but our bots still
show almost 20k warnings due to this warning, most of them in v8. That's already
fixed upstream, but v8 rolls don't happen often. Turn the warning off for now.

BUG=428099
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#302356}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 42c03079517c6b0ea14b0427ccd276157b1bef45
2014-10-31 23:52:49 +00:00
sebmarchand 8671dd530b Change dont_embed_build_metadata default to 1 except for Official build and fix some unittests.
FieldTrialTest.DisableProbability was using Time::NowFromSystemTime - 1 year to generate a date before the build time. Instead use GetBuildTime - 1 year.

TransportSecurityState::IsBuildTimely is using GetBuildTime to determine if the build is older than 10 weeks. Disable this and return a default value if DONT_EMBED_BUILD_METADATA is defined (i.e. The build time is invalid) and we're not doing an official build.

CL based on https://codereview.chromium.org/685123005/ with some additional fixes for the unittests.

BUG=314403

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

Cr-Original-Commit-Position: refs/heads/master@{#302316}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 153e1b83e8af5e6f9dbd3b79e5e0643ea8bcf72c
2014-10-31 20:26:11 +00:00
thakis 9bc7b4230c mac: use -std=c++11 instead of -std=gnu++11.
Linux and Android need some more work before this can
happen there. No intended behavior change.

BUG=427584

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

Cr-Original-Commit-Position: refs/heads/master@{#302310}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7d982517408272862e5d2ef62f07f031df22187c
2014-10-31 19:40:44 +00:00
peter 39200acadd Include Web Notifications on Android at build-time.
This increases the size of ChromeShell.apk by 16.8 KiB in
debug builds and 18.7 KiB in release builds.

BUG=90795, 115320

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

Cr-Original-Commit-Position: refs/heads/master@{#302291}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 459eb777b9914f375ae246196efbb07ec31ba930
2014-10-31 18:56:16 +00:00
earthdok aa633a8d33 Temporarily disable the ASan blacklist.
It broke some CrOS bots.

BUG=427202, 425374
R=glider@chromium.org
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#301936}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2983823316aa1ea668cab9a074f0fdb2c81d110a
2014-10-29 21:35:38 +00:00
brucedawson 33c6e6d12d Adding /analyze support to common.gypi through GYP_DEFINES=win_analyze=1, and suppress one very noisy warning.
When win_analyze=1 is specified then /analyze is added to the command
line to enable static code analysis with VC++.
WarnAsErrors is set to false to allow reporting of all errors.
Additional, WX- is added to disable WarnAsErrors more robustly, necessary because some projects override WarnAsErrors.
Additionally, many noisy but low-value warnings are suppressed.
Finally, _USING_V110_SDK71_ is un-set when win_analyze is true because
this is incompatible with /analyze.

The change to callback_internal.h suppresses an extremely noisy warning about a potentially incorrect use of sizeof():
    base\callback_internal.h(80) : warning C6334: sizeof operator applied to an expression with an operator might yield unexpected results:  Parentheses can be used to disambiguate certain usages.

With this change almost all of Chrome can be built with high but useful levels of warnings.

bug=427616

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

Cr-Original-Commit-Position: refs/heads/master@{#301723}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4b6961df21fb1475efd3f6713ef5c34b1763d748
2014-10-28 22:18:18 +00:00
scroggo 7552d6feb7 Remove use_system_skia and skia_system.gypi
These are no longer needed/used.

BUG=skia:2350

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

Cr-Original-Commit-Position: refs/heads/master@{#301639}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 76be254d3f94eec77254e0642d93cb077ee627f9
2014-10-28 15:42:34 +00:00
baixo 0512fed2c9 Infrastructure for enabling V8's initial snapshot to be loaded from external files as opposed to being statically linked to the binary.
This is not currently supported on any architecture.

BUG=421063

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

Cr-Original-Commit-Position: refs/heads/master@{#301595}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3a3c88a61fc3fc5b001e7bae70e6335d3cf7c997
2014-10-28 11:52:42 +00:00
thestig 342bcde243 Cleanup: Remove unused enable_eglimage variable and #define.
Review URL: https://codereview.chromium.org/676613002

Cr-Original-Commit-Position: refs/heads/master@{#301556}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 82ca3b654cda337fe5bfab06438905c0d0b47660
2014-10-28 02:42:56 +00:00
fdegans 5ae60c145c Revert of Use <(DEPTH) instead of <(PRODUCT_DIR)/../../ for sanitizer blacklist paths. (patchset #2 id:20001 of https://codereview.chromium.org/633333003/)
Reason for revert:
This broke Windows bots, see http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win%20x64%20Builder/builds/22954/steps/runhooks/logs/stdio
There is no pwd command on windows.

Original issue's description:
> Use <(DEPTH) instead of <(PRODUCT_DIR)/../../ for sanitizer blacklist paths.
>
> It's not correct to assume that the build directory is two levels below src/.
>
> BUG=427202
> R=glider@chromium.org
> NOTRY=true
>
> Committed: https://crrev.com/dcb216595d483246a0979849f44a993f4d432c7f
> Cr-Commit-Position: refs/heads/master@{#301379}

TBR=glider@chromium.org,earthdok@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=427202

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

Cr-Original-Commit-Position: refs/heads/master@{#301382}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 96244bb7e54ff3aa129097c6a6e576b8cf0cd3de
2014-10-27 16:58:01 +00:00
earthdok fa9eb250e3 Use <(DEPTH) instead of <(PRODUCT_DIR)/../../ for sanitizer blacklist paths.
It's not correct to assume that the build directory is two levels below src/.

BUG=427202
R=glider@chromium.org
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#301379}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dcb216595d483246a0979849f44a993f4d432c7f
2014-10-27 16:41:04 +00:00
fdegans 67078467e8 Reland Roll android_tools and breakpad to the latest.
Compared to the previous CL, this picks up in breakpad:
Fix breakpad on mips and x86_64 for the NDK r10c update.

Original issue's description:
> Revert of Roll android_tools and breakpad to the latest. (patchset #5 id:80001 of https://codereview.chromium.org/671633003/)
>
> Reason for revert:
> Downstream x64 and mips bots didn't like it.
>
> Original issue's description:
> > Roll android_tools and breakpad to the latest.
> >
> > This picks up in android_tools:
> > Updated SDK build tools to 21.0.1 and removed old versions.
> > Upgrade NDK to r10c.
> >
> > And in breakpad:
> > Update breakpad to support Android NDK r10c
> > Fixing the Mac Inspector build by adding the launch_report dependency to the breakpadUtilities dylib project after it got pulled out from Inspector.mm.
> > Refactor .so name detection logic in minidump/linux_dumper.
> > The process uptime computation when the Windows out-of-process Crash Generation Server is used is done by subtracting the crashing process creation time from the current time when the crash is generated.
> > Linux multiprocess crash reporter: use pipe instead of socketpair in the client.
> > Remove workaround for Linux credential-passing bug.
> >
> > TBR=brettw, danakj
> > NOTRY=true
> > BUG=424680, 425077, 358831
> >
> > Committed: https://crrev.com/79bd5f12620f81dd241984d925b87a888e1dc37b
> > Cr-Commit-Position: refs/heads/master@{#300671}
>
> TBR=brettw@chromium.org,primiano@chromium.org,rmcilroy@chromium.org,aurimas@chromium.org,danakj@chromium.org,fdegans@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=424680, 425077, 358831
>
> Committed: https://crrev.com/e6319d7f7d5c2fc96c9cb1f5a81ae16bde19f068
> Cr-Commit-Position: refs/heads/master@{#300688}

TBR=brettw@chromium.org,primiano@chromium.org,rmcilroy@chromium.org,aurimas@chromium.org,danakj@chromium.org,ppi@chromium.org
BUG=424680, 425077, 358831

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

Cr-Original-Commit-Position: refs/heads/master@{#301087}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 27660a3c6e308e9293745697433747e0a4fafae0
2014-10-24 13:00:37 +00:00
earthdok f364fc20b7 Add rudimentary support for ASan's intra-object-overflow detection.
Also, add an ASan blacklist.

BUG=425374
R=glider@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#300882}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 78507b971d25db9d18e3722a21de814280dc4ca6
2014-10-23 14:00:25 +00:00
fdegans 5250a3f2f2 Add Link-Time Optimizations support for Android.
TBR=sergeyu, shess, cpu, jln
BUG=407544

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

Cr-Original-Commit-Position: refs/heads/master@{#300872}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d7a59f95af820ebe6c026ac6b3483199f79c08a8
2014-10-23 11:50:15 +00:00
sbc 0d8e208d04 Merge ARM sysroot install script with existing x86/amd64 one.
install-debian.wheezy.sysroot.py is now use for ARM
also, removing duplication.  sysroot location is also
now consistent.

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

Cr-Original-Commit-Position: refs/heads/master@{#300746}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 41d0e08a38f6cc0cb32a2596953a7262c4a9ab02
2014-10-22 20:39:53 +00:00
ppi 5e474c8d62 Revert of Roll android_tools and breakpad to the latest. (patchset #5 id:80001 of https://codereview.chromium.org/671633003/)
Reason for revert:
Downstream x64 and mips bots didn't like it.

Original issue's description:
> Roll android_tools and breakpad to the latest.
>
> This picks up in android_tools:
> Updated SDK build tools to 21.0.1 and removed old versions.
> Upgrade NDK to r10c.
>
> And in breakpad:
> Update breakpad to support Android NDK r10c
> Fixing the Mac Inspector build by adding the launch_report dependency to the breakpadUtilities dylib project after it got pulled out from Inspector.mm.
> Refactor .so name detection logic in minidump/linux_dumper.
> The process uptime computation when the Windows out-of-process Crash Generation Server is used is done by subtracting the crashing process creation time from the current time when the crash is generated.
> Linux multiprocess crash reporter: use pipe instead of socketpair in the client.
> Remove workaround for Linux credential-passing bug.
>
> TBR=brettw, danakj
> NOTRY=true
> BUG=424680, 425077, 358831
>
> Committed: https://crrev.com/79bd5f12620f81dd241984d925b87a888e1dc37b
> Cr-Commit-Position: refs/heads/master@{#300671}

TBR=brettw@chromium.org,primiano@chromium.org,rmcilroy@chromium.org,aurimas@chromium.org,danakj@chromium.org,fdegans@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=424680, 425077, 358831

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

Cr-Original-Commit-Position: refs/heads/master@{#300688}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e6319d7f7d5c2fc96c9cb1f5a81ae16bde19f068
2014-10-22 16:41:32 +00:00
fdegans e0463104af Roll android_tools and breakpad to the latest.
This picks up in android_tools:
Updated SDK build tools to 21.0.1 and removed old versions.
Upgrade NDK to r10c.

And in breakpad:
Update breakpad to support Android NDK r10c
Fixing the Mac Inspector build by adding the launch_report dependency to the breakpadUtilities dylib project after it got pulled out from Inspector.mm.
Refactor .so name detection logic in minidump/linux_dumper.
The process uptime computation when the Windows out-of-process Crash Generation Server is used is done by subtracting the crashing process creation time from the current time when the crash is generated.
Linux multiprocess crash reporter: use pipe instead of socketpair in the client.
Remove workaround for Linux credential-passing bug.

TBR=brettw, danakj
NOTRY=true
BUG=424680, 425077, 358831

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

Cr-Original-Commit-Position: refs/heads/master@{#300671}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 79bd5f12620f81dd241984d925b87a888e1dc37b
2014-10-22 12:58:41 +00:00
newt 4d9ecaf9dd Turn Chrome Shell's AndroidManifest into a jinja2 template.
This turns Chrome Shell's AndroidManifest.xml into a template which gets
processed at build time to produce the final AndroidManifest.xml that's
used to build the APK.

BUG=163751
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#300409}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d5366cb1ad27e6bf1ae659f374a9b9dd3186761d
2014-10-21 03:29:29 +00:00
torne 56b38ad83a android_webview: Build against NDK prebuilts, not system libraries.
To allow the chromium WebView to build unbundled, we need to stop
linking to system libraries and instead link to the prebuilt libraries
in the NDK.

This change rolls gyp to include the required makefile generation
changes, and adjusts the chromium side to match:

1) Stop setting use_system_stlport and instead use the NDK stlport by
   specifying LOCAL_NDK_STL_VARIANT := stlport_static

2) Remove support for the use_system_stlport flag entirely as WebView
   was the only user.

3) Don't try to link standard libraries like -lc -lm as the NDK does
   this automatically.

4) Don't include the OpenAL headers from frameworks/wilhelm; these are
   already part of the NDK with no special include path needed.

BUG=409851

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

Cr-Original-Commit-Position: refs/heads/master@{#300212}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3bc122f4da5cecfc6ffac44bce3fddf432afa174
2014-10-18 11:10:37 +00:00
aurimas 8aec7db1f6 Roll Android SDK to v21
BUG=424680

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

Cr-Original-Commit-Position: refs/heads/master@{#300193}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1030b8fdea68fc3eaacde474fb57742e37e249f4
2014-10-18 01:12:04 +00:00
torne 0b8cfb8d30 Revert "android_webview: go back to using system ICU."
This reverts commit 96256bfea5c496aa70b1913555b1e1c7f166c426, returning
the webview build to using Chrome's copy of ICU.

BUG=409851
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#300092}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2f017213ed940754da2bbc24fadd5386fe82e3fc
2014-10-17 12:42:40 +00:00
hidehiko 043897d210 Non-SFI Mode: Build base/ library by PNaCL toolchain for nacl_helper_nonsfi.
This CL is to build base/ for nacl_helper_nonsfi.
The library is similar to base_nacl, but slightly different:
- For rand_util, rand_util_posix should be used, instead of
  rand_util_nacl, because nacl_helper_nonsfi will be running under
  Linux directly.
- MessageLoopForIO should be based on MessagePumpLibevent rather than
  MessagePumpDefault, to support IPC.
- GetKnownDeadTerminationStatus, GetTerminationStatus,
  UnixDomainSocket::SendMsg and RecvMsg are included, as these are used
  to implement nacl_helper_nonsfi binary.
- GLIB is not supported. It is unnecessary for nacl_helper_nonsfi.
Note that this library is not used yet from any binary, because this CL
is just a preparation, but the library is built actually.

BUG=358465
TEST=Ran trybot. Implement nacl_helper_nonsfi on top of this CL, and made sure
it is working.

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

Cr-Original-Commit-Position: refs/heads/master@{#300075}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2b720d21260715614abea6f241874cc779f01332
2014-10-17 06:41:01 +00:00
lliabraa 5791b05494 Fix syntax in build/common.gypi.
BUG=418602
NOTRY=true
NOTREECHECKS=true

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

Cr-Original-Commit-Position: refs/heads/master@{#299906}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0c127e9e7f772458368a02dbb754ddb9341f813b
2014-10-16 17:16:52 +00:00
lliabraa 01233ba2b3 Don't require Mac 10.6 SDK for official iOS builds.
iOS does not have this requirement, but we've been installing the 10.6
SDK on the buildbot slaves to make the 'find_sdk.py --verify' call
happy. However, iossim no longer builds with 10.6 so it's time to update
the mac_sdk_min for iOS to 10.8 and remove the false requirement for
official builds.

BUG=418602

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

Cr-Original-Commit-Position: refs/heads/master@{#299904}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3a721cdeaa08279e20010c88e282b4a12bcc3ee5
2014-10-16 16:47:04 +00:00
hans a806e53c2b Roll Clang 217949:218707 (+r218742 and r218921)
Update the plugin cmake files to explicitly depend on Clang. When we moved
to the approach of building tools and plugins inside the LLVM build in
https://codereview.chromium.org/615083006/, that dependency was lost. We should
find a better way to do this eventually.

Also move the code to clear the CHROME_TOOLS_SHIM_DIR earlier in the script
to avoid having it affect the bootstrap build.

BUG=420674
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#299766}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 51709a2ce53da80b7814b9244fb874e185e50566
2014-10-15 21:20:33 +00:00
torne b13ef4197f android_webview: explicitly use gcc for target binaries.
To avoid causing problems for people working on using clang by default
in AOSP, explicitly specify that the android webview build doesn't want
to use clang for target binaries. The current default is false, so this
doesn't change behaviour in the normal case.

BUG=
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#299691}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6c1c44664f6b3cf7782142135be6206aeb356217
2014-10-15 15:56:14 +00:00
aruslan 53a2efa438 Do not use zero or empty android:versionCode
This isn't in general recommended by Android,
and it's causing problems with some services that
need to establish white/black-listing.

BUG=422491

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

Cr-Original-Commit-Position: refs/heads/master@{#299334}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ad608226402b04d953f5c7b13966e6a453e20a9e
2014-10-13 18:53:36 +00:00
maniscalco 10fefb71e3 Revert of Enable debug fission for Release build (patchset #1 id:1 of https://codereview.chromium.org/605623002/)
Reason for revert:
Speculatively reverting.  Suspect it may be cause of leaks on linux asan lsan bot:

http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%281%29/builds/6561

Original issue's description:
> Enable debug fission for Release build
>
> This enables debug fission for Release build. If the target compiler
> satisfies fission requirement, the fission is enabled for target no
> matter how old the host compiler is.
>
> BUG=None
> TEST=simple chrome for x64 platform passes with fission.
>
> Committed: https://crrev.com/d872dd066eb644f2d85e25429f55451cd2dd20d4
> Cr-Commit-Position: refs/heads/master@{#298925}

TBR=tansell@chromium.org,mithro@mithis.com,llozano@chromium.org,llozano@google.com,yunlian@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=None

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

Cr-Original-Commit-Position: refs/heads/master@{#299000}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fc10f0bc83a90138b7b59773c6d6c1d77102a9ec
2014-10-09 22:50:11 +00:00
torne 5438b295d6 android_webview: force clang for host targets.
Current AOSP versions use clang to build host code by default and
https://codereview.chromium.org/516723004 configured common.gypi to
assume this, but this breaks building against older releases where clang
is not the default. Force use of clang by emitting "LOCAL_CLANG := true"
into generated host makefiles so that it will work no matter what
release we are using.

BUG=421873

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

Cr-Original-Commit-Position: refs/heads/master@{#298942}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 981f132f9f354a9c3cd1bb45bb1f95f8d006f5fa
2014-10-09 18:37:37 +00:00