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

1219 Коммитов

Автор SHA1 Сообщение Дата
scottmg@chromium.org 8fa68fb00e Turn PCH on always for Windows now that 2008 is gone
It was already defaulted on for 2010, and as we no longer support 2008
clean this up. This has the side benefit of enabling pch for 2010e, which
was slightly incorrect in the previous "enable for 2010" case.

R=joi@chromium.org


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@174228 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-20 20:45:39 +00:00
qsr@chromium.org d06493a41c Changing deployment target of Chrome for iOS to 5.0
BUG=None
R=stuartmorgan@chromium.org


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@174172 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-20 16:56:18 +00:00
phajdan.jr@chromium.org 85375bdbef Linux: use generated library loader for libgps.
BUG=162733

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@173972 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-19 19:22:39 +00:00
glider@chromium.org f087881a23 Temporarily disable real .dSYM files for ASan builds.
BUG=166857
TBR=thakis
Review URL: https://codereview.chromium.org/11636015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@173907 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-19 13:03:36 +00:00
glider@chromium.org 0660a9f462 Re-landing https://chromiumcodereview.appspot.com/11587012: Introduce mac_want_real_dsym GYP flag.
By default, fake .dSYM files
will be generated for regular builds, and dsymutils will be used to create .dSYMs for ASan builds.
mac_want_real_dsym can be used to override this.

mac_real_dsym can't be set directly, because it's not a % variable.
According to https://codereview.chromium.org/113999, it can't be made a
% variable now, because of a bug in % handling in GYP that leads to
mac_real_dsym being unconditionally set to 1 for some targets.

BUG=148383
TBR=thakis
Review URL: https://codereview.chromium.org/11636014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@173896 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-19 11:09:37 +00:00
wjia@chromium.org ffa29f9f47 Revert 173749
It broke mac asan bots.
> Introduce mac_want_real_dsym GYP flag. By default, fake .dSYM files
> will be generated for regular builds, and dsymutils will be used to create .dSYMs for ASan builds.
> mac_want_real_dsym can be used to override this.
> 
> mac_real_dsym can't be set directly, because it's not a % variable.
> According to https://codereview.chromium.org/113999, it can't be made a
> % variable now, because of a bug in % handling in GYP that leads to
> mac_real_dsym being unconditionally set to 1 for some targets.
> 
> BUG=148383
> 
> Review URL: https://chromiumcodereview.appspot.com/11587012

TBR=glider@chromium.org
Review URL: https://codereview.chromium.org/11616021

git-svn-id: http://src.chromium.org/svn/trunk/src/build@173765 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-18 19:49:04 +00:00
glider@chromium.org da3a593714 Introduce mac_want_real_dsym GYP flag. By default, fake .dSYM files
will be generated for regular builds, and dsymutils will be used to create .dSYMs for ASan builds.
mac_want_real_dsym can be used to override this.

mac_real_dsym can't be set directly, because it's not a % variable.
According to https://codereview.chromium.org/113999, it can't be made a
% variable now, because of a bug in % handling in GYP that leads to
mac_real_dsym being unconditionally set to 1 for some targets.

BUG=148383

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@173749 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-18 17:49:58 +00:00
benwells@chromium.org 9e0e24e44d Show app list items which open in chrome with a tab overlay.
This change affects chrome os and windows implementations of the app list. Chrome, web store, and v1 apps like google search are displayed with a tab overlay.

BUG=159859

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@173423 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-17 06:41:33 +00:00
ivankr@chromium.org 6bc4ff8552 Remove the protector service.
BUG=165008
NOTRY=true


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@173169 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-14 17:00:58 +00:00
sbc@chromium.org 59f5df1c36 Don't fail at gyp time if arm-sysroot is missing.
This fixes the NaCl SDK build which builds with target_arch=arm
but only builds untrusted targets so doesn't need the arm
sysroot.


BUG=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@173045 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-14 01:53:43 +00:00
sebmarchand@chromium.org 594d1bc389 Turn on the ADDRESS_SANITIZER on all platform when asan==1.
BUG=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@173020 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-14 00:40:25 +00:00
phajdan.jr@chromium.org eb27d16023 Linux: add option to use system harfbuzz.
Works great!

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@172664 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-12 21:39:00 +00:00
sbc@chromium.org 74ac1428b0 Set defaults for building chrome for linux/arm.
Previously many custom GYP_DEFINES were needed to get a
chrome build for linux/arm.  This adds these as sensible
defaults. This allows chrome for arm to be built with
with only target_arch=arm set in GYP_DEFINES.

In order to set a default sysroot based on target_arch
this change also defines target_arch one level deeper
in common.gypi.


BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@172377 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-11 19:49:22 +00:00
yfriedman@chromium.org 0c4ffcc54e [Android] Add support for labeling a build with a particular build id.
The build id will be included in about:version page and used for tracking build artifacts
such as static libraries and symbol files with a particular build.

BUG=163224


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@172296 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-11 10:36:17 +00:00
fischman@chromium.org 49ba09182f Include gnu-libstdc++/include in -I paths for android build.
libjingle, for example, needs that path for tr1/tuple.

BUG=webrtc:1169


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@172264 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-11 04:29:48 +00:00
phajdan.jr@chromium.org 377565758e Only build with _FORTIFY_SOURCE in Release mode.
This prevents build failures on Fedora.

BUG=16257, 55439

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@172225 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-11 01:54:58 +00:00
ivankr@chromium.org d8c325f478 [cros] Enable RLZ by default on ChromeOS.
BUG=160059


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@172135 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-10 21:52:41 +00:00
dfalcantara@chromium.org 85241d7134 Add Android-specific parameters to search_engines/
Previous attempt; expanded since then:
https://chromiumcodereview.appspot.com/10332156/

* The search string has "sourceid=chrome-mobile" on Android devices.

* SearchTermsDataAndroid added to handle the data values that Android
  needs to store for RLZ tracking.

* UiThreadSearchTermsData calls Android specific functions when being
  asked for rlz= or client= strings.

* ENABLE_RLZ is moved around (or removed) in some cases to allow use of
  the fields even when the RLZ library is not in use.

* The RLZ unit test is changed to account for the way Android sets the 
  RLZ string.

* A new SearchClient unit test is added to check that setting client
  strings works.

BUG=145065

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@171954 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-08 06:56:11 +00:00
danakj@chromium.org 40bf89ac45 Revert 171917
> Update gold linker to 2.23.1
> 
> This is the second attempt to integrate latest gold version.
> The first time around there were crashes seen on 32-bit linux
> hosts.  Disabling multi-threaded linking on 32-bit hosts
> fixes the issue.
> 
> 
> BUG=161942
> NOTRY=true
> 
> Review URL: https://chromiumcodereview.appspot.com/11444012

TBR=sbc@chromium.org
Review URL: https://codereview.chromium.org/11475055

git-svn-id: http://src.chromium.org/svn/trunk/src/build@171924 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-08 03:36:32 +00:00
sbc@chromium.org 9d74007ab5 Update gold linker to 2.23.1
This is the second attempt to integrate latest gold version.
The first time around there were crashes seen on 32-bit linux
hosts.  Disabling multi-threaded linking on 32-bit hosts
fixes the issue.


BUG=161942
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@171917 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-08 02:42:50 +00:00
vadimt@chromium.org 9a274ebd6e Creating a skeleton for Google Now for Chrome implementation.
The CL creates the top-level structure for showing Google Now cards in Chrome via Chrome Notifications.
The implementation lives behind -enable-google-now-integration flag.

BUG=164227

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@171868 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-07 22:44:40 +00:00
nileshagrawal@chromium.org daf89a2f40 Add a gyp flag to allow removing dependency on ppapi.
- Introduces a new macro ENABLE_PLUGINS
 - Create a new PluginDelegateHelper interface which is used by RenderViewImpl 


This flag will be used to remove all plugins related code from the Android build.

