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

3357 Коммитов

Автор SHA1 Сообщение Дата
phajdan.jr@chromium.org 50b75e4919 Linux: create a library loader code generator for dlopen and use it for libpci.
BUG=162733

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@170010 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-28 19:08:14 +00:00
sky@chromium.org d4ffb45331 Make use_aura set use_default_render_theme and moves
webthemeengine_impl_linux to webthemeengine_impl_default.

BUG=none
TEST=none
R=tony@chromium.org


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169958 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-28 15:52:26 +00:00
oshima@chromium.org 7736ef991d Fix example_browser_main_parts build failure on win/linux aura.
Add views_examples_with_content_exe to the aura_builder target so that it will be build by bots.

 This compiles on chromeos, but doesn't work.
 I will fix this separately.

BUG=162962
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169954 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-28 15:36:46 +00:00
thakis@chromium.org 9f142c1614 Clean up a few -faddress-sanitizer stragglers.
BUG=159580
TBR=glider

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169797 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-27 23:41:44 +00:00
thakis@chromium.org 532dd62214 Another shot at using the new asan flag
BUG=159580, 162783
TBR=glider

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169750 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-27 21:04:56 +00:00
yfriedman@chromium.org e09108e943 Make repeated running of instrumentation tests faster.
Running proguard is slow as mollases. Don't do it unless needed.
This could actually improve bot time a bit as we break out the different
sizes to run tests with.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169723 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-27 20:30:13 +00:00
tfarina@chromium.org 031871c523 base/prefs: Break the dependency in chrome_paths.h
BUG=155525
TEST=unit_tests --gtest_filter=JsonPrefStoreTest*
R=joi@chromium.org


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169701 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-27 19:09:17 +00:00
thakis@chromium.org 00df08f57a Revert 169670 (Still no dice on cros, I updated crbug.com/159580 with the problem)
- Revert 169592: Now that the libvpx roll is in, this should work.

 - Revert 169589: Caused a bunch of
chromeos-chrome-25.0.1336.0_alpha-r1: /var/cache/chromeos-cache/distfiles/target/chrome-src/src/third_party/libvpx/source/libvpx/vp8/encoder/x86/quantize_sse2.asm:58: error: undefined symbol `vp8_block_coeff' (first use)

Likely because third_party/libvpx/libvpx.gyp still uses the old form.

- Use new -fsanitize=address instead of deprecated -faddress-sanitizer

BUG=159580,162783

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

TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/11411191

TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/11308229

TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/11428030

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169692 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-27 18:30:42 +00:00
thakis@chromium.org 5cb0f17456 Revert 169592: Now that the libvpx roll is in, this should work.
- Revert 169589: Caused a bunch of
chromeos-chrome-25.0.1336.0_alpha-r1: /var/cache/chromeos-cache/distfiles/target/chrome-src/src/third_party/libvpx/source/libvpx/vp8/encoder/x86/quantize_sse2.asm:58: error: undefined symbol `vp8_block_coeff' (first use)

Likely because third_party/libvpx/libvpx.gyp still uses the old form.

- Use new -fsanitize=address instead of deprecated -faddress-sanitizer

BUG=159580,162783

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

TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/11411191

TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/11308229

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169670 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-27 16:54:49 +00:00
pliard@chromium.org 54e0576113 Fix CrossProcessNotificationMultiProcessTest.Basic on Android.
On Android the ashmem API is used to deal with shared memory. This API doesn't
provide any way to open a memory region created by another process for security
reasons. The only way to share memory on Android is to share the underlying
file descriptor between processes.
This can be accomplished by:
- Creating a new shared memory region in a process. Note that this region can
  be anonymous (i.e. the string provided to ashmem_create_region() can be
  empty).
- Forking and keeping open both in the parent and child processes the file
  descriptor corresponding to the previously created memory region.
- Doing an mmap() in both processes (nothing special here).

The unit test was deadlocking (stuck in the while loop in the child process)
since the call to CreateNamed() wasn't opening the existing shared memory
region (created by the parent process) but was actually creating a new shared
memory region.
This means that the two processes were actually seeing different memory
regions.

