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

6939 Коммитов

Автор SHA1 Сообщение Дата
scherkus d0249ef6cb Have build/landmines.py delete contents of build directory.
Some checkouts have the build directory mounted, which causes the script
to throw an exception when it attempts to remove the directory itself.

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

Cr-Original-Commit-Position: refs/heads/master@{#293199}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bb04e1054366543cb554531c728b33525a5dae8c
2014-09-03 21:33:14 +00:00
lliabraa 86d4db9d3d Add NSString category for providing iOS6-style string drawing APIs.
The iOS6-style APIs have been deprecated, but the replacements are
more verbose and brittle so this category wraps the replacements in
methods similar to the iOS6-style APIs.

This category lives in a new target and directory: src/ui/ios, so
this CL sets up all the gyp/DEPS stuff and only adds a single
method. There will be more methods added in subsequent CLs.

BUG=364419

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

Cr-Original-Commit-Position: refs/heads/master@{#293193}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c018ddc14ace7181edda4d4be225cf6e88e44d2c
2014-09-03 20:41:22 +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
tfarina f9bdcd1dbc Reland "ui: Move ui_unittests.gyp into ui/base."
Original description from commit 63e36e6bdaa65d1152dd62f9831128c752bc0408:

ui: Move ui_unittests.gyp into ui/base.

ui_unittests.gyp -> ui_base_tests.gyp (follow gfx_tests.gyp pattern).
ui_unittests_bundle.gypi -> ui/base/ui_base_tests_bundle.gypi
ui_unittests.isolate -> ui_base_tests.isolate

Add a TODO assigned to me to rename ui_unittests target to
ui_base_unittests when buildbot is updated.

It was reverted in commit 6297a2f1e441c46d6f8ca37a3798fe6fbdd6cc4c,
because a test from ui_unittests in ios_dbg_simulator started to
failing.

BUG=331829,373148,299841,103304
TEST=ui_unittests
R=sky@chromium.org,rohitrao@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#293134}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2148b92f9cc676bf2b64dc7e47ef65daac393031
2014-09-03 14:47:45 +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
nyquist 5c14b56e52 Revert of Add support for Java nano protocol buffers for Android. (patchset #4 id:60001 of https://codereview.chromium.org/511283003/)
Reason for revert:
Breaks some workflows and also should get new quota.

Original issue's description:
> Add support for Java nano protocol buffers for Android.
>
> This CL adds a new dependency on the protocol buffer compiler
> from the android source tree, since this compiler supports
> generating Java files using the nano runtime.
>
> The initial version of this dependency is 2.2.0a, but checked
> out as what the Android 4.4.4 Release 2.0.1 tag points to.
>
> This CL adds a new protoc binary (for compiling protos) that supports
> this, and also adds a Java library with the runtime.
>
> To simplify use of this, it also updates build/protoc_java.gypi to
> support generating nano protos by specifying an optional
> proto_runtime argument. The argument defaults to 'lite' which does
> the same thing as before this change, and setting it to 'nano'
> generates the new style Java files.
>
> The plan is to quickly deprecate the 'lite' runtime for Java, since
> it is too big and uses too many methods.
>
> BUG=377891
>
> Committed: d8ae0a7983

TBR=cjhopman@chromium.org,darin@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=377891

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

Cr-Original-Commit-Position: refs/heads/master@{#293028}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e3f2241bc1235a54254f165db374f6013e037233
2014-09-03 00:26:04 +00:00
Nico Weber b33954ba35 Add a landmine for crbug.com/408192
TBR=jam@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#293024}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9f49a7ad853db11ffb232ad8649a46b2ae047b53
2014-09-02 23:44:39 +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
Brett Wilson 392cc7e5a7 Add some more libjingle targets to the GN build.
Add usrsctp. Make Windows version configurable for this in the build.

direct_dependent_configs for libsrtp.

R=hclam@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#293004}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c63f22b374dd953b8003800babbe833688e4b93d
2014-09-02 22:02:22 +00:00
bratell 01d915b296 binarysize tool: Cleaning up some progress output.
R=primiano

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#292999}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 42cab11e12ec82915197f300d26007f30b959c6b
2014-09-02 21:22:37 +00:00
Scott Violet 40fcbf8810 Fixes compile error
Without this I get compile errors in motion_event_web.cc because M_PI
is undeclared.

BUG=409940
TEST=none
R=scottmg@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#292991}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2a70090f34ab279ca1e7097568cc7db3e5acd17b
2014-09-02 21:00:32 +00:00
Brett Wilson ccd33d0771 Minor fixes for the GN Windows build.
R=scottmg@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#292979}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e1b05dc1d206abb5cd3fc0fdd549bd88eb5452a9
2014-09-02 19:57:57 +00:00
nyquist 2c59f6efd9 Add support for Java nano protocol buffers for Android.
This CL adds a new dependency on the protocol buffer compiler
from the android source tree, since this compiler supports
generating Java files using the nano runtime.

The initial version of this dependency is 2.2.0a, but checked
out as what the Android 4.4.4 Release 2.0.1 tag points to.

This CL adds a new protoc binary (for compiling protos) that supports
this, and also adds a Java library with the runtime.

To simplify use of this, it also updates build/protoc_java.gypi to
support generating nano protos by specifying an optional
proto_runtime argument. The argument defaults to 'lite' which does
the same thing as before this change, and setting it to 'nano'
generates the new style Java files.

The plan is to quickly deprecate the 'lite' runtime for Java, since
it is too big and uses too many methods.

BUG=377891

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

Cr-Original-Commit-Position: refs/heads/master@{#292965}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a076bf3d5a204c2e2db473a687b34c17830866bc
2014-09-02 18:51:26 +00:00
agable 464e2cff74 Lengthen lastchange VERSION string to show full hash and commit position.
Now that the DMServer has been fixed to accept 'agent' strings longer than
64 characters (http://crbug.com/406948), we can re-lengthen the string
produced by lastchange.py to include both the full git hash and the
Cr-Commit-Position.

R=joaodasilva@chromium.org, scottmg@chromium.org
BUG=406783

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

Cr-Original-Commit-Position: refs/heads/master@{#292963}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 740c00432f11b2378fcb2cc72e09dd0c9a74e62f
2014-09-02 18:36:45 +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
Henrik Kjellander 1ec73cd6ef Refactor/cleanup WebRTC-specific Andorid glue code.
Remove a bunch of code that is already longer used or
will become unused when https://review.webrtc.org/22149004/
and https://codereview.chromium.org/505153002/ are landed.

Remove hardcoded paths to the WebRTC isolate files to make
it easier for us to make changes to them, since we can pass
the path to the .isolate file on test execution instead
(keeping the configuration in the WebRTC buildbot recipe instead).
Previously we had to roll our Chromium revision in WebRTC DEPS
every time a change was made before it became used.

Add support for a CHECKOUT_SOURCE_ROOT environment variable
used to make it possible to override the hardcoded path traversal
that is done to find the src/ directory (since it's different for
WebRTC bots). I considered passing a flag into the test_runner.py
scripts instead of using an environment variable, but my opinion is
that it would pollute the code too much since
constants.DIR_SOURCE_ROOT is used in 70 different places.

BUG=webrtc:3741
TEST=local building and test execution using command lines like this:
cd /path/to/webrtc/src
export CHECKOUT_SOURCE_ROOT=`pwd`
build/android/test_runner.py gtest -s tools_unittests --isolate-file-path=webrtc/tools/tools_unittests.isolate

R=navabi@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#292861}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f0a439da1aba8e22b30ede87087418e806f7fa75
2014-09-01 11:09:00 +00:00
qsr 28eb723a81 Add test data for mojo instrumentation tests.
R=navabi@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#292854}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2b4690f6a93f11cad7213287dc19f82be371fbba
2014-09-01 09:30:39 +00:00
leilei cd6acaab2b Swarming configuration files for chromoting integration tests.
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#292785}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d90ba4c4e4ddf5c4cbb6cf812c9571d628e30567
2014-08-30 09:52:48 +00:00
phajdan.jr 8e00ef6f52 Create build/linux/unbundle file for protobuf
BUG=none

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

Cr-Original-Commit-Position: refs/heads/master@{#292773}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1f15f3a9e425389a828ada84860a62d9d1e25e9b
2014-08-30 05:24:06 +00:00
torne 903b36f628 Sort Java AIDL input filenames for makefile stability.
Sort the list of input java files for the aidl build step so that
the contents of generated makefiles in WebView have a stable ordering.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#292686}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8eff03f99038a90198095d0bab3363a249357cb5
2014-08-29 22:18:31 +00:00
dalecurtis 9be026bc51 Various GN fixes.
- Fixes gcc_version issues on gTrusty.
- Fixes accidental duplicate in input_events build file.
- Fixes spammy warnings in libxml.

BUG=none
TEST=builds

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

Cr-Original-Commit-Position: refs/heads/master@{#292669}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 54d9265014bce6db79a5a0364031e29e031c8d26
2014-08-29 18:29:29 +00:00
tfarina 7bfd4ce15f Revert of ui: Move ui_unittests.gyp into ui/base. (patchset #5 id:80001 of https://codereview.chromium.org/506483002/)
Reason for revert:
it breaks clobber build of ios_dbg_simulator.

Original issue's description:
> ui: Move ui_unittests.gyp into ui/base.
>
> ui_unittests.gyp -> ui_base_tests.gyp (follow gfx_tests.gyp pattern).
> ui_unittests_bundle.gypi -> ui/base/ui_base_tests_bundle.gypi
> ui_unittests.isolate -> ui_base_tests.isolate
>
> Add a TODO assigned to me to rename ui_unittests target to
> ui_base_unittests when buildbot is updated.
>
> BUG=331829,373148,299841,103304
> TEST=ui_unittests
> R=sky@chromium.org
>
> Committed: 60f6892f72

TBR=sky@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=331829,373148,299841,103304

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

Cr-Original-Commit-Position: refs/heads/master@{#292657}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6297a2f1e441c46d6f8ca37a3798fe6fbdd6cc4c
2014-08-29 17:04:07 +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
pgal.u-szeged 9f20938741 Move GLIB_DISABLE_DEPRECATION_WARNINGS define to a more general place.
The GLIB_DISABLE_DEPRECATION_WARNINGS define disables the deprecation
warnings which is caused by the usage of the g_settings_list_schemas
method. Moving the define to the build scripts avoids any future build
errors (-Werror) and warning reports.

BUG=391250
TEST=ninja -C out/Release chrome

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

Cr-Original-Commit-Position: refs/heads/master@{#292608}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3a31d8e495b1d04a01f9e6c57fac608fee0285e3
2014-08-29 12:06:24 +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
lfg 7e1977b2ea - Add support for references in different paths in apis.
- Move ImageDetails from chrome to extensions.

BUG=352290

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

Cr-Original-Commit-Position: refs/heads/master@{#292567}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8a1bee36d9f609ab9a98ecf89bf1dfc0bb4762dc
2014-08-29 03:58:01 +00:00
scottmg 3483f9d47d Never clobber all of build in landmines
We don't support msvs any more anyway, and clobbering all of build/ is
always a bad idea. (I'm not sure this'll fix anything, but maybe we'll
get a better error.)

R=kbr@chromium.org,iannucci@chromium.org
BUG=408839

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

Cr-Original-Commit-Position: refs/heads/master@{#292554}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e72944be164918acb81933d0742e1369e51f2958
2014-08-29 02:38:49 +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
Brett Wilson d91f1add98 Remove built-in component and test targets from GN.
Previously "component" was a built-in function that forwarded to source_set, static_library, or shared_library depending on the value of component_mode. And test was a built-in function that forwarded to executable.

These can be expressed as templates instead. This patch removes the built-in versions and implements the templates in the master build config file.

Forwarding all of the variables for these is somewhat tedious, but I still prefer not to add a new concept for this, since it will be rarely used and less clear what is happening.

With the updated BUILDCONFIG.gn file, the build will work with both the old and new GN version (the built-in version of component and test take precedence). When the new GN binary is pushed, we can remove the references to component_mode.

BUG=
R=hclam@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#292500}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 60a5bf4a8a5d1a2dad8e7a67f81e72756e886266
2014-08-28 23:36:31 +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
Brett Wilson 151cb2d170 Fix compiled action dependencies in GN.
The yasm uses of compiled action used sources instead of inputs. Sources applies to the _foreach version but not the plain "compiled_action". These did not trigger an unused variable warning because the declarations themselves dereferenced the sources variable for computing args to the script.

This adds some extra documentation and assertion to the compiled action template. It also adds the binary itself as an input. This should be strictly unnecessary since there should be an implicit dependency on the target, but I like this since it makes things more explicit.

R=ajwong@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#292447}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4b04efb439a19c6dfef213a2fe51751b223f9cbd
2014-08-28 20:25:39 +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
perezju 68d662bf55 Make single shell call in _SetScalingGovernorInternal
Changed implementation to make a single shell call, rather than
pushing files and executing several shell calls.

When running telemetry unittests on android, reduces total execution
time about 12%.

BUG=379378

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

Cr-Original-Commit-Position: refs/heads/master@{#292405}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4bda9f96e6edbc4c208abde787c842f828f2f798
2014-08-28 17:08:44 +00:00
svenpanne a17aa8241a Fixed install-build-deps.sh for Goobuntu Precise laptops.
Review URL: https://codereview.chromium.org/508953003

Cr-Original-Commit-Position: refs/heads/master@{#292345}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bd55b929308b02f067ac172994761bbcf2bd1540
2014-08-28 07:46:13 +00:00
Sadrul Habib Chowdhury 54075116e1 gn: Fix definition of |enable_plugins|.
Plugins are not enabled on android or ios.

BUG=none
R=brettw@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#292256}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 39a6a1b1e570f54aaa957095400b6d40aae0e0f1
2014-08-27 22:59:16 +00:00
mikecase da41be3bc9 Made ChromeSyncShellTest.apk run on the fyi-tests bot.
BUG=406538

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

Cr-Original-Commit-Position: refs/heads/master@{#292238}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0178d4831bd36b5fb9ff477f03dc43b11626a6dc
2014-08-27 22:00:01 +00:00
qsr d4a833477b mojo: generate Proxies and Stubs for java bindings.
This CL allows to generate Stub and Proxy of mojo service in java. This
allows to call interfaces method through message pipes.

Committed: b2ef91ee4a

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

Cr-Original-Commit-Position: refs/heads/master@{#292154}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 063e1e3acae7473399f5064c66296de55b0ac04b
2014-08-27 15:19:23 +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
tfarina 78f5cc64c6 ui: Move ui_unittests.gyp into ui/base.
ui_unittests.gyp -> ui_base_tests.gyp (follow gfx_tests.gyp pattern).
ui_unittests_bundle.gypi -> ui/base/ui_base_tests_bundle.gypi
ui_unittests.isolate -> ui_base_tests.isolate

Add a TODO assigned to me to rename ui_unittests target to
ui_base_unittests when buildbot is updated.

BUG=331829,373148,299841,103304
TEST=ui_unittests
R=sky@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#292146}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 63e36e6bdaa65d1152dd62f9831128c752bc0408
2014-08-27 14:33:57 +00:00
yoz 61ae794a47 Reland 596ff54335b2a1b393af10657bc4945114f3beed - Split API bundle generation steps
* Fixed in this version: dependencies for *_api_registration on *_api.

Split bundle generation steps so that API registration is generated in browser, not common.

We now have schema generation, schema bundle generation, and schema bundle registration generation; the last of these is generated in a separate build target and output to browser rather than common.

Fix a couple of dangling gyp issues also.

BUG=405226
TBR=scottmg@chromium.org,sky@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#292090}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 774dcda2d369584b2e964fa4971dda71cf819677
2014-08-27 03:33:52 +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
Albert J. Wong 0c4f9846c2 Revert "Split bundle generation steps so that API registration is generated in browser, not common."
Causing build failure in Android due to failed include for extensions/common/api/runtime.h.

This reverts commit 3b70ef14be986a3252428cc6d9553bf2c69deb70.

BUG=none
TBR=yoz

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

Cr-Original-Commit-Position: refs/heads/master@{#292059}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8f65982274893958898690b22e1c0c9ed4968857
2014-08-27 01:14:22 +00:00
yoz 06e1e423c2 Split bundle generation steps so that API registration is generated in browser, not common.
We now have schema generation, schema bundle generation, and schema bundle registration generation; the last of these is generated in a separate build target and output to browser rather than common.

Fix a couple of dangling gyp issues also.

BUG=405226
TBR=sky@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#292057}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3b70ef14be986a3252428cc6d9553bf2c69deb70
2014-08-27 00:52:34 +00:00
Jeffrey Yasskin 318519c768 Disable deadlock-y tests in TSan instead of just suppressing the error.
The tests actually deadlock in practice.

BUG=407452
TBR=xhwang@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#292046}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f712d106692d782f2a590a8e752f720ad76ee608
2014-08-27 00:13:19 +00:00
Brett Wilson 82f17d43bd Fix clang warnings in GN build.
This also makes the opus_demo app in the GYP build compile and link (which I discovered when tracking down why the GN version of this gives warnings).

R=scottmg@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#291961}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bd485b85f96f099caa89e3929fb3d541acbad531
2014-08-26 19:25:30 +00:00
Brett Wilson 4439a74fc1 Work on GN build of Chrome.
Fixes the rest of the non-rtc and non-vpx linker errors for the chrome target.

BUG=
R=ajwong@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#291952}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 64275214e0ab409050f048cb7e4b4cf30e3df082
2014-08-26 19:08:09 +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
Brett Wilson a132523e5b Fix GN toolchains to use proper out dir.
Previously it put all toolchains' main link output into the root build directory, which doesn't work when there are multiple toolchains generating the same targets.

BUG=405686
R=jamesr@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#291927}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d40ebfebd18d8fc41a0f5af61d28b6c252b66bea
2014-08-26 17:40:51 +00:00