BUG=162667


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@171162 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-05 05:24:54 +00:00
yfriedman@chromium.org 8f55ff34f6 Remove references to android_upstream_bringup.
It's not used anymore.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@171128 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-05 02:28:08 +00:00
benwells@chromium.org dd36813bdf Revert 171038
A better fix for the problem this revert was addressing has been checked in in r171097.

> Disable the settings app by default.
> 
> BUG=164064
> TBR=tapted, benwells
> 
> Review URL: https://codereview.chromium.org/11428167

TBR=erikwright@chromium.org
Review URL: https://codereview.chromium.org/11441002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@171101 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-05 00:47:12 +00:00
phajdan.jr@chromium.org bd58e70094 Add an option to use tcmalloc's debugallocation for Debug builds
to catch memory problems early, easily, and cleanly.

This is disabled by default.

Because of gyp limitations, the flag is to force-disable the feature, but there is no flag to force-enable it.

BUG=30715
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@171063 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-04 22:28:04 +00:00
erikwright@chromium.org 74266a2e12 Disable the settings app by default.
BUG=164064
TBR=tapted, benwells

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@171038 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-04 20:31:56 +00:00
felipeg@chromium.org 5689402dfa Change cygprofile to work on Android.
We want to use cygprofile for the same purpose as the chromeos: To generate order_text_session files based on earliest run of each function call.

BUG=150893


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@171034 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-04 20:14:04 +00:00
thakis@chromium.org 59766f5873 mac: Build in C++11 mode.
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@170969 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-04 16:01:52 +00:00
sgurun@chromium.org 3c4b03d21c Enable Mobile Safe Browsing for Android.
BUG=158341


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@170649 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-01 03:39:07 +00:00
eseidel@chromium.org 7cc4834d3b Make profiling=1 work for chromium-android
Currently if you set profiling=1 content_shell will load,
it will just load to a white screen (and attempts to sample
the binary with perf will not get proper stacks).
This adds -mapcs and -marm per the AndroidPerf wiki docs.


BUG=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@170249 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-29 22:00:38 +00:00
sgurun@chromium.org 2d853eaf05 Build time configuration for mobile safebrowsing.
BUG=158341


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@170207 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-29 17:00:03 +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
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
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
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
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
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
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
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
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
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
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
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
sbc@chromium.org b088d46790 Fix chrome/arm build warnings.
Set default warning suppression for PNaCL compiler (clang)
to match the existing clang suppressions.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3108

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168069 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-15 23:28:44 +00:00
tapted@chromium.org 9d8632094e Put the app launcher on windows/chromeos behind a compile-time flag, and provide defines.
This change decouples the logic that associates the app launcher and
settings app with windows-only builds, and consolidates the list of
app_list sources in chrome_browser_ui.gypi.

