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

4322 Коммитов

Автор SHA1 Сообщение Дата
dfalcantara@chromium.org 4c482d21dc Let Android port access properly sized images
Depends on assets in http://crrev.com/15136005, which had to be separated because of the trybots.

With the way things are currently set up, Chrome on Android can't access properly
sized image resources:
* The APK only packages the mostly unused 100% resources (none of
  the larger 200% assets)
* The bitmaps don't scale properly when they're converted to Java bitmaps because
  the Java code knows nothing about the resource's expected dimensions on different
  devices
* The Chromium resource loading system doesn't allow us to take advantage of
  Android's resource loading schemes (drawable directories for different screen
  sizes, RTL support, etc.).

Instead of #ifdefing out practically everything in the theme_resources.grd file,
this CL introduces a map between the chromium resource IDs and Android drawables,
allowing us to load up the correctly sized Android assets.

The template system is bootstrapped with the InfoBar and WebsiteSettingsUI icon
assets.

TBR=jochen
BUG=237034,238668

Review URL: https://chromiumcodereview.appspot.com/14772036

git-svn-id: http://src.chromium.org/svn/trunk/src/build@201328 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-21 17:32:27 +00:00
stevenjb@chromium.org 56f6248b7c Deprecate kAshDisableNewNetworkStatusArea
Eliminates NetworkListDetailedView and dependencies.

This mostly removes dead code, but also fixes the following
issues related to the old code:
* TrayNetwork::OnWillToggleWifi() ->
  TrayNetwork::RequestToggleWifi() to toggle wifi directly
  from Ash.
* Implement TrayNetwork::NetworkManagerChanged() so that
  detailed views are notified when technology state changes.
* Eliminates unnecessary ash::SystemTrayDelegate
  dependencies on network_menu_ when using new connection
  handler code.

BUG=240859
For about_network.cc:
TBR=jamescook@chromium.org, jennyz@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@201322 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-21 17:07:14 +00:00
torne@chromium.org f439743f0a Android: use grit target platform instead of define.
grit now supports passing "-t android" to set the target platform to
android, which sets is_android and is_posix, and does *not* set
is_linux (matching the OS_* macros). Use this instead of defining an
"android" macro.

This requires one actual condition change in app_locale_settings as
the Android port was previously depending on is_linux being true for
its definitions of IDS_WEB_FONT_*. The other grd changes are all
trivial substitutions.

BUG=239434
TBR=jamesr@chromium.org, joi@chromium.org, newt@chromium.org, sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@201310 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-21 15:29:17 +00:00
stuartmorgan@chromium.org 64929cb439 Enable C++11 mode for iOS
Matches the flags to the OS X clang settings for C++11 to minimize
confusion, but it would be straightforward to enable the string literal
warning on iOS at this point.

Removes a warning suppression that's duplicated by an Xcode setting just
above (again, matching OS X)

BUG=226494

Review URL: https://chromiumcodereview.appspot.com/13936005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@201284 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-21 11:08:49 +00:00
scottmg@chromium.org 87bcf4367e split file path constants out for split link
This is a follow on of work started in https://codereview.chromium.org/15310002/

TBR=brettw@chromium.org
R=cpu@chromium.org
BUG=237249

Review URL: https://chromiumcodereview.appspot.com/15495003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@201279 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-21 09:44:02 +00:00
scottmg@chromium.org 14befef83c Pull string constants into separate .cc for split dll build
Requires https://codereview.chromium.org/15310002/ before landing.

TBR=brettw@chromium.org
R=cpu@chromium.org
BUG=237249

Review URL: https://chromiumcodereview.appspot.com/15300017

git-svn-id: http://src.chromium.org/svn/trunk/src/build@201264 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-21 08:37:28 +00:00
halton.huo@intel.com bdfc68bc33 install-build-deps: Install libudev1 for Ubuntu 13.04
Install libudev1 Ubuntu 13.04, keep libudev0 for other Ubuntu releases.
Add 13.04 (racing) codename

