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

3594 Коммитов

Автор SHA1 Сообщение Дата
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
binji@chromium.org 81fbfd8f65 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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168603 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-19 21:05:23 +00:00
sadrul@chromium.org 2370b47ca7 overscroll: Add a browser-test for the aura implementation.
The test verifies that overscroll performs navigation correctly on
pages with and without touch event handlers.

BUG=160668
TBR=joi@chromium.org (for content_tests.gypi)

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168600 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-19 20:51:37 +00:00
sreeram@chromium.org f540714bea Revert 168547 - overscroll: Add a browser-test for the aura implementation.
The test verifies that overscroll performs navigation correctly on
pages with and without touch event handlers.

BUG=160668
TBR=joi@chromium.org (for content_tests.gypi)

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

Failed on Win Aura:
http://build.chromium.org/p/chromium.win/builders/Win%20Aura/builds/24496

TBR=sadrul@chromium.org

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168554 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-19 18:19:38 +00:00
sadrul@chromium.org 5af84a3cd5 overscroll: Add a browser-test for the aura implementation.
The test verifies that overscroll performs navigation correctly on
pages with and without touch event handlers.

BUG=160668
TBR=joi@chromium.org (for content_tests.gypi)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168547 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-19 17:30:08 +00:00
torne@chromium.org 0fdc2664d8 Android WebView: allow for multiple target architectures.
The WebView will eventually need to be built for multiple target
architectures. Prepare for this by passing --suffix .arm to gyp when
generating the makefiles, and including an architecture-specific
makefile at the top level. Also, remove the hardcoding of arm as the
target architecture in envsetup.sh.

The previous change I made to .gitignore to only ignore *.host.mk and
*.target.mk instead of *.mk has been reverted in favour of just
specifically un-ignoring files called Android.mk (which are
handwritten).

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168506 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-19 11:09:26 +00:00
jam@chromium.org 5b79812d0f Move the safe browsing test into browser_tests instead of having a separate browser test binary. This saves us from having to link all of chrome for this one binary.
This depends on r167206 and r167207 landing and all the relevant masters restart.

BUG=148792
Review URL: https://codereview.chromium.org/11366196

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168483 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-19 02:55:36 +00:00
beaudoin@chromium.org 934585b3e1 Moving prepopulated search engines to a JSON file.
This CL also includes the python script required to convert the JSON file to a .cc/.h pair. The generated .cc/.h are not generated by the build process and must be committed to the repository.

BUG=159990


Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167793

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168430 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-17 14:20:29 +00:00
dbeam@chromium.org 62d540bfb9 Revert 168359 - [NaCl SDK] 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.

BUG=none


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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168363 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-17 03:26:05 +00:00
ilevy@chromium.org 24dd778429 Add android chromium.perf top level scripts
BUG=159643
R=cmp
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168362 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-17 03:11:22 +00:00
binji@chromium.org 163c59ac61 [NaCl SDK] 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.

BUG=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168359 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-17 02:52:32 +00:00
iannucci@chromium.org 42b3404937 Make all pdb file names follow the same naming convention.
The new naming scheme simply appends .pdb to the target (e.g. foo.dll.pdb and
foo.exe.pdb). This is beneficial for a couple reasons:
  * no more chrome_dll.pdb and chrome_exe.pdb silliness
    * also avoids this issue if we end up with similarly named targets in the
      future (target.dll and target.exe)
  * ninja already does this, and, by extension, either ninja needs to be broken
    to use the old scheme, or the we fix the broken in the existing system.
    One less difference between msvs and ninja.

Fixes for chrome-internal stuff: https://chromereviews.googleplex.com/5681015

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168341 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-17 00:28:42 +00:00
newt@chromium.org 986e331cb8 Support Java resources within content.
This provides support for android-style resource folders in content and other
non-apk Java targets. The AppResource hack can then be removed shortly.

Details: while building a non-apk target (e.g. chromium_content.jar), we
generate an R.java file with non-final constants and in the appropriate Java
package (e.g. org.chromium.content.R) using the resources in the target (e.g.
content/public/android/java/res). This R.java is used to produce the jar, but is
not included in the jar itself.

When we later build an apk, we merge the resources from the apk (e.g.
org/chromium/content_shell/res) with the resources from the non-apk targets it
depends on (e.g. content/public/android/java/res). A new R.java is generated
using the merged resources with the correct mapping from resources to integer
IDs. This R.java file is copied into each needed package (e.g.
org.chromium.content.R and org.chromium.content_shell.R) and included in the
apk.

This is the first 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://codereview.chromium.org/11363150

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168283 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-16 20:39:20 +00:00
mirandac@chromium.org 1af843c0a2 Add -Wobjc-missing-property-synthesis to comment on symbolic name
CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS for findability.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168223 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-16 16:58:44 +00:00