BUG=160839
TEST=on Windows: compiles with -Denable_app_list=0 (with no app launcher function), and
     on Windows: compiles with -Denable_settings_app=0 (with app launcher but no settings app in it)
     on ChromeOS: compiles (functional ChromeOS launcher)


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@167853 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-15 03:58:16 +00:00
thestig@chromium.org 3638814165 Pass --no-keep-files-mapped for 32-bit Linux builds with Breakpad.
BUG=160253

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@167785 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-15 00:29:25 +00:00
mirandac@chromium.org 9266c422fa Add the -Wobjc-missing-property-synthesis flag.
Add the -Wobjc-missing-property-synthesis compiler flag for iOS and Mac builds. Because Clang now automatically
synthesizes properties if it's not done explicitly, forgetting to add a @synthesize
directive may result in difficult-to-uncover bugs, as Clang silently synthesizes instance
variables and binds them to the wrong property (see, for example, https://chromereviews.googleplex.com/5618018/).

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@167783 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-15 00:25:53 +00:00
glider@chromium.org f3439ce0be Use -fsanitize=thread instead of -fthread-sanitizer to compile with TSan.
Remove -w for TSan builds.

BUG=128314
TBR=thakis
Review URL: https://codereview.chromium.org/11363164

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166895 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-09 11:28:20 +00:00
hans@chromium.org 61fff29eb9 Remove -Wno-asm-operand-widths from Android cflags.
The offending code was fixed in WebKit r133796.

BUG=159452


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166838 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-09 01:43:19 +00:00
scottmg@google.com 8c900d2e48 Revert 166547 - Use tcmalloc's debugallocation for Debug builds
to catch memory problems early, easily, and cleanly.

Because of gyp limitations, this can't be now controlled
by a flag.

BUG=30715
TEST=none

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

TBR=phajdan.jr@chromium.org
Review URL: https://codereview.chromium.org/11366141

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166566 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-08 01:00:08 +00:00
brettw@chromium.org d8b77bb8ec Enable pepper threading by default.
BUG=159240

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166560 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-08 00:33:21 +00:00
phajdan.jr@chromium.org 7e5f077000 Linux: fix build with system ffmpeg (Chromium side).
BUG=118986, 91970

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166557 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-08 00:09:31 +00:00
phajdan.jr@chromium.org 86eb779b72 Use tcmalloc's debugallocation for Debug builds
to catch memory problems early, easily, and cleanly.

Because of gyp limitations, this can't be now controlled
by a flag.

BUG=30715
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166547 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-07 23:33:43 +00:00
hans@chromium.org 70b992f6a9 Roll Clang for the Android port 163674:167488.
This brings us up to the same version as the rest of Chromium.

Disable -Wasm-operand-widths until crbug.com/159452 is fixed.

BUG=159712, 156947, 159452


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166479 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-07 18:57:53 +00:00
pastarmovj@google.com c1f966fa34 Revert 166369 - Revert 166365 - roll clang 165787:167488
Seems like a clobber might be enough to fix the issues caused by this CL.

Reverted because it is assumed to be the cause for multiple compile failures on  mac and linux.

Fixes crash in arm codegen.
Doesn't warn on -Wno-arc-abi.
Nicer diagnostics for nested macro instantiations.
Includes asan support for android on linux (shout if you need that on mac).
Fixes issue with debug information in .S files.
Renames -faddress-sanitizer to -fsanitize=address (continue to use -faddress-sanitizer in chromium for now, until we've updated all third-party gyp files)

BUG=159712,159452,159475,159502,159598,59580
TBR=hans

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

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

TBR=pastarmovj@google.com
Review URL: https://codereview.chromium.org/11377023

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166405 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-07 12:52:38 +00:00
eugenis@chromium.org ff8eb4dd41 Disable ASan instrumentation of globals on Android.
BUG=137569,159801
Review URL: https://codereview.chromium.org/11275185

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166391 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-07 12:11:25 +00:00
pastarmovj@google.com b0b2a042ca Revert 166365 - roll clang 165787:167488
Reverted because it is assumed to be the cause for multiple compile failures on  mac and linux.

Fixes crash in arm codegen.
Doesn't warn on -Wno-arc-abi.
Nicer diagnostics for nested macro instantiations.
Includes asan support for android on linux (shout if you need that on mac).
Fixes issue with debug information in .S files.
Renames -faddress-sanitizer to -fsanitize=address (continue to use -faddress-sanitizer in chromium for now, until we've updated all third-party gyp files)

BUG=159712,159452,159475,159502,159598,59580
TBR=hans

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166369 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-07 08:49:12 +00:00
thakis@chromium.org 605d4a523d roll clang 165787:167488
Fixes crash in arm codegen.
Doesn't warn on -Wno-arc-abi.
Nicer diagnostics for nested macro instantiations.
Includes asan support for android on linux (shout if you need that on mac).
Fixes issue with debug information in .S files.
Renames -faddress-sanitizer to -fsanitize=address (continue to use -faddress-sanitizer in chromium for now, until we've updated all third-party gyp files)

BUG=159712,159452,159475,159502,159598,59580
TBR=hans

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166365 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-07 06:57:44 +00:00
eugenis@chromium.org 2834bd5d07 ASan on Android requires -pie.
Review URL: https://codereview.chromium.org/11363104

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166212 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-06 16:01:21 +00:00
ilevy@chromium.org 166b551ea4 Pass -g1 on android release builds with fastbuild
Also reorganizing fastbuild section.

NOTRY=True


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166076 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-05 23:54:43 +00:00
nileshagrawal@chromium.org 8a1fd85c19 Android: Remove dependency on language detection library.
Savings: 1.2MB in stripped so (in the .rodata section)
         750K in APK size


BUG=155069

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166024 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-05 20:40:31 +00:00
blundell@chromium.org de44484f68 Changes to build/common.gypi for iOS.
- Disable some features that are not used on iOS.
- Remove dSYM in debug mode to reduce build time.
- Build for armv7 as armv7s is not yet fully tested.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@165948 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-05 17:11:44 +00:00
stuartmorgan@chromium.org 3a35a887fe Add structural support for building chrome_browser.gyp on iOS
This is not yet used, but helps lay the groundwork for building chrome/
targets for iOS.
                    
This uses exclude-all-and-include since Chrome for iOS uses only a subset
of chrome/browser/, so the include list will be much more manageable and
maintainable than an exclude list.

BUG=156699


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@165802 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-03 00:02:19 +00:00
hans@chromium.org c2a330f653 Clang: enable -Wtautological-constant-out-of-range-compare
This warning was implemented in Clang a couple of weeks ago,
and now our code base is clean enough to enable it.

BUG=151927


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@165793 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-02 23:09:07 +00:00
glider@chromium.org 2262f7a199 More changes for TSan v2 support:
-- add the ignores file
 -- set the appropriate definitions for compiling dynamic annotations
 -- add suppressions for existing data races

BUG=23244,62694,102327,120808,158718
Review URL: https://codereview.chromium.org/11227052

git-svn-id: http://src.chromium.org/svn/trunk/src/build@165330 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-01 10:36:16 +00:00
phajdan.jr@chromium.org 0225fef387 Linux: add an option to build with system protobuf.
This doesn't work yet without upstream protobuf changes,
but with this infrastructure in place it's going to be
easier to test further updates.

Google Chrome will of course use the bundled version,
there's no change here.

BUG=157155
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@165257 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-31 23:29:37 +00:00
hbono@chromium.org 6da6699c45 A Speculative Revert for 164939 - Use tcmalloc's debugallocation for Debug builds
to catch memory problems early, easily, and cleanly.

Because of gyp limitations, this can't be now controlled
by a flag.

BUG=30715
TEST=none

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

TBR=phajdan.jr@chromium.org
Review URL: https://codereview.chromium.org/11360002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@165096 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-31 03:30:48 +00:00
phajdan.jr@chromium.org 1c5d2ac690 Use tcmalloc's debugallocation for Debug builds
to catch memory problems early, easily, and cleanly.

Because of gyp limitations, this can't be now controlled
by a flag.

BUG=30715
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@164939 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-30 17:25:28 +00:00
stuartmorgan@chromium.org ed97e5ef66 Add structural support for building chrome_browser_ui.gypi on iOS
This is not yet used, but helps lay the groundwork for building chrome/
targets for iOS.

This uses exclude-all-and-include since Chrome for iOS uses only a very
small portion of chrome/browser/ui/, so the include list will be much more
manageable and maintainable than an exclude list.

BUG=156699


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@164908 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-30 13:55:07 +00:00
ivankr@chromium.org 8edf7e3878 RLZ: remove hard-coded Win || Mac conditions.
Add enable_rlz GYP variable and rely on ENABLE_RLZ macro instead of hard-coded Win || Mac checks.
Also, clean compile by gcc (signed/unsigned mismatch, etc).


BUG=157348

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@164681 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-29 18:17:22 +00:00
glider@chromium.org 9fba15da18 Make the Clang and ASan GYP definitions available for iOS.
The intention is to allow to build iOS Chrome/tests with asan=1, which is only possible with a custom Clang at the moment.
The resulting binaries can't be shipped to users, but can be used to debug memory corruptions.
Review URL: https://codereview.chromium.org/11273012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@164619 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-29 10:57:31 +00:00
thakis@chromium.org 0701976cd2 clang: Enable -Wimplicit-conversion-floating-point-to-bool
The one offender in WebKit was fixed.

BUG=none
TBR=hans

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@164589 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-29 04:01:43 +00:00
stuartmorgan@chromium.org 94359ca145 Remap pt-BR to pt on iOS
iOS looks for Brazilian Portuguese under pt, not pt-BR. Remap the grd
output from pt-BR to pt on iOS so that it ends up in the right place.

BUG=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@164312 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-26 10:50:47 +00:00
phajdan.jr@chromium.org 85b9d25c9e GTTF: Fix build with _GLIBCXX_DEBUG
BUG=65151
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@163882 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-24 19:26:59 +00:00
michaelbai@chromium.org fc9b0d6c28 Fix the build bot by removing the flag for Android
Remove the cflag '-Wno-tautological-constant-out-of-range-compare' for Android

BUG=157026


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@163400 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-22 22:06:20 +00:00
chrisha@chromium.org 908516dd36 Move NTDDI_VERSION define to common.gypi.
This centralizes this definition and removes it from the various places it is currently replicated. This also allows external projects that rely on Chromium base to compile successfully, as otherwise this (required) definition is missing.

BUG=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@163299 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-22 16:23:10 +00:00
thakis@chromium.org 6e35161b05 roll clang 163674:165787
Also includes r165962 and r165963 on mac to fix a build issue.

BUG=156005,151927

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@162917 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-19 03:35:59 +00:00
thakis@chromium.org 130ec8a846 mac: Fix building with xcodebuild on Xcode4.4
See the bug for details.

BUG=156530

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@162859 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-19 00:24:24 +00:00
zhaoqin@google.com 970ce45825 change inline function optimization from /Ob0 to /Ob1 for build_for_tool=drmemory. xref http://code.google.com/p/drmemory/issues/detail?id=1054
R=bruening@chromium.org
BUG=DrM-i#1054


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@162712 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-18 15:45:16 +00:00
alexeypa@chromium.org 14549070cc Automatically use ATL from Windows Driver Kit for SDK-only or Visual Studio Express setup.
This CL simplifies the additional configuration steps that SDK-only or Visual Studio Express setup requires.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@162666 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-18 07:11:26 +00:00
jamesr@chromium.org 119c6051ee Remove use_libcc_for_compositor gyp variable
We flipped the default to 1 a few weeks ago and the tree doesn't compile with
this set to 0. Time to go!

BUG=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@162049 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-16 02:24:31 +00:00
stuartmorgan@chromium.org 390b620907 Add support for coverage=1 builds on iOS
Uses the same method as is used on Mac to enable coverage. Some sources
need to be removed in coverage mode due to a toolchain bug.

BUG=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@161633 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-12 19:07:03 +00:00
pkl@chromium.org 842bad04c8 Sets ios_product_name and ios_breakpad flags for iOS.
At the same time, modified the conditional logic to be more like mac's, i.e. incorporate the value of buildtype=="Official" to determine if it is a release build.

BUG=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160819 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-09 10:50:32 +00:00
ilevy@chromium.org fa6e57a37a Fix fastbuild for android clang. Build -g0
Fix the fastbuild flag for android clang.

TEST=ninja files change to -g0, build is 5x faster
BUG=143931
TBR=thakis

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160606 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-07 05:47:38 +00:00
mark@chromium.org 7899144fdc When doing an official build, don't bail out if Xcode doesn't know about the
SDK to verify when an SDK path is set. The SDK path supersedes whatever
find_sdk is supposed to find.

Also: Reorganize the SDK and deployment target variables to be scoped more
appropriately. Add a mac_sdk_min variable to set the main argument to
find_sdk.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160536 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-06 00:46:29 +00:00
shashishekhar@chromium.org c4c825f250 Add Android version name and code to gyp settings.
Add the default name and version code for Android, the version name
and code can be overriden by changing the GYP_DEFINES.

BUG=154236


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160522 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-05 23:55:50 +00:00
michaelbai@google.com 0f76f86088 Make ninja + clang + goma work
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160479 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-05 21:04:23 +00:00
glotov@chromium.org ff5a042dbf Honor mmintrin.h intrinics when instrumenting Chrome with cygprofiler.
BUG=chromium-os:35028
TEST=build chrome with GYP_DEFINES="order_profiling=1"


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160341 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-05 09:31:45 +00:00
saintlou@chromium.org dd038fea8a Adding alternate wallpaper.
BUG=153820

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160219 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-04 20:55:15 +00:00
torne@chromium.org 203ad57f71 Android: fix webview-in-android build config.
The envsetup configuration for building WebView using the Android build
system has rotted. Rather than try to share the non_sdk_build_init code,
just repeat the (few) parts we need to avoid setting all the parts that
are inappropriate, and fix the parts that are wrong or outdated.

Also, upstream the common.gypi settings that are specific to the WebView
build.

BUG=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160188 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-04 19:16:08 +00:00
maruel@chromium.org 56c9099806 Move src/tools/isolate to src/tools/swarm_client@159961 as a DEPS.
src/tools/swarm_client is fetched from tools/swarm_client.

TBR=csharp@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160016 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-04 00:08:07 +00:00
msarda@chromium.org 220de5b63b Add grit_whitelist for iOS.
A large number of IDS resources are not used on iOS. This CL includes the used
ones via a grit whitelist file. The presubmit rule ensures that this file is 
ordered in ascending alphabetic order.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@159879 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-03 10:37:03 +00:00
mihaip@chromium.org f80141d88f Add Docs as a default app.
BUG=151379

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@159110 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-27 20:42:23 +00:00
dmikurube@chromium.org fa1dc86822 Type profiler by intercepting 'new' and 'delete' expressions.
It stores mapping between object's starting addresses and their
allocated types when a build option 'clang_type_profiler=1' is
specified.  It enables information like
"an object at 0x37f3c88 is an instance of std::string."

Nothing is changed when the option is not specified.

It depends on a modified version of the LLVM/Clang compiler
introduced at deps/third_party/llvm-allocated-type.


BUG=123758
TEST=build with clang_type_profiler=1 and run type_profiler_unittests and type_profiler_map_unittests manually.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@158752 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-26 05:17:25 +00:00
tony@chromium.org f70494c397 Turn off SSE2 when building for ARM or MIPS.
Disable SSE2 when building the code for ARM or MIPS. 

Original patch by <petarj@mips.com>
at https://chromiumcodereview.appspot.com/10947012/

BUG=https://code.google.com/p/chromium/issues/detail?id=130022 
TEST=None.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@158392 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-24 21:31:24 +00:00
michaelbai@chromium.org d3f2288f40 Upstream the CL to remove the target_arch x86
BUG=125329

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@157897 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-21 02:27:51 +00:00
joi@chromium.org 24ab77edd9 Auto-detect whether internal keys should be used.
Allow overriding to explicitly use or not use internal keys,
regardless of what is auto-detected.

Fix a bug in the implementation, where the default value was not being used for unset tokens.

BUG=145584

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@157130 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-17 17:01:39 +00:00
ilevy@chromium.org 7fe13633b4 Add Android support for fastbuild gyp variable
- We want to speed up our trybots by limiting debugging information

BUG=149081


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@156747 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-14 04:42:55 +00:00
joi@chromium.org b5211dc746 include.gypi variables to specify API keys or use internal header for keys.
BUG=145584

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@156538 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-13 13:10:10 +00:00
stuartmorgan@chromium.org 25cbffcb08 Set gyp flags to disable various features on iOS
Disables a set of features that aren't available on iOS. These are
being disabled up-front to make it easier to bring up iOS support in
chrome/ gyp files in later CLs.

BUG=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@156281 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-12 12:02:24 +00:00
jamesr@chromium.org 6778adb31d Switch use_libcc_for_compositor default to true
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@156195 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-12 00:52:25 +00:00
cjhopman@chromium.org a215a79738 Always drop a tombstone
If the DoneCallback returns false, breakpad should reinstall the old
signal handlers. Specifically, it will reinstall the Android tombstone
handler. This change ensure that on Android we always return false from
these callbacks. When this happens, the minidump should still be
created/uploaded as normal.

Also, just prior to returning we log a Chrome build fingerprint. This
should appear in the log just above the tombstone.

Requires breakpad DEPS roll to >=1025
(http://breakpad.appspot.com/440002/) to work correctly, but fails
safely without it.

BUG=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@156063 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-11 18:18:58 +00:00
thakis@chromium.org 038fef6d1b roll clang r161757:r163126
BUG=113085
TBR=hans

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@155953 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-11 05:53:02 +00:00
stuartmorgan@chromium.org 4793bc60a6 Add preliminary iOS support to more content/ gypi files
Restructures content_app.gypi, content_common.gypi, and content_tests.gypi
slightly to support building them for iOS.

One target, content_browsertests, is excluded entirely for iOS.

More files will be added to the iOS build later, once the content/ build
is working for iOS.

BUG=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@155759 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-10 17:46:15 +00:00
thakis@chromium.org 7c0e2b996c Remove some code that tried to support MSVS2005
We stopped supporting that long ago.

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@155289 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-07 01:10:44 +00:00
mihaip@chromium.org 8c1308368e Add Google Drive as default app.
BUG=114644

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@155081 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-06 01:07:00 +00:00
saintlou@chromium.org bb14475995 Switch ChromeOS Chromium to use IJG libjpeg instead of libjpeg_turbo.
This CL required https://chromiumcodereview.appspot.com/10886050/ to be landed first.

BUG=144296

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@154249 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-30 20:15:44 +00:00
saintlou@chromium.org be3d679e6f Add checks in the code so that we can guarantee that we are using the correct library as specified via common.gypi
BUG=144296

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@154189 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-30 17:36:44 +00:00
droger@chromium.org ea276993c2 Disable FTP on iOS
FTP is not supported on iOS.
This is not obvious, because net.gyp builds almost nothing on iOS currently, but we plan on keeping the ftp/ directory excluded from iOS builds.

BUG=145459

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@154130 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-30 13:18:11 +00:00
glider@chromium.org 007b3643a2 Clean up the obsolete asan=1 config bits:
-- 10.5 isn't supported anymore, so we don't need to pass -Wl,-U for undefined symbols
 -- third_party/llvm-build is now used for ASan, so the Chromium clang plugins should be fully supported.

TBR=thakis 
Review URL: https://chromiumcodereview.appspot.com/10908010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@154128 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-30 13:13:00 +00:00
glider@chromium.org 7013db255b Set component=static_library for ASan builds on Mac.
BUG=145503
Review URL: https://chromiumcodereview.appspot.com/10898037

git-svn-id: http://src.chromium.org/svn/trunk/src/build@153911 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-29 17:47:02 +00:00
scottmg@google.com 0827661a89 Retry of warnings-as-errors for Windows third_party.
Same as patch here: https://chromiumcodereview.appspot.com/10827429/

except that warnings as errors is off if buildtype=Official. The previous CL
was OK everywhere that's visible on build.chromium.org including "Official"
but fails on internal builds.

R=thakis@chromium.org
BUG=126483, 140121, 143877

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@153278 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-24 20:58:24 +00:00
thakis@chromium.org c5445f0205 roll gyp 1473:1479
1474: Emacs mode for gyp: font-lock edition.
1475: Tidy up default toolset for msbuild-based builds.
1476: add -Gstandalone flag 
1477: Enable pretty xml generation.
1478: msvs: Ensure trailing slash on IntermediateDir and OutputDir.
1479: mac ninja&make: Pass OTHER_LDFLAGS to libtool for static libraries.


Also don't pass -faddress-sanitizer to libtool.

BUG=113085

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@153250 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-24 19:05:08 +00:00
scottmg@google.com 101b79e651 Revert 153092 - Turn on warnings as errors for (most) third_party code on Windows
Is causing warnings for Official build in PDF code. Boo.

-----------------

Can't quite be fully enabled yet due to not-yet-fixed third party
dependencies. Without it enabled, other packages regress while we're fixing
things. So, add a flag for now so warnings-freeness can be ratcheted forward
by having it on for most packages, but off for a few.

Also, disable warning in qcms (fixed upstream by a large refactoring, not
worth rolling for), and disable two minor warnings in yasm (patch posted
upstream for a few months, but maintainer does not seem motivated to merge).

Fix release-only warning in leveldatabase/env_chromium.cc. Was calling exit(1)
in a leaky destructor.

Fix a warning in lzma_sdk (missing an include).

Disable a silly warning in Release builds of skia and memory_watcher (that
/GS is not working because optimization is disabled).

Warning are currently tolerated in libvpx and mesa.

Cannot be committed until http://chromiumcodereview.appspot.com/10823426/ has
landed.

R=thakis@chromium.org
BUG=126483,140121, 143877
TEST=


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

TBR=scottmg@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10872063

git-svn-id: http://src.chromium.org/svn/trunk/src/build@153223 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-24 16:16:14 +00:00
xhwang@chromium.org 4ef445e31f Revert 153060 - Use early expansion for debug_optimize
https://chromiumcodereview.appspot.com/10828084 tried to do this but did it
only for release_optimize.

BUG=139118,70107

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

TBR=thakis@chromium.org

We are getting unit_tests and content_unittests failure on Linux Clang (dbg) constently. Try reverting this CL to see if it helps. Sorry!

http://chromegw.corp.google.com/i/chromium/builders/Linux%20Clang%20%28dbg%29/builds/31418/steps/content_unittests/logs/stdio
Review URL: https://chromiumcodereview.appspot.com/10882023

git-svn-id: http://src.chromium.org/svn/trunk/src/build@153128 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-24 00:49:25 +00:00
scottmg@chromium.org d086deed13 Turn on warnings as errors for (most) third_party code on Windows
Can't quite be fully enabled yet due to not-yet-fixed third party
dependencies. Without it enabled, other packages regress while we're fixing
things. So, add a flag for now so warnings-freeness can be ratcheted forward
by having it on for most packages, but off for a few.

Also, disable warning in qcms (fixed upstream by a large refactoring, not
worth rolling for), and disable two minor warnings in yasm (patch posted
upstream for a few months, but maintainer does not seem motivated to merge).

Fix release-only warning in leveldatabase/env_chromium.cc. Was calling exit(1)
in a leaky destructor.

Fix a warning in lzma_sdk (missing an include).

Disable a silly warning in Release builds of skia and memory_watcher (that
/GS is not working because optimization is disabled).

Warning are currently tolerated in libvpx and mesa.

Cannot be committed until http://chromiumcodereview.appspot.com/10823426/ has
landed.

R=thakis@chromium.org
BUG=126483,140121, 143877
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@153092 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-23 22:32:24 +00:00
thakis@chromium.org 4cb3710621 Use early expansion for debug_optimize
https://chromiumcodereview.appspot.com/10828084 tried to do this but did it
only for release_optimize.

BUG=139118,70107

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@153060 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-23 20:34:21 +00:00
ukai@chromium.org 567c733a2a Generate debug information by linker with win_z7=1 even if fastbuild=1
without this CL
 fastbuild=1 => no debug information
 win_z7=1 => debug information available (with /Z7)
 fastbuild=1 win_z7 => *.obj has debug info, but linker doesn't generate debug info in *.exe. it would be useless, and just makes build slower

This CL makes win_z7 wins against fastbuild.

R=scottmg,arthurhsu
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152953 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-23 05:49:09 +00:00
thakis@chromium.org 2e8dc935df mac: Print an error when doing a branded build and the 10.6 sdk is not around
BUG=144045

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152823 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-22 21:45:59 +00:00
wangxianzhu@chromium.org d12d515e18 Change Android build configurations (step 3).
Step 1 is https://chromiumcodereview.appspot.com/10827273/ which changed
Debug build to build size-optimized code with DCHECK.

Step 2 is https://chromiumcodereview.appspot.com/10836323/ which updated
developer scripts and buildbot scripts to support the new configurations.

Step 3: change Release configuration to no DCHECK and change default
configuration to Debug.

BUG=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152504 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-21 04:39:00 +00:00
wangxianzhu@chromium.org 215e4088f1 Change Android build configurations (step 2).
Step 1 is https://chromiumcodereview.appspot.com/10827273/ which changed
Debug build to build size-optimized code with DCHECK.

Step 2: update developer scripts and buildbot scripts to support to new
configurations.

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152468 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-21 01:26:26 +00:00
tedchoc@chromium.org 57ce673bc1 Move the gyp variables used for grit defines on android to actually work.
The enable_themes and enable_extensions gyp variables were in a different
scope that prevented the grit_defines from having the correct value when
evaluating the condition.  Moves the variable assignment into the same
scope as the variable declaration and now everything is happy.

TEST=touch chrome/browser/browser_resources.grd && \
     make chrome_resources (check about_version does not have theme icon)

BUG=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152455 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-21 00:50:46 +00:00
scottmg@chromium.org 085409be60 Only default incremental linking on in shared_library
static_library + incremental explodes due to overly large size when all the
.objs are pulled into the final binary.

BUG=143660


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152412 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-20 22:30:04 +00:00
michaelbai@chromium.org 26c0bdb2f4 Use NDK r8b and 64-bit toolchain
- Roll DEPS to NDK r8b
- Use 64-bit toolchain
- Use gold linker

BUG=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152376 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-20 20:09:48 +00:00
lliabraa@chromium.org 258fbc10f5 Update iossim.gyp to use src/build/ios/mac_build.gypi.
The mac_build.gypi will build the iossim executable using ninja.

BUG=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152335 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-20 16:28:12 +00:00
thakis@chromium.org 31b424b287 linux/clang: Disable the last two warnings, turn on -Werror
BUG=138571
TBR=tony

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152242 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-18 04:24:32 +00:00
scottmg@chromium.org 698cde2b19 enable incremental linking by default when using ninja on Windows
BUG=125748
TEST=ninja windows links


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151930 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-16 18:57:10 +00:00
blundell@chromium.org 83968539b9 Load ICU data from file on iOS.
On iOS, load ICU data from a file instead of compiling it in, to keep binary
size down for the low-memory environment.

BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151900 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-16 16:10:35 +00:00
peter@chromium.org b60c707932 Remove the dependency on the STRIP env variable for Android
Android builds currently rely on the STRIP environment variable to be available
during build time, rather than just at project generation time. It shouldn't.

BUG=142642


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151886 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-16 13:52:04 +00:00
bruening@google.com 672cf3de72 Remove forced static_library build for Dr. Memory now that the tool
supports the debug MSVS libc dll.  Also disabled debug build inlining
and FPO to support increasing debug build optimization.

Re-add unit_tests to the "Windows Tests (DrMemory)" bot.  (The
unit_tests cannot be linked with static_library, which is why they
were removed from the bot.)

BUG=137180

R=rnk@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151770 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-15 22:27:50 +00:00
flackr@chromium.org 0946a80c36 Remove touch optimized layout on ChromeOS
BUG=138281
TEST=No touch optimized ui in about flags, nor does it get set when a touch screen is plugged in.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151694 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-15 15:22:55 +00:00
bbudge@chromium.org cf696e6f1e Eliminate the 'build_ppapi_ipc_proxy_untrusted' build flag for untrusted PPAPI proxy builds.
This CL removes our custom GYP flag and modifies the build so both the SRPC and IPC proxies are built side by side. In addition, NaClBrowser now checks the '--enable-nacl-ipc-proxy' flag to determine which IRT to load. The IPC proxy's name is of the form 'nacl_ipc_irt_*'. 

BUG=116317
TEST=builds and runs NaCl apps with --enable-nacl-ipc-proxy
TBR=bbudge@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10831316

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151693 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-15 14:43:24 +00:00
wangxianzhu@chromium.org e4ba552e27 Change Android build configurations (step 1).
Before this change we build Release builds size-optimized code with DCHECK,
while we almost never use the Debug build which is not size-optimized.
    
Now change Debug build to build size-optimized code with DCHECK but still
temporarily keep Release build and default configuration unchanged before
everyone (the bots, scripts and developers) knows how to deal with this change.
    
Next steps will be:
    
Step 2: update developer scripts and buildbot scripts to handle the new
configuration.
    
Step 3: change Release configuration to no DCHECK and change default
configuration to Debug.
    
After all steps finish, this new configuration will better match Chromium
and WebKit (e.g. better matches the DEBUG and RELEASE tags in WebKit layout
test expectations), and makes it easier to build a performance build.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151589 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-14 22:42:55 +00:00
bbudge@chromium.org 2a7a7e2a78 Revert 151581 - Eliminate the 'build_ppapi_ipc_proxy_untrusted' build flag for untrusted PPAPI proxy builds.
This CL removes our custom GYP flag and modifies the build so both the SRPC and IPC proxies are built side by side. In addition, NaClBrowser now checks the '--enable-nacl-ipc-proxy' flag to determine which IRT to load. The IPC proxy's name is of the form 'nacl_ipc_irt_*'.

BUG=116317
TEST=builds and runs NaCl apps with --enable-nacl-ipc-proxy
Review URL: https://chromiumcodereview.appspot.com/10836220

TBR=bbudge@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10825351

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151584 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-14 22:29:02 +00:00
bbudge@chromium.org 58374c9a04 Eliminate the 'build_ppapi_ipc_proxy_untrusted' build flag for untrusted PPAPI proxy builds.
This CL removes our custom GYP flag and modifies the build so both the SRPC and IPC proxies are built side by side. In addition, NaClBrowser now checks the '--enable-nacl-ipc-proxy' flag to determine which IRT to load. The IPC proxy's name is of the form 'nacl_ipc_irt_*'.

BUG=116317
TEST=builds and runs NaCl apps with --enable-nacl-ipc-proxy
Review URL: https://chromiumcodereview.appspot.com/10836220

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151581 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-14 22:23:07 +00:00
yfriedman@chromium.org 5d34d48ba6 Second attempt at fixing Ninja build for Android and change make for host os optionally use goma
Now, to build with goma, you must:
1) Set $GOMA_DIR
2) Specify Goma in the path such as:
PATH=$GOMA_DIR/android/:$PATH ninja -j250 -C out/Release base_unittests_apk

"2)" above is necessary temporarily until the *_target variables are removed from build/android/envsetup.sh 

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151532 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-14 19:17:07 +00:00
pkotwicz@chromium.org 90cf0edd77 Make ChromeOS imply enable_hidpi
Bug=None
Test=Compile ChromeOS without enable_hidpi GYP_DEFINE.

R=flackr
TBR=sky

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151160 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-11 00:04:29 +00:00
eugenis@chromium.org f531414f9d GYP changes for Clang/Android build.
TEST=none
BUG=137569


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@150779 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-09 10:44:07 +00:00
agl@chromium.org b0492632b3 Android: configure use_system_zlib in zlib.gyp
Currently third_party/zlib/zlib.gyp uses the system libz if:
  os_posix == 1 and OS != "mac" and OS != "ios" and OS != "openbsd"

I'm assuming that Android sets os_posix==1 and therefore this change is
a no-op. But it consolidates control of this variable in a single
location.

BUG=none

https://chromiumcodereview.appspot.com/10837100/

git-svn-id: http://src.chromium.org/svn/trunk/src/build@150355 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-07 15:56:00 +00:00
newt@chromium.org 1b1371ada4 Upstream Android-specific strings.
BUG=136951


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@150217 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-07 01:23:11 +00:00
scottmg@chromium.org 5109c33f42 Remove supalink
No longer required with 2010 builds, and not required (and doesn't-work-with)
ninja on 2008.

Deleted references to supalink here:
http://code.google.com/p/chromium/wiki/WindowsIncrementalLinking

R=thakis@chromium.orgo

BUG=140611


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@150151 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-06 21:49:26 +00:00
thestig@chromium.org fa04e4f051 Use early expansion for debug_optimize and release_optimize
BUG=139118
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@149677 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-02 19:41:18 +00:00
torne@chromium.org 69b08ed5f0 Android: move various gyp defines out of envsetup.
These gyp defines are set unconditionally in envsetup, which means they
are not in fact part of the "environment" but just the defaults for the
Android build. Move them into common.gypi instead to make this clear.
Several of them were already the correct setting and can simply be
removed.

The makefiles generated by gyp are identical before and after this
change.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@149609 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-02 11:03:58 +00:00
flackr@chromium.org cd00a05aa5 Pass enable_themes to grit and use for html conditions regarding themes.
BUG=139369
TEST=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@149269 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-31 20:40:33 +00:00
rsesek@chromium.org bbffe40b89 Change the Mac OS X Deployment Target from 10.5 to 10.6.
BUG=137676
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@149198 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-31 16:24:57 +00:00
peter@chromium.org 3ff0d4bc62 Refer to build/mac/find_sdk.py in a more robust way.
This broke the WebKit Mac bot, as the directory it works in is different there
compared to the Chromium configuration. Determine the source's root through the
DEPTH define, and then walk up in the build/mac/ directory.

BUG=
TEST=WebKit Mac builder doesn't break after a Chromium DEPS roll.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@149181 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-31 14:37:59 +00:00
thakis@chromium.org b134ad8ded mac: Let mac_sdk default to the oldest available SDK that's at least 10.6
Having to manually set mac_sdk was a FAQ when Xcode 4 was released. Now
we're using the 10.6 SDK by default, but Xcode 4.4 ships only with the
10.7 and 10.8 SDKs, so it'll likely become a FAQ again. Automatically
set mac_sdk to something sensible.

(People who explicitly say "mac_sdk=10.6" will have to stop doing so
when they switch to Xcode 4.4.)

BUG=121162
TEST=Build without mac_sdk in GYP_DEFINES. Something useful happens
with Xcode 3.2.6, Xcode 4, Xcode 4.4.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148817 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-27 21:31:03 +00:00
yfriedman@chromium.org 3f8dc720f8 Relanding 148377 - [Android] Upstream additional changes from envsetup.
Now requires you to specifically change the GYP_GENERATORS to specify Ninja. The original change broke because gyp ran for both make and ninja and the webkit bot determines whether to use ninja by the presence of build.ninja (thanks to Peter for figuring this out)

BUG=137569,136693


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148790 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-27 20:36:53 +00:00
peter@chromium.org eda4291cc9 Revert 148377 - [Android] Upstream additional changes from envsetup.
This broke the Android WebKit bots as they switched to using Ninja, which
should have been tested before this landed.

---
Splits helper functions out of envsetup into envsetup_functions.sh.
Also includes device helper functions in
build/android/adb_device_functions.sh.

Finally, some fixes to build/common.gypi that happened when
cherry-picked down https://chromiumcodereview.appspot.com/10807019

BUG=137569,136693


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

TBR=yfriedman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10821066

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148739 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-27 10:22:57 +00:00
mark@chromium.org f2b54d779f Allow the mac_sdk_path GYP variable to set the Mac OS X SDK by path.
This is useful for cases where Xcode doesn't know about the SDK, possibly
because the SDK is installed outside of Xcode altogether. For example, Xcode
4.4 does not include a copy of the 10.6 SDK, so if you have a copy of the 10.6
SDK present at /SDKs/MacOSX10.6.sdk, you can put this in ~/.gyp/include.gypi:

{
  'variables': {
    'mac_sdk_path': '/SDKs/MacOSX10.6.sdk',
  },
}

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148680 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-27 00:55:36 +00:00
glider@chromium.org 8633ac33fc Do not link non-executables with -pie for tsan=1
(-pie is incompatible with -shared and -static)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148393 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-25 20:06:45 +00:00
yfriedman@chromium.org 5358cd8c63 [Android] Upstream additional changes from envsetup.
Splits helper functions out of envsetup into envsetup_functions.sh.
Also includes device helper functions in
build/android/adb_device_functions.sh.

Finally, some fixes to build/common.gypi that happened when
cherry-picked down https://chromiumcodereview.appspot.com/10807019

BUG=137569,136693


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148377 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-25 19:15:00 +00:00
yfriedman@chromium.org eca6c4b657 Revert "Revert 147986 - [Android] Add remaining build/common.gypi changes from downstream and strip NOTIMPLEMENTED()s from official builds."
Relanding http://codereview.chromium.org/10816039/ but removing the
clang parts and fixing x86.

This reverts commit 7fc96c8b734fc9bc8152329d99e8ee3f3de14a65.

BUG=137569


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148338 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-25 16:17:57 +00:00
yfriedman@chromium.org ce28d375d4 Revert 147986 - [Android] Add remaining build/common.gypi changes from downstream and strip NOTIMPLEMENTED()s from official builds.
Includes:
1) Allowing overridding of android_ndk_sysroot (addition of "%" in
variable name).
2) Disable NOTIMPLEMENTED output for official builds (see base/logging.h)
3) Add clang build configurations
4) Remove unnecessary cflags from regular build.
5) Include crtbegin_so.o and crtend_so.so for _type=="loadable_module"
which is needed for ppapi_tests.

