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

6299 Коммитов

Автор SHA1 Сообщение Дата
yfriedman@chromium.org ac248bb968 [dom_distiller] Add support for incremental viewer.
The viewed page can now be rendered all at once, or with a single page
update, followed by additional page content sent via HTML. While more
pages are loading, a progress indicator is present.

The title for a page was added to DistilledPageProto so its accessible
during partial distillation. This was already stored in
DistilledPageData so it's just moved.

BUG=319881

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270622 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-15 08:03:22 +00:00
vabr@chromium.org deefdc270a Revert of Move a good set of gfx unit tests into gfx_unittests target. (https://codereview.chromium.org/280973003/)
Reason for revert:
Speculative revert: Compilation appears broken on http://chromegw.corp.google.com/i/chromium.linux/builders/Linux%20Builder%20%28dbg%29 after this CL, with libgfx-related errors:

FAILED: /b/build/goma/gomacc c++ -Wl,-z,now -Wl,-z,relro -Wl,--fatal-warnings -pthread -Wl,-z,noexecstack -fPIC -B/b/build/slave/Linux_Builder__dbg_/build/src/third_party/binutils/Linux_x64/Release/bin -Wl,--disable-new-dtags -L. -Wl,-uIsHeapProfilerRunning,-uProfilerStart -Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapPKvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi -Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapPKvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl -Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakChecker14UnIgnoreObjectEPKv -m64 -Wl,--icf=none -Wl,-rpath=\$ORIGIN/lib/ -Wl,-rpath-link=lib/ -o gfx_unittests -Wl,--start-group obj/ui/gfx/gfx_unittests.font_unittest.o obj/ui/gfx/image/gfx_unittests.image_family_unittest.o obj/ui/gfx/image/gfx_unittests.image_skia_unittest.o obj/ui/gfx/image/gfx_unittests.image_unittest.o obj/ui/gfx/image/gfx_unittests.image_unittest_util.o obj/ui/gfx/test/gfx_unittests.run_all_unittests.o obj/ui/gfx/gfx_unittests.text_elider_unittest.o obj/ui/gfx/gfx_unittests.text_utils_unittest.o obj/ui/gfx/animation/gfx_unittests.animation_container_unittest.o obj/ui/gfx/animation/gfx_unittests.animation_unittest.o obj/ui/gfx/animation/gfx_unittests.multi_animation_unittest.o obj/ui/gfx/animation/gfx_unittests.slide_animation_unittest.o obj/ui/gfx/animation/gfx_unittests.tween_unittest.o obj/ui/gfx/gfx_unittests.blit_unittest.o obj/ui/gfx/gfx_unittests.break_list_unittest.o obj/ui/gfx/codec/gfx_unittests.jpeg_codec_unittest.o obj/ui/gfx/codec/gfx_unittests.png_codec_unittest.o obj/ui/gfx/gfx_unittests.color_analysis_unittest.o obj/ui/gfx/gfx_unittests.color_utils_unittest.o obj/ui/gfx/gfx_unittests.display_unittest.o obj/ui/gfx/geometry/gfx_unittests.box_unittest.o obj/ui/gfx/geometry/gfx_unittests.cubic_bezier_unittest.o obj/ui/gfx/geometry/gfx_unittests.insets_unittest.o obj/ui/gfx/geometry/gfx_unittests.matrix3_unittest.o obj/ui/gfx/geometry/gfx_unittests.point_unittest.o obj/ui/gfx/geometry/gfx_unittests.point3_unittest.o obj/ui/gfx/geometry/gfx_unittests.quad_unittest.o obj/ui/gfx/geometry/gfx_unittests.r_tree_unittest.o obj/ui/gfx/geometry/gfx_unittests.rect_unittest.o obj/ui/gfx/geometry/gfx_unittests.safe_integer_conversions_unittest.o obj/ui/gfx/geometry/gfx_unittests.size_unittest.o obj/ui/gfx/geometry/gfx_unittests.vector2d_unittest.o obj/ui/gfx/geometry/gfx_unittests.vector3d_unittest.o obj/ui/gfx/image/gfx_unittests.image_util_unittest.o obj/ui/gfx/range/gfx_unittests.range_unittest.o obj/ui/gfx/gfx_unittests.sequential_id_generator_unittest.o obj/ui/gfx/gfx_unittests.shadow_value_unittest.o obj/ui/gfx/gfx_unittests.skbitmap_operations_unittest.o obj/ui/gfx/gfx_unittests.skrect_conversion_unittest.o obj/ui/gfx/gfx_unittests.transform_util_unittest.o obj/ui/gfx/gfx_unittests.utf16_indexing_unittest.o obj/ui/gfx/gfx_unittests.transform_unittest.o obj/ui/gfx/gfx_unittests.interpolated_transform_unittest.o obj/ui/gfx/gfx_unittests.platform_font_pango_unittest.o obj/base/libtest_support_base.a obj/testing/libgtest.a obj/third_party/libpng/libpng.a obj/ui/gfx/libgfx_test_support.a obj/base/allocator/liballocator.a obj/base/libbase_static.a obj/testing/libgmock.a obj/third_party/libxml/libxml2.a obj/third_party/zlib/libchrome_zlib.a obj/base/third_party/dynamic_annotations/libdynamic_annotations.a lib/libui_base.so lib/libgfx.so lib/libicuuc.so lib/libskia.so lib/libbase.so lib/libgfx_geometry.so lib/libbase_i18n.so -Wl,--end-group -lrt -ldl -lfontconfig -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lfreetype -lgobject-2.0 -lglib-2.0
lib/libgfx.so:error: undefined reference to 'XCreateRegion'
lib/libgfx.so:error: undefined reference to 'XUnionRectWithRegion'
lib/libgfx.so:error: undefined reference to 'XPolygonRegion'
collect2: ld returned 1 exit status

Original issue's description:
> Move a good set of gfx unit tests into gfx_unittests target.
> 
> This requires to major changes:
> 
> 1- It requires the introduction of GfxTestSuite to allow us to
> initialize the ResourceBundle which is required for some of these tests
> to pass.
> 2- It requires to split gfx_unittests target out of gfx.gyp, into
> gfx_tests.gyp. This is necessary because otherwise a circular dependency
> between ui_base.gyp and gfx.gyp would arise.
> 
> The circular dependency is the form of:
> gfx.gyp -> ui_base.gyp -> gfx.gyp
> 
> And is created because gfx_unittests now requires ResourceBundle to link
> which is in ui_base target.
> 
> BUG=331829
> TEST=ui_unittests,gfx_unittests
> R=danakj@chromium.org
> TBR=ben@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270586

TBR=ben@chromium.org,danakj@chromium.org,tfarina@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=331829

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270600 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-15 06:45:02 +00:00
tfarina@chromium.org 818642cf68 Move a good set of gfx unit tests into gfx_unittests target.
This requires to major changes:

1- It requires the introduction of GfxTestSuite to allow us to
initialize the ResourceBundle which is required for some of these tests
to pass.
2- It requires to split gfx_unittests target out of gfx.gyp, into
gfx_tests.gyp. This is necessary because otherwise a circular dependency
between ui_base.gyp and gfx.gyp would arise.

The circular dependency is the form of:
gfx.gyp -> ui_base.gyp -> gfx.gyp

And is created because gfx_unittests now requires ResourceBundle to link
which is in ui_base target.

BUG=331829
TEST=ui_unittests,gfx_unittests
R=danakj@chromium.org
TBR=ben@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270586 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-15 05:57:03 +00:00
derat@chromium.org a388499fe7 s/precendence/precedence/
"precedence" is misspelled as "precendence" in the docs for
the chrome.power API. Fix it there as well as several other
places where it occurs.

BUG=none
TBR=sky@chromium.org,brettw@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270539 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-15 00:33:41 +00:00
chrisha@chromium.org 4c93a77fbe Add get_syzygy_binaries.py script.
This adds a script for retrieving and installing Syzygy binaries. Currently binaries are checked in to an SVN repository and installed via a DEPS dependency. The Syzygy team is moving to git, and archiving their binaries on Google Common Data Storage. A later CL will move to using this script, installing the binaries via a DEPS hook.

BUG=
R=siggi@chromium.org

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270531 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-15 00:13:51 +00:00
navabi@google.com cfb2346495 If no battery information, do not try to split.
The x86 device can not dump battery information with 'adb dumbsys battery'. This
is causing the x86 instrumentation bot to fail on device status check. This is a
temporary fix until we determine how to check battery info on x86 devices.

BUG=371719

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270516 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 23:53:31 +00:00
vrk@chromium.org 8629aa81b0 Revert 270471 "ozone: Add egltest platform"
Speculative revert because we think this might have caused Mac Build bot
failure "gyp: Call to 'python ../../../build/mac/find_sdk.py 10.6' returned exit status -9."

> ozone: Add egltest platform
> 
> This supports testing rendering using EGL. Creation of the
> EGLNativeWindowType is punted to a separate library, which has an
> interface defined in eglplatform_shim.h.
> 
> TEST=content_shell --ozone-platform=egltest --ignore-gpu-blacklist
> BUG=none
> NOTRY=true
> 
> Review URL: https://codereview.chromium.org/288603002

TBR=spang@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270474 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 21:24:18 +00:00
spang@chromium.org 2041779ec4 ozone: Add egltest platform
This supports testing rendering using EGL. Creation of the
EGLNativeWindowType is punted to a separate library, which has an
interface defined in eglplatform_shim.h.

TEST=content_shell --ozone-platform=egltest --ignore-gpu-blacklist
BUG=none
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270471 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 20:58:10 +00:00
jiayl@chromium.org 21ab050464 Revert of Add get_syzygy_binaries.py script. (https://codereview.chromium.org/288703002/)
Reason for revert:
Causing check_perms failure on Linux bots.
http://chromegw.corp.google.com/i/chromium/builders/Linux/builds/49795


Original issue's description:
> Add get_syzygy_binaries.py script.
> 
> This adds a script for retrieving and installing Syzygy binaries. Currently binaries are checked in to an SVN repository and installed via a DEPS dependency. The Syzygy team is moving to git, and archiving their binaries on Google Common Data Storage. A later CL will move to using this script, installing the binaries via a DEPS hook.
> 
> BUG=
> R=siggi@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270401

TBR=siggi@chromium.org,chrisha@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270433 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 17:44:14 +00:00
dalecurtis@chromium.org 78a764338c Allow incrementally linked release builds on windows.
This change allows incremental builds when incremental_chrome_dll==1
or transitively when component==shared_library.

BUG=372983
TEST=Build release, touch file, observe not all dlls relinked.
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270425 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 17:22:59 +00:00
primiano@chromium.org 077df9722d [Android] Build android tools as PIE and add a wrapper for ICS
- Make Android tools build as position independent executable by
  default, as it now required by Android.
- Introduce a wrapper for running PIE on Android ICS (its linker
  doesn't support PIE).
- Add the plumbing for running the PIE wrapper in the test/telemetry
  python scripts.

BUG=373219
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270406 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 15:15:19 +00:00
chrisha@google.com fcdac4d330 Add get_syzygy_binaries.py script.
This adds a script for retrieving and installing Syzygy binaries. Currently binaries are checked in to an SVN repository and installed via a DEPS dependency. The Syzygy team is moving to git, and archiving their binaries on Google Common Data Storage. A later CL will move to using this script, installing the binaries via a DEPS hook.

BUG=
R=siggi@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270401 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 14:26:14 +00:00
bulach@chromium.org 6370bb9dac [Telemetry] Speed up page_cycler on android.
Down to 3m22 (without the other optimizations..)
/proc/pid/smaps is kind of large.
It was only used by old style perf tests downstream, long gone
in favor of Telemetry.
Use "showmap %pid" directly, which crunches the data in the device.
Also, while at it, remove GetMemoryUsageForPackage: no longer used.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270395 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 13:01:01 +00:00
jbudorick@chromium.org e55dcf8a10 [Android] Switch to new interfaces of GetAVDs and RestartAdbServer.
BUG=267773

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270336 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 05:32:16 +00:00
bulach@chromium.org ecf9ff4e2f [Telemetry] Speed up page_cycler on android.
4m7s -> 3m51s: remove expensive regexp.
Short-circuits "VmHWM".
Remove old stats for xoom tablets.

BUG=372489

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270329 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 04:05:01 +00:00
thestig@chromium.org 1c8a2c8303 Cleanup: Remove more unused entries from the iOS grit whitelist.
Remove resources that have no other users.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270316 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 03:08:06 +00:00
piman@chromium.org 2c64b67ca1 Whitespace change to tickle bots after previous revert.
BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270286 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 01:48:29 +00:00
erg@chromium.org 9c6c11362f Revert 270232 "linux_aura: Compile ash into chrome."
Reverted once again because because there are two more static initializers.

> linux_aura: Compile ash into chrome.
> 
> [This is a reland now that the static initializers should be fixed.]
> 
> Running chrome with the "--open-ash" parameter will create an ash
> desktop window. Ash on Linux has some problems, but at least we're now
> compiling the code into the binary.
> 
> TODO: The applist isn't positioned correctly, and some details of the
> system tray aren't correct.
> 
> BUG=300084, 303862
> TBR=sky@chromium.org
> First Review URL: https://codereview.chromium.org/25108005
> 
> Review URL: https://codereview.chromium.org/270383007

TBR=erg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270241 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-13 23:25:06 +00:00
erg@chromium.org 7d7b7648b3 linux_aura: Compile ash into chrome.
[This is a reland now that the static initializers should be fixed.]

Running chrome with the "--open-ash" parameter will create an ash
desktop window. Ash on Linux has some problems, but at least we're now
compiling the code into the binary.

TODO: The applist isn't positioned correctly, and some details of the
system tray aren't correct.

BUG=300084, 303862
TBR=sky@chromium.org
First Review URL: https://codereview.chromium.org/25108005

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270232 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-13 22:41:47 +00:00
brettw@chromium.org 301f0f2033 Implement review comment on GN optimization setup.
Implements review comment from:
https://codereview.chromium.org/275703003/

R=ajwong@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270168 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-13 19:35:52 +00:00
cjhopman@chromium.org 2fad6983dd Pass the gold binary directory to the linker with an absolute path
The previous way "<(PRODUCT_DIR)/../../" doesn't work very well with
some non-default output directories.

(This was fixed for linux in https://codereview.chromium.org/83673002)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270167 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-13 19:32:48 +00:00
dyen@chromium.org d069dc88eb Chromium no longer needs to extract toolchains during runhooks.
R=bradnelson@chromium.org
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3839

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270142 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-13 17:50:06 +00:00
brettw@chromium.org f3470d3d53 Make GN Android build link executables.
Some minor tweaks in STL usage in GN itself to enable it to compile using the Android version of the STL. Enable this in the build (not so much because we need a GN binary on Android, but for build verification purposes).

Moved the executable_ldconfig config from the linux file to the gcc one since its shared between the Linux and Android builds. Added "-Bdynamic" and "-Wl,-z,nocopyreloc" to this on Android.

Moved some sysroot path components from sysroot.gni to android/config.gni (which sysroot uses) so it can be shared with the toolchain definitions.

Added the android_full_debug build flag. Made the "optimize off" mode of the build match the GYP build's "light optimization" on Android contingent on this flag.

Pulls out the optimize and optimize_max shared flags into one list to avoid duplication.

Adds a bunch of linker optimization flags that should be passed on non-Mac Posix platforms, and turns on dead code stripping for Mac builds.

Adds functionality to the gcc toolchain template to be able to insert strings before and after the libs. Adds a wrapper template for android toolchains that sets these accordingly to get the gross Android crtbegin/end files inserted in the right place on the linker line.

Made the android_ndk_root variable relative to the source root rather than the system root. Uses of this now rebase according to their own needs which makes some of the arguments a lot easier to follow.

Build file updates for base and libevent for Android. Implement ashmem library.

The only change on desktop linux is the addition of -Wl,--fatal-warnings to the linker line.

R=ajwong@chromium.org, cjhopman@chromium.org, scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270138 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-13 17:41:06 +00:00
rmcilroy@chromium.org de0a9ebd4d [Android]: Add arm64 and x86_64 support to adb_gdb script.
BUG=354405,346626

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270088 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-13 13:35:34 +00:00
vandebo@chromium.org 2782093ea1 Fix a findbugs warning - check file.delete return value.
BUG=NONE

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269960 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-13 01:35:54 +00:00
scottmg@chromium.org f8ee8cf19f Fix line endings on build/toolchain_vs2013.hash
So that https://codereview.chromium.org/284663003 can be CQ'd.

TBR=iannucci@chromium.org
BUG=372451

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269913 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-12 23:33:51 +00:00
erg@chromium.org 412bca1d04 Revert 269892 "linux_aura: Compile ash into chrome."
Major regression in chrome-si/initializers. Reverting for now to fix.

> linux_aura: Compile ash into chrome.
> 
> Running chrome with the "--open-ash" parameter will create an ash
> desktop window. Ash on Linux has some problems, but at least we're now
> compiling the code into the binary.
> 
> TODO: The applist isn't positioned correctly, and some details of the
> system tray aren't correct.
> 
> BUG=300084, 303862
> R=sky@chromium.org
> 
> Review URL: https://codereview.chromium.org/25108005

TBR=erg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269902 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-12 23:04:41 +00:00
erg@chromium.org 6f5917dca0 linux_aura: Compile ash into chrome.
Running chrome with the "--open-ash" parameter will create an ash
desktop window. Ash on Linux has some problems, but at least we're now
compiling the code into the binary.

TODO: The applist isn't positioned correctly, and some details of the
system tray aren't correct.

BUG=300084, 303862
R=sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269892 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-12 22:18:48 +00:00
brettw@chromium.org e2c732ae4a Fix line endings in build/config/gcc/BUILD.gn
R=scottmg@chromium.org
TBR=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269836 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-12 19:14:03 +00:00
rkc@chromium.org c69f9cca50 Chromium side changes to add the ledger API.
R=isherman@chromium.org, kalman@chromium.org
BUG=346488

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269820 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-12 18:17:44 +00:00
sadrul@chromium.org a19205359e x11: Split the gfx_x11 target into its own gyp file.
Add a gfx_x11.gyp in //ui/gfx/x/ and define the gfx_x11 target in there,
instead of defining it conditionally in //ui/gfx/gfx.gyp. This allows
including this code from particular components even when X11 is turned
off.

BUG=361137
R=piman@chromium.org, sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269804 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-12 17:31:44 +00:00
mkosiba@chromium.org b20b5084b2 [android] Generate strings.xml for android_webview.
This makes it possible for the android_webview component to generate
strings.xml files from .grd files in the android_webview_build
configuration.

BUG=internal b/11505352
TESTS=compile
TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269779 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-12 14:25:07 +00:00
torne@chromium.org 039f46ed0e Fix building android webview on arm64 on mac.
Android uses gcc 4.8 for target on arm64, so -Wno-unused-local-typedefs
gets added to the gcc command line; unfortunately the host toolchain on
mac does not support this flag. We have no way to detect the host
toolchain version in the WebView build because we generate makefiles in
advance instead of on the build machine, so just hardcode an exception
until the instances of this warning can be fixed and this entire
conditional section removed.

BUG=321833

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269766 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-12 11:10:16 +00:00
sungmann.cho@navercorp.com c112ad7d22 Remove --apps-new-install-bubble command line switch.
BUG=357776

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269734 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-12 01:47:21 +00:00
iannucci@chromium.org 4e9aa867f5 Whitespace change to verify that https://chromiumcodereview.appspot.com/275303003/ is WAI.
TBR=hinoka@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269696 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-11 04:19:30 +00:00
tfarina@chromium.org aa42730843 Remove chromium_builder_asan_mac target from all.gyp
It was just an alias for chromium_builder_asan and it was removed from
the buildbot scripts at https://codereview.chromium.org/257903004 (
svn://svn.chromium.org/chrome/trunk/tools/build@266374)

BUG=None
TEST=green trybots
R=dpranke@chromium.org
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269652 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-11 00:35:20 +00:00
oshima@chromium.org ba77f91042 Minimal athena shell main
BUG=362288

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269643 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-11 00:06:18 +00:00
thestig@chromium.org aed7631df9 Cleanup: Remove iOS grit whitelist entries that refer to non-existent resources.
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269625 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-10 19:57:47 +00:00
bengr@chromium.org 9bca20629b Use non-static set_key interface on DataReductionProxySettings
This removes the use of a static initializer and makes it possible
for clients to pass a key without owning the memory where the
key is stored (as would be the case if passed to a static const char*).

BUG=371626, 371204

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269578 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-10 12:16:52 +00:00
skyostil@chromium.org 2d53ef698f Remove temporary temporary file deletion
BUG=371148

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269564 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-10 11:49:26 +00:00
brettw@chromium.org 6ae30203d8 Remove cursor_mac.mm, fix GN build.
cursor_mac.mm is never included on any Mac build because it's removed for all non-aura builds, which includes Mac. This file just seems to be stubs anyway.

Also fixes a missing comma in the GN Mac build.

R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269543 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-10 06:21:10 +00:00
ycheo@chromium.org 9982794f8d Enable hole-punching in Android by default.
This CL also enables the tests for hole-punching.

BUG=329447
R=boliu@chromium.org, qinmin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269464 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-09 23:18:16 +00:00
thakis@chromium.org db3b2975f1 clang: Instead of having update.sh clobber out/, add a define with the current revision.
When clang is turned on or off, or when clang is updated, all .o files and all
precompiled headers need to be rebuilt. This is currently done by having the
update script remove the out/ directory. This has issues:
* It fails to catch build directories with different names (e.g. out_android)
* It removes other build artifacts (like resources) that don't need rebuilding
* It doesn't happen when turning clang off (i.e. moving clang -> gcc).

Instead, let common.gypi add a define with the current clang revision to each
source file. This way, the clang revision is on each compile's command line
and the build system's commandline tracking can take care of the rebuilding.

BUG=nativeclient:3840
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269427 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-09 22:01:28 +00:00
navabi@google.com 68a08bb56e Always wipe device data, but dont reboot.
We keep seeing the INSTALL_FAILED_INSUFFICIENT_STORAGE error on the devices. The
APK we install to check for this failure succeeds even when this error exists on
the device (presumably because the APK we install is too small). Thus, this CL
will always wipe the device. It removes the reboot, because that would make the
step take too long.

BUG=335549
TBR=yfriedman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269408 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-09 21:27:16 +00:00
navabi@google.com 910b23e1e1 Add mojo tests to standard tests that are run on testers on the main waterfall.
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269401 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-09 20:47:16 +00:00
joone.hur@intel.com c3f2f465c9 Do not check GTK+ dependencies when use_ozone is defined.
glib is not included in ozone platform:
https://codereview.chromium.org/249583003

Therefore, we do not need to check GTK+ dependencies when use_ozone is defined.

BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269373 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-09 18:04:47 +00:00
phoglund@chromium.org d83cc973e7 Rewrote WebRTC browser tests to not use peerconnection_server.
This removes all the code that we used for talking to the
peerconnection_server. I also cleaned up tons of dead code from the
test javascript (most of which was used in the old manual test page,
which is now completely self-contained and doesn't use this javascript
anymore).

In place of the peerconnection_server, we'll send signaling information
through the test using ExecuteJavascript calls from the browser test.
This was a bit tricky to design since the javascript can't talk back
to the browser test without the browser test initiating the talking.
The basic design became

1. Test asks tab 1 to get user media and create an offer with audio
   and video. The offer is returned to the test as a JSON encoded
   session description.
2. The test asks tab 2 to get user media and create a peer connection.
3. The test passes the offer to tab2 and asks it to create an answer,
   and the answer is returned to the test like the offer in 1.
4. The test asks tab 1 to accept the answer.
5. Both tabs are now gathering ICE candidates.
6. The test asks tab 1 to return its ICE candidates (waiting for
   gathering to complete if necessary). The candidates are then sent
   to tab 2 which processes them. The ICE candidates are passed as
   JSON encoded RTCIceCandidate instances.
7. 6) is repeated, but from tab 2 to tab 1.
8. We wait for video / audio to start playing.

In general this is a more synchronous design compared to the
peerconnection_server design as the test used to merely arbitrate
connections to the server and then let the javascript in the two tabs
talk to each other asynchronously as far as the test was concerned.
This seems to work though, and the test has full control over what
happens. Hopefully it makes the negotiation flow clearer rather than
having this magical out-of-band signaling channel that the server
enabled previously.

BUG=369469

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269311 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-09 15:26:29 +00:00
yfriedman@chromium.org 8ee6b9776f Android: Make sure temporary scripts are deleted from the device
Once we're done using a temporary file, we should delete it. Otherwise
the files pile up and the linear search to find an unused one takes
longer and longer.

This patch also cleans up the previously leaked temporary files from the
bots.

BUG=371148
R=bulach@chromium.org, jbudorick@chromium.org, yfriedman@chromium.org

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

Patch from Sami Kyostila <skyostil@chromium.org>.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269094 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-08 22:24:24 +00:00
yfriedman@chromium.org 4b6823fd7b [Android] Delete temporaries in SetProtectedFileContents.
BUG=371054
NOTRY=true
R=yfriedman@chromium.org

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

Patch from John Budorick <jbudorick@chromium.org>.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269090 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-08 22:18:17 +00:00
tapted@chromium.org 9c9a59fc2f Revert of Collect data reduction proxy UMA on all platforms (https://codereview.chromium.org/266033002/)
Reason for revert:
Causes a sizes regression, starting in http://build.chromium.org/p/chromium/builders/Linux%20x64/builds/64712

+# data_reduction_proxy_settings.cc data_reduction_proxy::DataReductionProxySettings::key_
+# data_reduction_proxy_settings.cc __cxa_atexit@plt [registers a dtor to run at exit]
+# data_reduction_proxy_settings.cc __init_array_end+0x3868
+# data_reduction_proxy_settings.cc __init_array_end+0x3b88
+# data_reduction_proxy_settings.cc __init_array_end+0x530

Original issue's description:
> Collect data reduction proxy UMA on all platforms
> 
> UMA for the data reduction proxy was gated behind preprocessor
> directives that resticted the logic to Android and iOS. This
> change opens UMA calculations and collection up to all platforms.
> 
> BUG=369619
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269026

TBR=mef@chromium.org,marq@chromium.org,bengr@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=369619

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269041 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-08 06:05:33 +00:00