BUG=240963
TEST=Tested manually

Review URL: https://chromiumcodereview.appspot.com/14718016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@201259 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-21 08:26:42 +00:00
yusufo@chromium.org 2b7802194d Disable intreactive autocomplete and remove command line flag for Android
Disabling this feature on beta and stable channels for now. This change will
be reverted on trunk after it is cherrypicked to the branch.

BUG=239478

Review URL: https://chromiumcodereview.appspot.com/15491005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@201209 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-21 03:26:45 +00:00
scottmg@chromium.org bdd618d5d8 split ui/base/clipboard constants out for split_link
This is a follow on of work started in https://codereview.chromium.org/15310002/ 

TBR=ben@chromium.org
R=cpu@chromium.org
BUG=237249

Review URL: https://chromiumcodereview.appspot.com/15271009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@201205 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-21 03:16:43 +00:00
ilevy@chromium.org 3c6c0b2021 Fix WebKit Android buildbot script.
Was trying to run a command with a int as an arg.

BUG=239515
TBR=dpranke

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@201147 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-20 22:00:39 +00:00
thakis@chromium.org 02a6d5b81d cycle bots
BUG=
TBR=jamesr

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@201146 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-20 21:54:07 +00:00
scottmg@chromium.org a2424c209a fix location for kMediaStreamSource constants in split link
Requires https://codereview.chromium.org/15310002/ before landing.

R=cpu@chromium.org
BUG=237249

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@201127 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-20 19:55:46 +00:00
scottmg@chromium.org 5068cca33b Identify data exports during split_link
Generates proper .def files that include "DATA" so that non-functions are
correctly exported.

However, for split_link because the "other" side won't import them properly
(__declspec(dllimport) is required) split_link notes them, and errors out.

This also adds support for linking individual objs out of libs so that some
_constants.cc and _switches.cc files can easily be linked into both DLLs.

R=cpu@chromium.org
BUG=237249

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@201119 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-20 19:21:41 +00:00
phajdan.jr@chromium.org dab091a528 GTTF: Convert WebContentsImplBrowserTest to use EmbeddedTestServer.
This eliminates a whole class of problems with SpawnedTestServer
failing to start.

BUG=96594, 230200
R=avi@chromium.org, satorux@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@201099 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-20 16:45:38 +00:00
cjhopman@chromium.org 1753c2d759 [Android] Fix proguard
Gyp supports only very limited ways of changing behavior based upon
CONFIGURATION_NAME. Particularly, it does not support the way that was
supposed to enable/disable use of proguard.

Instead of trying to switch behavior in gyp, instead pass
CONFIGURATION_NAME, proguard_enabled, and
proguard_enabled_dex_input_path to dex.py and switch the behavior
there.

This also extracts the dex actions into build/android/dex_action.gypi
and uses that for the actions in both build/java.gypi and
build/java_apk.gypi.

BUG=240837

Review URL: https://chromiumcodereview.appspot.com/15231006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200958 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-18 02:33:37 +00:00
phajdan.jr@chromium.org 97bffd2336 Linux: remove unmaintained SELinux code.
See https://groups.google.com/a/chromium.org/d/msg/chromium-dev/YpU7t2XaGRg/V9-diQZQQDwJ
for discussion.

BUG=none
R=agl@chromium.org, jln@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200838 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-17 17:22:14 +00:00
torne@chromium.org 3560a932f2 Android WebView: tidy up library dependencies.
The comment in android_webview.gyp about static library dependencies not
being handled correctly is incorrect, and the workaround not necessary:
the problem was just that I wasn't using link_settings correctly. Remove
the workaround and instead add proper dependencies in the places that
actually use cpufeatures and cutils (ashmem). This doesn't change the
generated makefiles but makes more logical sense.

BUG=
R=digit@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200806 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-17 13:46:10 +00:00
mkosiba@chromium.org 31d2af7df2 [android_webview] Fix shell launch script again.
In r195135 I accidentally reverted the fix that was landed in
r192348. This is reverting the accidental revert.