BUG=137569


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

TBR=yfriedman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10816039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148147 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-24 18:15:11 +00:00
yfriedman@chromium.org 51e927009e Revert 148098 - Fix Android FYI base|net_unittests
Add back missing -U __linux__ to common.gypi.

Partial revert of https://chromiumcodereview.appspot.com/10808042/


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

TBR=benm@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10795093

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148146 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-24 18:14:19 +00:00
rohitrao@chromium.org 72b12edabc GYP changes to get sql and sqlite building on iOS.
BUG=None
TEST=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148136 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-24 18:03:47 +00:00
milanb@chromium.org ac63b6d95a Use system bzip2 on iOS.
BUG=none
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148118 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-24 16:27:15 +00:00
benm@chromium.org 4f9992fa5c Fix Android FYI base|net_unittests
Add back missing -U __linux__ to common.gypi.

Partial revert of https://chromiumcodereview.appspot.com/10808042/


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148098 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-24 13:48:55 +00:00
gman@chromium.org 610aca1cbf Conditionally add the OpenGL ES 2.0 conformance tests to all.gyp
This is a step to getting the OpenGL ES 2.0 conformance tests
running on the gpu bots. Actually running them will be another CL or 2.

TEST=they build
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148023 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-24 01:27:17 +00:00
yfriedman@chromium.org e6fd3be3d3 [Android] Add remaining build/common.gypi changes from downstream and strip NOTIMPLEMENTED()s from official builds.
Includes:
1) Allowing overridding of android_ndk_sysroot (addition of "%" in
variable name).
2) Disable NOTIMPLEMENTED output for official builds (see base/logging.h)
3) Add clang build configurations
4) Remove unnecessary cflags from regular build.
5) Include crtbegin_so.o and crtend_so.so for _type=="loadable_module"
which is needed for ppapi_tests.

