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

979 Коммитов

Автор SHA1 Сообщение Дата
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
mmenke@chromium.org 6ae70267a5 Captive portals intercept all HTTP requests until the user
has logged in, like at Starbucks and airports.  When behind
one, all SSL requests timeout after a potentially
substantial delay.

This CL Adds a CaptivePortalTabHelper which triggers captive
portal checks when an SSL load is taking too long.  If a
captive portal is found, opens a login tab.  Whenever the
new tab is navigated, we check again for a captive portal.
Once we discover the portal is gone, we reload the original
tab.

design doc:  https://docs.google.com/a/chromium.org/document/d/1k-gP2sswzYNvryu9NcgN7q5XrsMlUdlUdoW9WRaEmfM/edit

R=cbentzel@chromium.org,avi@chromium.org
BUG=87100, 115487

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@142242 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-14 21:28:32 +00:00
eugenis@chromium.org 8509d1e52a Omit -w from ASan CFLAGS and fix a warning.
BUG=None
TEST=nothing breaks
TBR=cevans@chromium.org


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@142151 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-14 16:11:05 +00:00
mihaip@chromium.org 2f8d87031c Add Google Docs as a default app
R=asargent@chromium.org
BUG=114644
TEST=Docs should show up as a default app for new profiles

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@141704 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-12 19:20:01 +00:00
wangxianzhu@chromium.org 0de0054a87 Add ENABLE_PRINTING and disable it on Android.
BUG=none
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@141353 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-09 06:04:02 +00:00
bradnelson@google.com 7c0171141a Adding base_untrusted.
Adding a nacl version of base.

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


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@141144 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-08 01:01:57 +00:00
wangxianzhu@chromium.org a6a982d3aa Revert build/common.gypi modified in r140431.
The change caused issues when running make with goma because the envirnoment
variable CXX_target etc. set in build/android/envsetup.sh are not full paths.
Should check with yfriedman@ why full paths are needed for ninja.

Revert build/common.gypi before the change.

build/android/envsetup.sh of r140431 is good.

Original review URL: https://chromiumcodereview.appspot.com/10511019/

TBR=jrg@chromium.org
BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@140454 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-05 01:00:06 +00:00
wangxianzhu@chromium.org 253dfd874c Fix gyp on Android called by gclient or makefile regen
v8/build/common.gypi now uses environment variable CXX_target which is only
set in android_gyp, not set when gyp_chromium is called by gclient or automatic
makefile regeneration.

Now exports the environment variables needed by gyp generation.

BUG=none
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@140431 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-04 23:39:58 +00:00
flackr@chromium.org 3a493ec7b2 Use chrome_html structure for shared_resources and options2 page.
This will automatically pull in high DPI theme resources and locally available high DPI webui resources.

BUG=130124
TEST=Theme resources are referenced using @2x when running with scale factor 2.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@140355 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-04 20:10:13 +00:00
scottmg@chromium.org bb4951a536 Default to not omitting frame pointers in Release on Windows.
Fixes command line spam about Oy conflicting with Oy-.

See https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/oOk3w2TWNKk


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@140106 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-01 21:52:11 +00:00
asharif@chromium.org 44cc59dc92 Added release_extra_cflags only to the target compiles.
Without this CL, the gyp define release_extra_cflags is applied to both host and
target compiles. With this CL, the gyp define is only applied to the target
compiles.

BUG=v8:2157
TEST=gyp_chromium with extra flags. Made sure that the target mk files like
v8_shell.host.mk did not have the flags while v8_nosnapshot.target.mk had the
flags.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139909 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-31 23:07:54 +00:00
yoshiki@chromium.org a2579644a8 Remove the web-ui task manager unused stuffs for non-ChromeOS.
This CL removes the task manager stuffs for non-ChromeOS, which are used to support web ui task manager for Win (non-aura), Mac and Linux.