BUG=None
NOTRY=True
R=benm@chromium.org

Review URL: https://chromiumcodereview.appspot.com/15093014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200776 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-17 09:36:55 +00:00
mkosiba@chromium.org 64d8c3e6a7 [android_webview] Add a command line setter tool.
This adds a command line setter tool very similar to the ones already
present for content shell and testshell.

BUG=None
TESTS=None
NOTRY=true
R=benm@chromium.org

Review URL: https://chromiumcodereview.appspot.com/15002006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200775 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-17 09:36:27 +00:00
henrika@chromium.org 62b5b27b5a Disabling failing/crashing webkit_unit_tests.
It seems like a set of WebKit tests are failing on Android bots and I had to disable them as sheriff. I was not sure who to assign the issue to but trchen@ has done modifications in this are and might be able to reassign to a better resource.

TBR=trchen@chromium.org
BUG=241730

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200774 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-17 09:31:50 +00:00
digit@chromium.org e1c77a52b3 Do not use $ANDROID_TOOLCHAIN set by envsetup.sh.
This reverts the changes from commit 6394facfcd6150a69be418212f1caff2f6639540
and instead improves the adb_gdb script to properly auto-detect the right
location of the toolchain binaries.

This means that on a Linux 64-bit systems, it will first try to find the
64-bit binaries, and if not available, will fallback to 32-bit ones.

Tested with the default toolchain from third_party/android_tools/ndk/
(64-bit) and with --ndk-dir=/path/to/android-ndk-r8d (32-bit).

Also remove "gdb_apk" and "gdb_content_shell" which were obsoleted by
"adb_gdb" and "adb_gdb_content_shell", respectively.

BUG=none
R=yfriedman@chromium.org,navabi@chromium.org,wangxianzhu@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14910010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200547 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-16 16:19:41 +00:00
joi@chromium.org cb8016bda6 Isolate check_internal.py to the .gypi files that need it.
This works around the bug we've had where on some Windows machines, one of the invocations of check_internal.py mysteriously causes a file to open up in Visual Studio.  We have no idea why, but this should avoid the problem.  See details in bug.

BUG=241208

Review URL: https://chromiumcodereview.appspot.com/12330155

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200514 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-16 11:39:54 +00:00
pliard@chromium.org 9b8b7b0c95 Use a single Python Forwarder instance for each base test runner instance.
This is achieved by having BaseTestRunner instantiate a single Forwarder
instance and inject it into SpawningServer.

This makes the test server spawner instance use an already configured Forwarder
instance for every single unit test rather than instantiating Forwarder every
time (which also meant unnecessarily running 'adb forward' for every single
unit test).

Note that this CL also makes Forwarder thread-safe. This is due to the fact
that the test server spawner does its work on a worker thread and not to the
fact that a single Forwarder instance can be shared accross multiple shards as
one could think.

BUG=229685,239014
R=bulach@chromium.org, craigdh@chromium.org, frankf@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200500 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-16 09:25:16 +00:00
cjhopman@chromium.org e2f9224298 [Android] Pass -p to mkdir commands
These commands should not fail if the parent directory does not exist.
Pass -p so that all the parent directories are also made.

Review URL: https://chromiumcodereview.appspot.com/14795012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200456 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-16 05:14:05 +00:00
cjhopman@chromium.org f13445c6a5 [Android] Only always trigger stripping with component build
With the component build we need to always trigger stripping because we
can't specify the inputs correctly at gyp time. This is not required
for the non-component build.

Also, slightly refactor strip_native_libraries.gypi and its users to
make it more clear what variables are being used by the .gypi.

Review URL: https://chromiumcodereview.appspot.com/14844009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200422 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-16 02:40:29 +00:00
jamesr@chromium.org 22892053ed Move webkit/compositor_bindings into webkit/renderer
The compositor bindings for WebKit should only be used in a render process or in
webkit_support for DumpRenderTree or webkit_unit_tests. It's never used in a
browser process. This moves the bindings code under webkit/renderer/ so we can
enforce this via DEPS rules.