BUG=137569


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147986 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-23 23:22:25 +00:00
steveblock@chromium.org f5f7865054 Hook up use_system_libjpeg for Android
Also enable it by default when builing with the Android build system.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147850 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-23 13:36:12 +00:00
steveblock@chromium.org 410bcd8f4d Clean up gyp settings for libjpeg
The gyp settings for libjpeg currently have a number of problems ...
- Settings for using the system libjpeg are replicated in the gyp files for both libjpeg and libjpeg_turbo.
- The default setting for use_system_libjpeg is different depending on whether libjpeg or libjpeg_turbo is in use. This is unintuitive, as libjpeg_turbo is a drop-in replacement for libjpeg.

This patch improves the situation ...
- Improve documentation about the interaction between use_system_libjpeg and use_libjpeg_turbo.
- Use the libjpeg gyp file whenever use_system_libjpeg==1. This means that the settings for using the system libjpeg are only needed here. (A later patch will remove them from libjpeg_turbo's gyp file). It also means that the libjpeg_turbo repository can be excluded when use_system_libjpeg==1.
- Move all settings concerned with use_system_libjpeg to the libjpeg gyp file.

Note that with this change, we lose the OS-specific defaults for use_system_libjpeg when use_libjpeg_turbo==0. These defaults are currently not used, as use_libjpeg_turbo==1 always.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147254 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-18 17:11:28 +00:00
yfriedman@chromium.org fc49083d10 [Android] Additional fixes to build/common.gypi for Android.
Fixes:
1) disable_nacl
2) disable p2p_apis
3) Enable breakpad for official builds
4) Alpha-short use_system_icu
5) Enable .relro sections
6) Remove defunct android_unit_test_target_type flag