Since this also works on POSIX platforms, the unit test was modified to follow
this strategy on all POSIX systems (including Android). On Windows the old
strategy (using non-anonymous shared memory) is still used.

BUG=136720


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169662 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-27 15:47:17 +00:00
pliard@chromium.org f221468601 Fix ProcessUtilTest.FDRemapping on Android.
This provides a simple implementation of file descriptors remapping on Android.

BUG=136720


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169652 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-27 13:44:52 +00:00
marja@chromium.org 948b0c0a96 Fix histogram printing for Telemetry tests.
The previous version was printing out only the first histogram.

BUG=

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169631 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-27 10:48:45 +00:00
thakis@chromium.org 1ce6ec42a2 Revert 169589: Caused a bunch of
chromeos-chrome-25.0.1336.0_alpha-r1: /var/cache/chromeos-cache/distfiles/target/chrome-src/src/third_party/libvpx/source/libvpx/vp8/encoder/x86/quantize_sse2.asm:58: error: undefined symbol `vp8_block_coeff' (first use)

Likely because third_party/libvpx/libvpx.gyp still uses the old form.

- Use new -fsanitize=address instead of deprecated -faddress-sanitizer

BUG=159580,162783

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

TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/11411191

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169592 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-27 06:28:47 +00:00
thakis@chromium.org 3e2217ec61 Use new -fsanitize=address instead of deprecated -faddress-sanitizer
BUG=159580,162783

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169589 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-27 05:27:25 +00:00
ilevy@chromium.org 525defe232 Android tests: Always run PrintStepResultIfNeeded
- DispatchInstrumentationTests was throwing an exception
  so python was not printing step failure.

R=Yaron
NOTRY=true


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169555 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-27 01:58:09 +00:00
yfriedman@chromium.org 9b03adc7ac Add empty default for test_data flag.
This fixes the issue where some test suites don't have additional data to push.

NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169551 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-27 01:17:13 +00:00
dalecurtis@google.com 16898bc576 Revert 169532 - Beginnings of moving more stuff from build_sdk.py to GYP.
Adds a new target to all.gyp: chromium_builder_nacl_sdk
Adds a native_client_sdk gyp file: it depends on nacl_core_sdk from the
native_client repo, but also builds and copies ppapi libraries to the toolchain
directories.

Retry of https://codereview.chromium.org/11413075/.
This one failed because I didn't check for disable_nacl=1.

Which was a retry of http://codereview.chromium.org/11299081/.
Which was a retry of http://codereview.chromium.org/11363045/.
Failed both of these times because of a separate NaCl build issue that was
resolved by http://crrev.com/168621.

BUG=none
TBR=noelallen@chromium.org
----------------------------------------------
Broke x64 build:
http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Linux%20x64/builds/35117

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

TBR=binji@chromium.org
Review URL: https://codereview.chromium.org/11415139

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169537 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-27 00:18:38 +00:00
binji@chromium.org 671ece2be1 Beginnings of moving more stuff from build_sdk.py to GYP.
Adds a new target to all.gyp: chromium_builder_nacl_sdk
Adds a native_client_sdk gyp file: it depends on nacl_core_sdk from the
native_client repo, but also builds and copies ppapi libraries to the toolchain
directories.

Retry of https://codereview.chromium.org/11413075/.
This one failed because I didn't check for disable_nacl=1.

Which was a retry of http://codereview.chromium.org/11299081/.
Which was a retry of http://codereview.chromium.org/11363045/.
Failed both of these times because of a separate NaCl build issue that was
resolved by http://crrev.com/168621.

BUG=none
TBR=noelallen@chromium.org


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169532 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-26 23:41:44 +00:00
dfalcantara@chromium.org 38bc52aec2 Revert 169327 - Fix histogram printing for Telemetry tests.
This appears to break Chrome for Android perf tests, in addition to
the kraken benchmark upstream.

-------------------
Log output:
Traceback (most recent call last):
  File "clank/build/run_crossbrowser_perftests.py", line 1429, in <module>
    sys.exit(main(sys.argv))

  File "clank/build/run_crossbrowser_perftests.py", line 1416, in main
    passed &= chrome_benchmarks.Run()

  File "/usr/local/google/b/build/slave/soju-official-perf-noflash-clankium/build/src/clank/build/../../build/android/pylib/base_test_runner.py", line 79, in Run
    return self.RunTests()

  File "clank/build/run_crossbrowser_perftests.py", line 329, in RunTests
    return self.RunCrossBrowserPerfTests(options.filter, options.force_disabled)

  File "clank/build/run_crossbrowser_perftests.py", line 379, in RunCrossBrowserPerfTests
    passed &= bool(RunTheTest())

  File "clank/build/run_crossbrowser_perftests.py", line 368, in RunTheTest
    return test_fn()

  File "clank/build/run_crossbrowser_perftests.py", line 1222, in PaintBlankBenchmark
    timeout)

  File "clank/build/run_crossbrowser_perftests.py", line 426, in RunPaintBenchmarkHelper
    timeout=timeout))

  File "/usr/local/google/b/build/slave/soju-official-perf-noflash-clankium/build/src/clank/build/perf_test_runner.py", line 629, in RunPerfTest
    result, units, result_type=result_type)

  File "/usr/local/google/b/build/slave/soju-official-perf-noflash-clankium/build/src/clank/build/../../build/android/pylib/perf_tests_helper.py", line 127, in PrintPerfResult
    output += '\nAvg %s: %f%s' % (measurement, avg, units)

  TypeError: float argument required, not str

-------------------
Original commit:
The previous version was printing out only the first histogram.

BUG=

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

TBR=marja@chromium.org
Review URL: https://codereview.chromium.org/11418165

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169510 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-26 22:30:42 +00:00
fischman@chromium.org 721b26b902 Suppress the use of thin archives with android-targeting builds since they break ndk-build.
BUG=webrtc:950


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169382 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-24 03:35:25 +00:00
pliard@chromium.org e29d41125c Use the new forwarder2's Daemon implementation in device_forwarder.
This lets device_forwarder be controlled (started and killed) like
host_forwarder (see r167167).

This has the main benefit of moving the setup/tear down complexity from the
Python Forwarder wrapper code to the forwarder itself so that various clients
(including WebKit) can use forwarder2 more easily (e.g. no need to use pexpect
anymore (which is not available in WebKit)).

This implied a refactoring in the Daemon class so that its clients don't have
to duplicate the socket-related code.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169334 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-23 12:39:34 +00:00
marja@chromium.org d96ee93a74 Fix histogram printing for Telemetry tests.
The previous version was printing out only the first histogram.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169327 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-23 10:36:19 +00:00
aberent@chromium.org 06b2a01f02 Specify the test files to be used as an argument to the instrumentation tests
This allows different test sets to use different test data, and in particular
allows new test sets, needing new data files, to be written without
modifying the core test system.

BUG=162395


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169306 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-22 20:44:20 +00:00
chrisha@chromium.org a83234b05c Update build settings for coverage on Windows.
The best coverage results are obtained by using a debug build. This requires profile information and non-incremental linking, thus we modify the build settings accordingly. When coverage=0 the build settings are unchanged.


BUG=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169283 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-22 17:24:07 +00:00
chenyu@chromium.org 6339aa123e Add Print string for iOS
BUG=NONE


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169264 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-22 14:49:28 +00:00
iannucci@chromium.org ddbec33f5e Allow windows ASAN build to work
Rolls DEPS for syzygy r1083 => r1194. Changelog is too long to put here.

BUG=152226

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169136 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-21 21:18:54 +00:00
peter@chromium.org 57b938cfa2 Failing webkit_unit_tests or TestWebKitAPI shouldn't block running layout tests
BUG=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169084 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-21 19:15:46 +00:00
yfriedman@chromium.org 7c12ae6a76 Don't specify -Wl,--exclude-libs=ALL for shared library build.
This is used for normal builds to strip out lots of unneeded symbols and
minimize binary size. However, for shared library build, this causes
needed symbols to be excluded and subsequent so's to fail linking.

BUG=158821
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169060 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-21 16:27:47 +00:00
torne@chromium.org 82f7deaeef Android WebView: fix macro redefinition error.
Android already defines _FORTIFY_SOURCE which causes a redefinition
error. Undefine the existing value before Chromium defines its own.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169027 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-21 12:40:45 +00:00
torne@chromium.org 4482faab95 Android: fix cpu_features for WebView build.
The WebView build doesn't have third_party/android_tools/ndk with the
added gyp file, but the cpufeatures code has already been built as part
of the system. Introduce a .gypi that can be included to get the
appropriate dependency for the current build type.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169026 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-21 12:37:39 +00:00
michaelbai@chromium.org c754399054 Fix TemplateURLFetcherTest.* for Android.
BUG=139427


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169001 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-21 07:35:42 +00:00
nileshagrawal@chromium.org 3d25d9d7bd Android:Enable some tests in ui_unittests
BUG=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168975 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-21 04:20:47 +00:00
nileshagrawal@chromium.org 46be1083af Android:Enable some unit_tests which are passing now
BUG=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168962 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-21 04:02:50 +00:00
binji@chromium.org b16c033dd3 Revert 168921 - Beginnings of moving more stuff from build_sdk.py to GYP.
Adds a new target to all.gyp: chromium_builder_nacl_sdk
Adds a native_client_sdk gyp file: it depends on nacl_core_sdk from the
native_client repo, but also builds and copies ppapi libraries to the toolchain
directories.

Retry of http://codereview.chromium.org/11299081/.
Which was a retry of http://codereview.chromium.org/11363045/.

Failed both times because of a separate NaCl build issue that was resolved by
http://crrev.com/168621.

BUG=none
TBR=noelallen@chromium.org

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

TBR=binji@chromium.org
Review URL: https://codereview.chromium.org/11417105

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168934 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-21 00:41:02 +00:00
vasilii@google.com cc2b691be8 Testing commit
Modified build/whitespace_file.txt
BUG=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168922 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-21 00:06:58 +00:00
binji@chromium.org aef7be0def Beginnings of moving more stuff from build_sdk.py to GYP.
Adds a new target to all.gyp: chromium_builder_nacl_sdk
Adds a native_client_sdk gyp file: it depends on nacl_core_sdk from the
native_client repo, but also builds and copies ppapi libraries to the toolchain
directories.

Retry of http://codereview.chromium.org/11299081/.
Which was a retry of http://codereview.chromium.org/11363045/.

Failed both times because of a separate NaCl build issue that was resolved by
http://crrev.com/168621.

BUG=none
TBR=noelallen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168921 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-21 00:04:30 +00:00
sky@chromium.org 851bcc2e94 Adds use_default_render_theme to common.gypi so that features.gypi can
use it. Default is set to 0 for now, will change to 1 when land rest
of bits.

BUG=none
TEST=none
R=tony@chromium.org


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168892 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-20 22:36:07 +00:00
phajdan.jr@chromium.org 65657dcff9 Use more hardening flags:
-D_FORTIFY_SOURCE=2
-Wl,-z,now (aka BIND_NOW)
-Wl,-z,relro (read-only relocation tables)

BUG=55439

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168889 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-20 22:35:25 +00:00
tonyg@chromium.org 6c7a9bed52 Install ContentShell.apk on android perf bot tester.
BUG=None
TEST=Manual on linux

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168877 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-20 20:57:51 +00:00
nyquist@chromium.org 07da02aaf0 Fix protoc_java.gypi action dependency.
The genproto_java action was not necessarily run before the java.gypi
included action, so the build would fail.

This makes java.gypi depend on the genproto_java stamp file, so the
order will now be deterministic.

BUG=161587

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168838 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-20 18:05:34 +00:00
bulach@chromium.org b4b2f9f175 Android: fixes after r168792.
Removes obsolete reference since the package has moved.

BUG=
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168819 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-20 17:18:05 +00:00
mkosiba@chromium.org 267ff261c5 [android_webview] Enable navigation interception for iframes.
This enables navigation interception for navigations in iframes.
The feature is limited to iframes that do not have a http(s) source.

BUG=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168811 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-20 16:40:25 +00:00
ppi@chromium.org ecdf5af33f Fix and enable the PAC fetcher NoCache test on Android
The NoCache test for the PAC fetcher verifies that an attempt to
fetch a PAC script fails once the server is killed, thus assuring
that PAC files are not cached.

Due to the device-server / port forwarding layout of running 
gtests on Android, the specific error being returned by the 
fetch attempt is "Connection reset by peer" rather than 
"Connection refused". This patch takes this into consideration.

BUG=161763

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168805 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-20 15:16:06 +00:00
newt@chromium.org 9f88f3be34 Add Java resources to content and chrome.
This adds Java resources directly to the content and chrome folders and starts
accessing them through the Java classes org.chromium.content.R and
org.chromium.chrome.R instead of using AppResource.

A following CL will remove these resources from ContentShell and other build
targets that currently provide duplicates of these resources.  The following CL
will also remove remaining references to AppResource.

This is the second of three CLs to replace AppResource with R:
1. http://codereview.chromium.org/11363150 - Support Java resources within content
2. http://codereview.chromium.org/11360207 - Add Java resources to content and chrome
3. http://codereview.chromium.org/11377117 - Remove AppResource and unneeded resources

BUG=136704

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168759 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-20 08:26:29 +00:00
aelias@chromium.org 3080df6769 Fixes for nonmodal pinch zoom.
In Android 4.2, pinch gestures send both pinch events (for the
zoom-in/out part of the pinch) and scroll events (for double-finger
panning).  The previous logic in LayerTreeHostImpl created a pan from
the pinch event, resulting in 2x overpanning on Android 4.2.

In order to have compatible gesture generation in older Android versions as
well, I copy-pasted the latest Android GestureDetector.java file into the
Chromium tree and use that instead of the system file.

BUG=161909

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168721 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-20 04:11:57 +00:00
newt@chromium.org d82a0d737e Enable Android APKs to be build with R.java in a custom package.
BUG=158558


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168704 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-20 02:17:23 +00:00
michaelbai@chromium.org 3f9857272d Fix the ChromePaths.UserCacheDir for Android
BUG=139431


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168693 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-20 01:56:39 +00:00
yfriedman@chromium.org 57a4a7168e Move ContentShell and ChromiumTestShell instrumentation tests to main waterfall.
These are non-flaky and we have sufficient capacity.

NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168652 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-20 00:19:23 +00:00
binji@chromium.org c866497f23 Revert 168603 - Beginnings of moving more stuff from build_sdk.py to GYP.
Adds a new target to all.gyp: chromium_builder_nacl_sdk
Adds a native_client_sdk gyp file: it depends on nacl_core_sdk from the
native_client repo, but also builds and copies ppapi libraries to the toolchain
directories.

Retry of http://codereview.chromium.org/11363045/
This originally failed here: http://build.chromium.org/p/chromium/builders/Linux%20x64/builds/41342
With the following error:

  init.c:(.text+0x3c): undefined reference to `__libc_setup_tls'
  init.c:(.text+0x2e2): undefined reference to `_dl_init_static_tls'
  init.c:(.text+0x2ec): undefined reference to `_dl_wait_lookup_done'

While building simple_glibc_x86_32.nexe.

My change seems to have tickled a bug in nacl_browser_test.gypi which was using
the link flag -lpthread instead of -pthread. Changing this seems to have fixed
the link failure.

BUG=none
TBR=noelallen@chromium.org
TBR=ncbray@chromium.org

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

TBR=binji@chromium.org
Review URL: https://codereview.chromium.org/11299081

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168607 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-19 21:24:03 +00:00
yfriedman@chromium.org 5b4e77ca09 [Android] For shared library build, use shared versions of stlport and gnu_stl
BUG=158821


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168606 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-19 21:19:04 +00:00