The path is unfortunately a bit awkward. Once we drop DumpRenderTreeSupport and
figure out a way to deal with webkit_unit_tests, we can move the bindings into
content/renderer/gpu/ since they'll only be used by the content embedding.

BUG=239107
TBR=piman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200350 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-15 21:18:52 +00:00
zmo@chromium.org 2a89c2ccfb Change gpu blacklists from json resource to const string.
Since we no longer do realtime blacklist update, so the need to keep it as a independent json file is no longer there.

BUG=
TEST=content_unitests
R=apatrick@chromium.org, piman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200315 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-15 18:14:31 +00:00
skyostil@chromium.org 27f0610f11 Make it possible to run WebGL conformance tests on Android
This patch implements the following changes to make it possible to run
the WebGL conformance test suite on Android:

    1. Copy WebGL test data files to the device.

    2. When running the conformance test, turn on WebGL with the
    --enable-webgl command line flag.

    3. Avoid validating the PCI vendor and device ids for the GPU because
    Android has no such concept.

With these changes, you can run the WebGL conformance test by first
building content_browsertests_apk, removing the WebGL exclusion from 
build/android/pylib/gtest/filter/content_browsertests_disabled and then executing:

    $ build/android/run_browser_tests.py -f WebGLConformanceTest.*

BUG=138226

Review URL: https://chromiumcodereview.appspot.com/14944010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200298 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-15 16:46:55 +00:00
scottmg@chromium.org d521acdf55 Generate, merge, and embed manifest when doing split_link
(Requires re-running tools\win\split_link\install_split_link.py)

R=cpu@chromium.org
BUG=237249

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200265 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-15 14:46:11 +00:00
pliard@chromium.org cd400c2477 Add device port unmapping support to forwarder2.
There used not to be any way to unmap a previously forwarded port. Since
the host and device forwarder processes are kept alive during a whole test
suite, both the host and device ended up with an unnecessarily high amount of
unused open sockets. That is source of flakiness (e.g. too many opened file
descriptors).

This adds an UnmapDevicePort() method to the Python Forwarder wrapper class and
modifies the native forwarder2 to accept a negative port on the command line.
When a negative port is provided, the host forwarder tries to unmap that port
(that was mapped previously).

BUG=229685,239014
R=bulach@chromium.org, digit@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200257 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-15 13:55:08 +00:00
miu@chromium.org 32001034b5 Fix flaky test: Enable RenderWidgetHostViewBrowserTest.CopyFromBackingStore.
Added a spin-wait to cause the test to wait for the browser to create the BackingStore via its normal mechanism.

...and then I went ahead and refactored and cleaned up all the code.  I did not add any significant additional testing.  We will want to do this in a follow-up change.  However, I did get rid of the #ifdef OS_XXX pragmas, so the tests will attempt to run on all platforms, not just Mac and Win, and use the CanXXX() methods to determine which features are supported for testing.

BUG=224351

Review URL: https://chromiumcodereview.appspot.com/14495016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200226 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-15 10:00:13 +00:00
palmer@chromium.org 63733d2ea8 Don't tell people they can import their own roots on iOS.
It's not possible at this time.

BUG=240640

Review URL: https://chromiumcodereview.appspot.com/15137010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200143 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-15 02:09:20 +00:00
rsleevi@chromium.org 96e54c3c91 Enable Clang warnings for implementation files on all platforms.
This fixes a few remaining issues for Android builds

BUG=115047

Review URL: https://chromiumcodereview.appspot.com/14876034

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200125 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-15 00:45:07 +00:00
thestig@chromium.org 802e3ca872 Remove bzip2 code since it is no longer being used.
BUG=237998
TBR=tommi

Review URL: https://chromiumcodereview.appspot.com/14863012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200116 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-15 00:13:57 +00:00
scottmg@chromium.org f68a8ab420 fix line endings on split_link scripts
(otherwise, presubmit whines about copyright now matching because it
contains \r)