BUG=137569


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147088 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-17 20:45:48 +00:00
aruslan@chromium.org 322526aca9 Removing ENABLE_PROMO_RESOURCE_SERVICE guards
They were introduced for Android (as it didn't support the promo
system).  Now all platforms support it, so the guards are removed.

BUG=
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147072 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-17 19:43:07 +00:00
rsesek@chromium.org a6da5dfeea [Mac] Change the build SDK from 10.5 to 10.6.
This does not yet change the deployment target because that requires a
substantial more amount of work.

BUG=137676
TEST=compiles

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147031 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-17 17:47:05 +00:00
glider@chromium.org 3020888eb9 Set 'gcc_version' to 0 for Clang/ASan/TSan builds.
BUG=137480

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147022 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-17 17:00:20 +00:00
stuartmorgan@chromium.org 4ca54def36 Add support for libxml as a system library target on iOS
Restructures the gyp conditions to make the system-lib and non-system-lib paths much clearer, and to ensure that if a new OS tries to use use_system_libxml it won't silently use the non-system path.

BUG=None
TEST=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@146976 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-17 10:41:13 +00:00
mihaip@chromium.org 5c3da40136 Remove the Google Drive default app.
BUG=114644
R=asargent@chromium.org
TEST=Google Drive should no longer show up as a default app for new profiles

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@146866 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-16 19:54:52 +00:00
aruslan@chromium.org 0d5227e1fb Enable promotion system on Android
BUG=b/6538616

TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@146590 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-13 17:35:15 +00:00
steveblock@chromium.org 54adb8dbe4 Use the system zlib and ICU when building with the Android build system
- Use of the system zlib is already the default, but set it explicitly here in
  case the default changes.
- Use of the system ICU was fixed in r145879, so we now make use of it.

Also remove static_link_system_icu, which is not used.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@146565 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-13 14:00:58 +00:00
hbono@chromium.org c914577714 Revert 146303 - Disables allocator_shim on Windows memory builders.
This change disables allocator_shim on Windows memory builders because it causes a linker error with the latest ANGLE code as reported by Erik (*1). Allocator_shim is disabled on shared builds and it happens only on memory builders, which use static builds. (All the other Windows debug builders use shared builds.)

(*1) https://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/4197e93c6f5814ef/330ea8d9d31141e1?lnk=gst&q=base%2Fallocator+#330ea8d9d31141e1

BUG=none
TEST=build unit_tests.exe on the "Windows Tests (tsan)" bot and the "Chromium Windows Builder (DrMemory)" bot.
Review URL: https://chromiumcodereview.appspot.com/10704178

TBR=hbono@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10701165

git-svn-id: http://src.chromium.org/svn/trunk/src/build@146487 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-13 00:41:03 +00:00
hbono@chromium.org 03719430d9 Disables allocator_shim on Windows memory builders.
This change disables allocator_shim on Windows memory builders because it causes a linker error with the latest ANGLE code as reported by Erik (*1). Allocator_shim is disabled on shared builds and it happens only on memory builders, which use static builds. (All the other Windows debug builders use shared builds.)

(*1) https://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/4197e93c6f5814ef/330ea8d9d31141e1?lnk=gst&q=base%2Fallocator+#330ea8d9d31141e1

BUG=none
TEST=build unit_tests.exe on the "Windows Tests (tsan)" bot and the "Chromium Windows Builder (DrMemory)" bot.
Review URL: https://chromiumcodereview.appspot.com/10704178