BUG=129285
TEST=manual, trybot passes.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139822 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-31 18:15:48 +00:00
sergeyu@chromium.org a3e3f30aa0 Remove PPB_Transport_Dev API.
BUG=109630

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139660 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-30 22:44:53 +00:00
thakis@chromium.org cbd50b3376 mac: Don't require DYLD_LIBRARY_PATH to be set when using the shared build.
Set the install name of all dylibs to @rpath.

Set the rpath of all executables to '@loader_path/.' (for normal binaries)
and '@loader_path/../../..' (for bundled binaries).

Also, Chromium Helper.app doesn't end up in out/Release but
somewhere below Chromium.app, so set its rpath to
'@loader_path/../../../../../../..' to get all the way back to
out/Release.

Also add "(allow file-read-metadata)" to the sandbox definition when
running on 10.6 or earlier when using the component build, to work
around a bug in dyld (see http://crbug.com/127465).

BUG=90078,127465
TEST=Do a components build. DYLD_LIBRARY_PATH isn't necessary at
build time, and isn't necessary when running chromium or test binaries.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139550 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-30 16:20:38 +00:00
asvitkine@chromium.org 2ee1004785 Revert 139139 - Revert 139125 - Switch use_canvas_skia=1 for Linux/GTK.
This is so we can get rid of canvas_linux.cc and start
standardizing what the different canvas flags mean
between platforms.

BUG=105550, 130001
TEST=No visual change in Chrome UI.

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

TBR=asvitkine@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10444039

TBR=asargent@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10444088

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139534 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-30 14:12:32 +00:00
yfriedman@chromium.org 7396434af9 Fix ninja build for android.
The primary issues is specifying the right path to PRODUCT_DIR (i.e.
out/Release). The gyp generator for make specifies the absolute path but
for ninja would use a relative path. Since the gyp targets don't line
up with where the ant build files are located this causes failures such
as base's java being generated in base/android/out/Release/...

See:
https://groups.google.com/forum/#!msg/gyp-developer/K2T_9obUya0/qq78_Ut-E-AJ
for details.

A couple of other minor fixes:
- content java files are placed in out/Release/java/content to be
  consisent with other packages.
- shared-libraries are now referenced by correct variables for apk-based
  tests
- removed unused media/base/android/java/java.gyp (target is in
  media/media.gyp)

TBR=mark@chromium.org,ben@chromium.org,rsleevi@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139418 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-29 23:19:13 +00:00
rogerta@chromium.org 65b03616dd Update behavior of one-click infobar to remove modal dialog, add "undo".
There are many non-signin-related files in this CL because of a method signature change.  The significant changes are in the one_click_* files.

BUG=125253
TEST=See bug description for complete UX spec.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139365 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-29 20:39:51 +00:00
joi@chromium.org d97136ece2 Remove the enable_metro GYP flag, effectively making it on by default.
The flag was mostly redundant with the enable_touch_ui flag, the only
additional effect of turning it on was to change the behavior of
ui::GetDisplayLayout.

If we later wanted to duplicate the effect that disabling the
enable_metro flag prior to this change would have, we can simply
change the condition in common.gypi that determines whether to turn on
the enable_touch_ui flag.

BUG=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139181 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-26 04:34:16 +00:00
asargent@chromium.org 57f556b0f5 Revert 139125 - Switch use_canvas_skia=1 for Linux/GTK.
This is so we can get rid of canvas_linux.cc and start
standardizing what the different canvas flags mean
between platforms.

BUG=105550
TEST=No visual change in Chrome UI.

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

TBR=asvitkine@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10444039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139139 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-25 23:17:00 +00:00
asvitkine@chromium.org 520198591d Switch use_canvas_skia=1 for Linux/GTK.
This is so we can get rid of canvas_linux.cc and start
standardizing what the different canvas flags mean
between platforms.

BUG=105550
TEST=No visual change in Chrome UI.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139125 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-25 21:42:18 +00:00
wangxianzhu@chromium.org 1b837b7e7d Fix break building v8 with goma
The error is caused by missing '-m32' parameter when building v8 for host.
  CXX(host) out/Release/obj.host/v8_base/v8/src/accessors.o
v8/src/globals.h:120:2: error: #error Target architecture arm is only supported on arm and ia32 host

v8/build/common.gypi tests if the compiler supports -m32:
  'm32flag': '<!((echo | $(echo ${CXX_host:-$(which g++)}) -m32 -E - > /dev/null 2>&1) && echo -n "-m32" || true)',
but goma is confused by the environment variable GOMA_WRAPPER and exits
with an error:
  GOMA_WRAPPER=<anything>: unkown GOMA_ parameter
and the gyp script thinks that the compiler doesn't support -m32.

Rename GOMA_WRAPPER to ANDROID_GOMA_WRAPPER to avoid confusing goma.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@138916 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-24 22:43:23 +00:00
bradnelson@google.com feef5f58b2 Applying release settings to Release_Base rather than just Release.
This ensures that both 32-bit and 64-bit windows executables get
release settings (like 'defines': ['OFFICIAL_BUILD']).

BUG=http://code.google.com/p/chromium/issues/detail?id=129372
TEST=None
R=bradchen@chromium.org


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@138613 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-23 22:15:16 +00:00
arthurhsu@chromium.org 4722b2908a Add a GYP_DEFINE to force generating /Z7 flags for Visual C++.
This is required for parallel compilation tools that are unable to
support /Zi.

BUG=none
TEST=manual


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@138549 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-23 19:06:52 +00:00
nileshagrawal@chromium.org c4002912c3 Run base_unittests_apk on the test try bot for realz.
This will make the android_test bot red when apk tests fail.

The ANDROID_APK_TEST_TARGET flag is required while we transition from executable to APK tests.
 - Executable tests need the DIR_CACHE override as the default path comes from the java side.

BUG=125059

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@138407 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-23 00:48:50 +00:00
kinaba@chromium.org d0f59543a1 Fix "unknown argument" message from clang plugin on ChromeOS build.
BUG=123295
TEST=see the build log.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@138229 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-22 07:05:41 +00:00
yusukes@google.com 1040d4c1f5 Remove virtual keyboard support:
1. common.gypi: use_virtual_keyboard define
2. Any code controlled by that define
3. chrome/browser/ui/virtual_keyboard/*
4. chrome/browser/resources/keyboard/*
5. experimental extension APIs for virtual keyboard

No user-visible changes.

BUG=128295
TEST=try

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@138223 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-22 05:55:15 +00:00
rsleevi@chromium.org 1254016dec Enable warnings for having RefCounted types with a public destructor.
Enable the Clang error that makes it a warning/error to derive from
base::RefCounted/RefCountedThreadSafe directly and have a public
destructor for Linux and Mac builds.

For ChromeOS builds, do not yet enable the warning, as it does not
yet build cleanly.

BUG=123295
TEST=it compiles
R=thakis


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@138031 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-19 06:36:31 +00:00
erg@chromium.org 9985d300f4 Aura: Desktop aura is now default on non-chromeos linux builds.
BUG=125106
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137982 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-19 00:05:03 +00:00
maruel@chromium.org 43a574ddec Change the test_isolation_outdir default from PRODUCT_DIR to PRODUCT_DIR/isolate
Otherwise a lot of spew is generated when using test_isolation_mode=hashtable.
Do not use hashtable since outdir is also used with _run and _remap.

R=mad@chromium.org
BUG=98636
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137914 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-18 18:49:39 +00:00
jhawkins@chromium.org df6946a0eb Web Intents: Remove the directory-level exclusions.
BUG=none
TEST=none
R=gbillock

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137874 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-18 16:30:21 +00:00
dmichael@chromium.org f3aca8ba0c PPAPI/NaCl: Make a gyp flag for including the untrusted IPC proxy.
This way, those of us working on the proxy switch need only add:
{
  'variables': {
    'build_ppapi_ipc_proxy_untrusted': '1',
  },
}
to "~/.gyp/include.gypi"

...and we'll be able to build our untrusted targets without editing all.gyp. For anybody who doesn't set that flag, our ppapi_proxy_untrusted.gypi file will still be parsed, but it doesn't matter if the source files build (or even exist).

BUG=116317
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137751 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-17 22:25:10 +00:00
ben@chromium.org c8b41baa8b Did not mean to check in this file. Pre-emptively fixing build bustage.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@137708 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-17 19:32:53 +00:00
ben@chromium.org 4a98d80e72 Make Chrome limp briefly before freaking out with aura no ash.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10407022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137706 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-17 19:30:31 +00:00
mihaip@chromium.org 39cb9240c0 Remove the Docs default app.
BUG=114644
R=asargent@chromium.org
TEST=Docs should no longer show up as a default app for new profiles

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137486 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-16 19:49:52 +00:00
glotov@google.com 989be22ce5 Make ASAN options apply to target binaries only
BUG=none
TEST=unit

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137416 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-16 14:08:42 +00:00
glotov@google.com ef53fa5e6f Note: this change does nothing unless order_profiling=1 is manually set in GYP defines (or EXTRA_BUILD_ARGS for cros).
When enabled, this tool is built into Chrome and makes it log its routine invocations. Every time a routine is called and if it is called for the first time (per each thread), the log is updated with current time and the address of the routine. Later, such logs can be merged (across all threads), symbolized and fed into linker ('order_text_section') so it produces binary with more optimal code layout. This must make code work faster because of better CPU cache utilization.

See more technical details in tools/cygprofile/cygprofile.cc header.

Cyg prefix is taken after the callback names in gcc that we use to hook the code: __cyg_profile_func_enter and __cyg_profile_func_exit.

More info at https://sites.google.com/a/google.com/chrome-msk/dev/boot-speed-up-effort

BUG=chromium-os:20187
TEST=units, build cros with
declare -x EXTRA_BUILD_ARGS="order_profiling=1 linux_use_tcmalloc=0"
run it and check the log at /var/log/chrome/cyglog.*.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137391 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-16 10:04:44 +00:00
shouqun.liu@intel.com 7c6bd79add Fix the content_shell.apk in android x86 target build bug, copy the libcontent_shell_content_view.so and gdbserver to the correct position.
BUG=127532
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137370 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-16 06:18:41 +00:00
gab@chromium.org c16ec67a75 Revert "Make setup.exe compatible with the component build."
This reverts commit 455e64b6dbd407befca3ec7fc83c5fa861df1c44.

It was breaking CRT DLL lookups for some people in VS2008.

BUG=127233
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137330 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-16 01:26:29 +00:00
bradnelson@google.com 0b7b3d85cb Fixing unneeded lifting of win_pch to an inner scope.
This got left in r137083 by mistake, then further embelished in:
http://codereview.chromium.org/10332173/

Only buildtype should need this treatment as win_pch is defined
in terms of it.

BUG=127875
TEST=builds on trybots.
R=robertshield@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137233 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-15 20:46:01 +00:00
robertshield@chromium.org ab23a51270 Attempt to reapply crrev.com/137083.
Disabling precompiled headers for official builds with msvs2010

Selectively disabling precompiled headers for release builds with msvs2010
Precompiled headers seem to interact badly with auto-sharding using the
msvs_shard option.

Incudes speculative fix for KeyError in Linux gyp builds (see http://build.chromium.org/p/chromium.pyauto/builders/Linux%20%28deb%29/builds/33094/steps/update/logs/stdio for details) that removes line 140 from http://codereview.chromium.org/10392091/diff/6/build/common.gypi

BUG=127875
TEST=builds on trybots.
R=kerz@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137166 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-15 17:46:58 +00:00
maruel@chromium.org 3cdf6fc6a8 Add a new gyp define to be used by the swarm master.
Rename tests_run to test_isolation_mode.

TBR=mad@chromium.org
BUG=98636
TEST=
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137127 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-15 14:56:33 +00:00