I'm not 100% sure this will fix the problem because something will
do line ending changes, but... we will see.

TBR=cpu@chromium.org
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200079 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-14 21:38:19 +00:00
scottmg@chromium.org b39a42d8bd fix license
git-svn-id: http://src.chromium.org/svn/trunk/src/build@200067 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-14 20:51:37 +00:00
chrisgao@chromium.org f0792a8d8f Build chromedriver2 library on the chromedriver waterfall.
It is needed by the python integration tests
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/14657024

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200058 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-14 20:33:35 +00:00
scottmg@chromium.org 918ad2bb40 split_link tool, config, and scripts for windows build
First pass at split linker. Splits inputs based on json spec, uses .def files
to export symbols in the other half, relinks to generate an import lib, and
finally links again for the real link, using the generated def file and import
lib. And then, repeats those steps until success (not all unresolved externals
are reported by the linker on the first pass). It's necessary to use the
linker to report externals rather than cracking lib/objs because when doing
LTCG, the object files are in an undocumented compiler-internal format and the
exports can't be gathered (and probably aren't fully determined yet).

Currently this approach only handles chrome.dll, not other large targets that
are monolithic exes (rather than mostly in a DLL with an EXE loader).

Integrated with build system by a linker shim. Original link.exe is saved, and
replaced by split_link binary. If "/splitlink" is found on the command line,
then run our script that does the iterations/exporting magic. Otherwise,
fallback to the original linker.

When GYP_DEFINES includes chrome_split_dll=1, the split linker is invoked.

chrome.exe has not yet been modified to know how to load split binaries, so
the build flag will not yet be directly useful for those not working on this
problem.

Release, non-LTCG, non-split:
05/09/2013 04:57 PM 57,447,936 chrome.dll

Release, non-LTCG, split:
05/10/2013 12:47 PM 39,567,872 chrome0.dll
05/10/2013 12:48 PM 19,274,240 chrome1.dll

Release, partial-LTCG (same as current settings), split:
05/10/2013 03:56 PM 25,934,336 chrome0.dll
05/10/2013 04:13 PM 16,347,648 chrome1.dll

It should be possible to get higher optimization levels for chrome1.dll (or
perhaps both parts), but that can happen in subsequent changes after more
testing.

TBR=cpu@chromium.org, maruel@chromium.org
BUG=237249

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200049 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-14 20:04:15 +00:00
navabi@chromium.org d60aa9d062 Stop build on failed device status check, apk install and add CheckInstall step.
BUG=230970,236035
R=ilevy@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200020 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-14 17:15:30 +00:00
eugenis@chromium.org 1c20b77d30 Fix heapchecker shared_library build.
BUG=112389
TBR=rnk@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@199965 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-14 12:32:45 +00:00
pliard@chromium.org 04a99455e5 Speedup net_unittests on Android by 30%.
The Chrome test server spawner (running on the host) was sleeping way too much.
Note that ideally we should move away from polling but this still sounds like a
reasonable short term improvement.

R=bulach@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@199949 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-14 08:33:18 +00:00
kkania@chromium.org 802dc823b6 Move ChromeDriver targets out of chromium_builder_qa to their own target.
The ChromeDriver waterfall doesn't need to build PyAuto.
BUG=none

Review URL: https://chromiumcodereview.appspot.com/15149002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@199937 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-14 06:11:11 +00:00
dimich@chromium.org 59eb2e8e5c Remove ENABLE_MESSAGE_CENTER
Next step on re-factoring Notifications. This will bring the MessageCenter classes, most important message_center::Notification, into build on all systems, including those where the MessageCenter is not yet appearign in UI. This will allow to start using this Notification class in client code and remove the old Notification class defined in chrome/browser/notificaitons/notification.h

That will allow the clients that already use Rich Notifications to use richer data type support, for example supply an image bits for a Notification (as in Snapshot notifications).

This also removes a lot of compile-time @ifdefs and replaces them with checking a runtime flag which we already have anyways.