git-svn-id: http://src.chromium.org/svn/trunk/src/build@146303 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-12 09:01:44 +00:00
stuartmorgan@chromium.org fbf7bc3060 Adjust the all.gyp:All target for iOS
The initial iOS version was over-ambitious, and doesn't yet build. To
get the build working, this:
- only builds base:base on iOS, not base:*, and
- disables warnings-as-errors in third-party code for iOS, since
  at least NSS and ICU have warnings for iOS.

This also adds nss.gyp to the iOS build, now that its gyp support
has landed

BUG=None
TEST=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@146120 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-11 15:11:22 +00:00
steveblock@chromium.org be578b723e Fix use_system_stlport on Android
Also enable it by default when building with the Android build system.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145997 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-11 00:00:51 +00:00
steveblock@chromium.org 6879b2ca14 Add a gyp flag to allow use of the system's version of libexpat
Hook up this flag for Android and enable it when building with the Android
build system.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145854 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-10 09:02:25 +00:00
newt@chromium.org 66361dedd3 Enable debugging code for non-official Android builds.
This enables DCHECK, NOTREACHED, and other debugging code on Android
non-official release builds. Since all Android builds are done in
release mode, we don't set NDEBUG according to whether the build is in
release or debug mode. Rather we set NDEBUG for official builds only.

This requires a change to skia.gyp to define SK_RELEASE exactly the
same when building skia and its direct dependencies:

SK_RELEASE should be defined in skia.gyp only when use_system_skia is
set to 1 because system skia is always in release mode. When building
with chromium version of skia (which is what we do now) this should
not be defined and left to the skia headers to figure out whether to
include debug code or not (they define SK_RELEASE only if NDEBUG was
defined).

BUG=http://b/6712716


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145789 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-09 23:37:13 +00:00
cpu@chromium.org d5ce8b24cc Make the directx sdk and the regular sdk path a gyp variable
For the directx it probes in src\third_party\directxsdk if you have the dxsdk there and
for the regular sdk it probems in src\third_party\platformsdk_win8

If it does not find them it takes an educated guess.

The gyp variables windows_sdk_path and directx_sdk_path can be overriden from the environment if
the defaults are wrong.

BUG=none
TEST=chrome builds
Review URL: https://chromiumcodereview.appspot.com/10690072

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145619 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-06 22:47:56 +00:00
glider@chromium.org 609f64c954 Initial TSan v2 support in Chromium.
Add the 'tsan' GYP flag (off by default) that enables compiler-based data race detection with ThreadSanitizer v2.
TSan v2 does not currently work on Linux x86 and Mac OS, thus we add only Linux flags.
Review URL: https://chromiumcodereview.appspot.com/10700061

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145436 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-04 07:51:12 +00:00
tony@chromium.org 763300b13b enable -Wunused-private-field for linux and chromeos.
BUG=None
TEST=compiles


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145395 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-03 22:24:51 +00:00
thakis@chromium.org ac51d44502 clang: Enable -Wunused-private-field on mac.
linux and linux_chromeos aren't quite there yet.

BUG=none
TEST=none
TBR=mark

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145302 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-03 15:25:36 +00:00
stuartmorgan@chromium.org 62a628bb43 Get a minimal all.gyp working for iOS
Moves targets that will likely never exist for iOS to a !ios condition block. For the rest of the targets, moves all dependencies to a !ios condition block, with the plan being to move many of them back to the main dependencies section as they come online.

While this is arguably uglier than using a separate file in the short term, in the long term the targets will look essentially like this just with many of the dependencies moved back where they were, so this is a clearer step toward the final state.

Note that this target won't actually build yet; this is just enough that 'gclient runhooks' will succeed.

BUG=None
TEST=None (an FYI bot building all.gyp:All will follow later)


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145205 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-02 22:10:48 +00:00
bradnelson@google.com 9cabebd60c Base platform sdk selection on a variable.
Windows SDK 8 isn't ~integrated with visual studio.
As a result we will want to have a gyp level variable to allow folks
to set the windows sdk path in their includes.gypi.

BUG=None
TEST=None
R=cpu@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145201 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-02 21:48:05 +00:00
cpu@chromium.org d96fc602d2 Make chrome use the win8 SDK
BUG=none
TEST=it builds
Review URL: https://chromiumcodereview.appspot.com/10545163

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145113 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-01 22:10:30 +00:00
thakis@chromium.org 7ba0cb4104 roll clang 155835:159409
First clang roll in a few weeks, so lots of new stuff:

* better 'unused' warnings. Now catches e.g. "AutoLock(&lock);"
* better 'uninitialized' warnings
* template type eliding in diagnostics
* TLS attribute support
* New -Wunused-private-field warning (disabled for now)
* style plugin has better warning for implicit destructors
* method_iterator interface changed back to what it was, update plugin again
* Warn on member variable self assignments

BUG=135207
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145022 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-29 22:54:08 +00:00
stuartmorgan@chromium.org fc94f68b89 Add iOS support to common.gypi
There are basically three categories of changes here:
1) Most OS==mac becomes OS==mac or OS==ios
2) Some Xcode-related settings move into OS==mac blocks since Xcode is no longer Mac-only
3) Addition of iOS-specific settings (SDK, compile flags, etc)

BUG=None
TEST=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145008 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-29 22:12:20 +00:00
nileshagrawal@chromium.org c524978097 Remove ANDROID_APK_TEST_TARGET
It is always true now and can be replaced with OS_ANDROID.

BUG=125059
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@144775 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-28 19:36:25 +00:00
alexeypa@chromium.org 3890f9070e sas.dll is not included to Windows 8 SDK. Use one from from Windows 7 SDK instead.
BUG=134509
TEST=src/remoting.gyp:remoting_host_installation is buildable.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@144507 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-27 19:14:06 +00:00
steveblock@chromium.org 301241c917 Avoid redefining HAVE_ENDIAN_H and HAVE_OFF64_T on Android
These are already provided by
system/core/include/arch/linux-arm/AndroidConfig.h and cause warnings when
redefined.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@144465 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-27 16:10:46 +00:00
steveblock@chromium.org 9dd9844b1d Don't use the system versions of sqlite, libjpeg, expat and stlport on Android
These options currently don't work, so we shouldn't use them, irrespective of the value of android_build_type. We'll address each option individually in the future.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@144445 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-27 12:56:32 +00:00
rsleevi@chromium.org a83ab50c8a Enable clang checks for bad refcounting patterns on ChromeOS
BUG=123295
TEST=it compiles


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@144405 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-27 05:02:20 +00:00
thakis@chromium.org a9fdec4d65 Add HiDPI assets for the WebUI bookmarks manager.
Change common.gypi to pass scale_factors=2x to grit on Mac
(as a side effect, the close button on about:settings now looks
good).

Change bookmark_manager/main.html to type="chrome_html"
so that it gets the 2x image auto-treatment that's documented at
sites.google.com/a/chromium.org/dev/developers/design-documents/high-dpi-resources

The icon in the upper left corner of about:bookmarks looks good
with this change, but the tree icons don't yet because cr/ui/tree.js
needs js code changes to make HiDPI icons work.

BUG=134372,123162
TEST=Open bookmark manager. Almost all images look good in HiDPI.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@144305 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-26 22:38:23 +00:00
mihaip@chromium.org cdb0b135e8 The Google Docs app is now known as Google Drive
R=asargent@chromium.org
BUG=114644
TEST=Google Drive should show up as a default app for new profiles

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@143964 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-25 18:40:10 +00:00
hashimoto@chromium.org 30f19ca502 chromeos: Stop depending on Libcros
BUG=127051
TEST=build success


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@143556 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-22 07:22:43 +00:00
phajdan.jr@chromium.org 48f3c089ac Fix build with disabled NaCl glibc toolchain.
This is upstreaming Gentoo Linux patch.

BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10537124

git-svn-id: http://src.chromium.org/svn/trunk/src/build@143364 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-21 08:38:32 +00:00
peter@chromium.org 9e9df00c71 Determine the version of GCC being used for Android builds.
BUG=
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@142390 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-15 14:46:18 +00:00