On Android and iOS, the MessageCenter is not compiled in, for the size concerns and uncertain story for notifications in general - the existing ENABLE_NOTIFICATIONS define is used for that.

BUG=174164

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

Review URL: https://chromiumcodereview.appspot.com/15025002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@199920 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-14 05:30:24 +00:00
cjhopman@chromium.org 4f9327e94b [Android] Only reinstall test apk if needed
When running tests, we should only be reinstalling the test apk if it
is different than the one currently installed. So, before reinstalling,
query the package manager for the path to the installed apk, and then
only reinstall if the md5sum of the installed apk differs from the one
we are about to install.

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/14601004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@199835 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-13 22:23:49 +00:00
justincohen@google.com 1913610d31 Support target/host architecture with ninja iOS builds
When iOS builds support ninja and enable GYP_CROSSCOMPILE=1, ninja
will build breakpad, protoc and iossim using host arch instead
of the sub-out-ninja workaround.

TBR=mark@chromium.org
BUG=236517

Review URL: https://chromiumcodereview.appspot.com/14597007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@199827 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-13 21:29:47 +00:00
pliard@chromium.org 8bc47d8bdf Workaround ADB port allocation issue.
BUG=239014
R=bulach@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@199711 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-13 12:48:06 +00:00
thakis@chromium.org 4fc0b4be6b Revert 199625 "Remove ENABLE_MESSAGE_CENTER"
Caused a static initializer on Linux:
# message_center_constants.cc __i686.get_pc_thunk.cx

(Not on Mac though. The SkGetColor() macro has a comment about it not adding
a static initializer on release builds, so maybe it's the float-int-multiplication?
I don't have a linux box around to check, sorry.)

> Remove ENABLE_MESSAGE_CENTER
> 
> Next step on re-factoring Notifications. This will bring the MessageCenter classes, most important message_center::Notification, into build on all systems, including those where the MessageCenter is not yet appearign in UI. This will allow to start using this Notification class in client code and remove the old Notification class defined in chrome/browser/notificaitons/notification.h
> 
> That will allow the clients that already use Rich Notifications to use richer data type support, for example supply an image bits for a Notification (as in Snapshot notifications).
> 
> This also removes a lot of compile-time @ifdefs and replaces them with checking a runtime flag which we already have anyways.
> 
> On Android and iOS, the MessageCenter is not compiled in, for the size concerns and uncertain story for notifications in general - the existing ENABLE_NOTIFICATIONS define is used for that.
> 
> BUG=174164
> 
> Review URL: https://chromiumcodereview.appspot.com/15025002

TBR=dimich@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@199639 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-12 23:08:56 +00:00
dimich@chromium.org 2c0595d64c Remove ENABLE_MESSAGE_CENTER
Next step on re-factoring Notifications. This will bring the MessageCenter classes, most important message_center::Notification, into build on all systems, including those where the MessageCenter is not yet appearign in UI. This will allow to start using this Notification class in client code and remove the old Notification class defined in chrome/browser/notificaitons/notification.h

That will allow the clients that already use Rich Notifications to use richer data type support, for example supply an image bits for a Notification (as in Snapshot notifications).

This also removes a lot of compile-time @ifdefs and replaces them with checking a runtime flag which we already have anyways.

On Android and iOS, the MessageCenter is not compiled in, for the size concerns and uncertain story for notifications in general - the existing ENABLE_NOTIFICATIONS define is used for that.

BUG=174164

Review URL: https://chromiumcodereview.appspot.com/15025002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@199625 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-11 19:23:21 +00:00
thakis@chromium.org 6c15a83626 Teach landmines script that Linux now uses ninja by default.
Mostly for documentation purposes. It'll also uselessly cause a clobber.

BUG=239257
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/14940023

git-svn-id: http://src.chromium.org/svn/trunk/src/build@199622 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-11 19:13:21 +00:00
jochen@chromium.org 976b68c698 Move all_webkit inside OS!="ios" block in all.gyp
TBR=abarth@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@199620 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-11 19:10:40 +00:00