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

979 Коммитов

Автор SHA1 Сообщение Дата
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
gab@chromium.org be13d8d238 Make setup.exe compatible with the component build.
The problem with the current component build is that chrome.exe and setup.exe only know to look for DLLs like base.dll in the current directory (except chrome.dll for which they're hardcoded to know where to look). On an install those DLLs are in the version directory so chrome.exe and setup.exe fail to run not finding required DLLs...

To fix this we generate config files (to point in the version directory) and manifests (to list all the DLL dependencies explicitly) to be installed  beside the exes.

Each DLL also has a manifest in the version directory to give it an "assemblyIdentity" (i.e. a unique name which is referred to as a dependency by each exe's manifest).

In order for external manifests to work, embedded manifests had to be disabled for component builds (otherwise Windows ignores the external one).

Since embedded manifests are disabled and the generated manifests are only generated in the archive to be extracted at install-time. This CL also adds a copy step for the usually embedded manifests to be dropped in the build directory so that chrome.exe and setup.exe are usable from there without requiring an install.

This doesn't make mini_installer.exe compatible with the component build yet (as mini_installer runs setup.exe right after extracting it and without any other DLLs/manifests beside it).

However it is now possible to use setup.exe (which takes the exact same parameters as mini_installer.exe) from the build output directory with a component build :)!!!

BUG=127233
TEST=Turn on component build with gyp config "component=shared_libary" and make sure we can install chrome with setup.exe.
Make sure we can run the installed Chrome.
Make sure we can uninstall the installed Chrome (i.e. that setup.exe in <version_dir>/Installer is able to find its DLLs).

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137118 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-15 14:06:57 +00:00
nirnimesh@chromium.org efa07282cc Revert 137083 - Disabling precompiled headers for official builds with msvs2010
++++ REVERT NOTICE ++++

Broke update phase on all pyauto chromium bots.
See one at:
http://build.chromium.org/p/chromium.pyauto/builders/Linux%20%28deb%29/builds/33094/steps/update/logs/stdio

+++++++++++++++++++++++

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

BUG=http://code.google.com/p/chromium/issues/detail?id=127875
TEST=builds on trybots.
R=kerz@chromium.org

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

TBR=bradnelson@google.com
Review URL: https://chromiumcodereview.appspot.com/10402002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137085 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-15 07:29:55 +00:00
bradnelson@google.com d5caaa3425 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.

BUG=http://code.google.com/p/chromium/issues/detail?id=127875
TEST=builds on trybots.
R=kerz@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137083 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-15 06:35:13 +00:00
csilv@chromium.org 4d9b51e0c5 Revert 136728 - Disable precompiled headers when using 2010 on an Official build.
(Reverted due to build errors on Win Builder 2010 (dbg):
 NameError: name 'buildtype' is not defined while evaluating condition 'OS=="win"
 and MSVS_VERSION=="2010" and buildtype!="Official"' in src\build\all.gyp while
 trying to load src\build\all.gyp)

bug=127875
R=bradnelson

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

TBR=kerz@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10387096

git-svn-id: http://src.chromium.org/svn/trunk/src/build@136735 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-12 01:14:46 +00:00
kerz@chromium.org f91cdbc047 Disable precompiled headers when using 2010 on an Official build.
bug=127875
R=bradnelson

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@136728 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-12 00:42:16 +00:00
jnd@chromium.org dc0f38b035 Progagate variable android_upstream_bringup to right scope.
Need to propagate variable android_upstream_bringup to outer variable dict to make sure the variable can be reached by condition ['android_upstream_bringup==1' even we are in downstream tree which doesn't define android_upstream_bringup=1.
Otherwise android-gyp is going to show "NameError: name 'android_upstream_bringup' is not defined while evaluating condition 'android_upstream_bringup==1' in /usr/local/google/code/chromium-android/src/build/all_android.gyp..."

BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@136515 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-11 05:42:35 +00:00
mihaip@chromium.org abc0a3c890 Forgot to add docs.crx to the list of files to copy in r135906.
BUG=127606
R=asargent@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@136379 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-10 20:32:40 +00:00
yongsheng.zhu@intel.com 6b5c7c47ce Disable the compile option 'mlong-calls' for Android for IA
This is because this option is a ARM-only option. See the documentation here: 
http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html 

BUG=127379
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@136247 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-10 05:40:50 +00:00
shouqun.liu@intel.com de59645342 Fix the incorrect include headers in 64-bit arch host for android x86 build
This patch disable '/usr/include32' as the include dir for android x86 build in 64-bit host, otherwise, this include entry causes headers conflict with android NDK headers. 

BUG=126611
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@136238 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-10 03:22:28 +00:00
jrg@chromium.org ee05979f3f Android content shell bringup.
Build media java files (we weren't).
Fix adb_install_content_shell for cases where the app was stuck.
Add upstream staging gyp var / #define.
Be more consistent about jar output files (all in lib.java).
Upstream a bunch of random files (e.g. ppapi).
Upstream a bunch of java and native code hit as part of shlib init.
Properly package jar files in content shell.

BUG=
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@136219 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-10 01:50:47 +00:00
tony@chromium.org 625c1540c4 Remove the gyp flag for registerProtocolHandler.
We've been shipping RPH for a while with no adverse effects so it should be
safe to remove the flag.

BUG=126569


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@136129 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-09 21:34:22 +00:00
thakis@chromium.org 17a4452df3 mac: Don't use -Werror on third-party code in official builds.
BUG=none
TEST=official builders go green

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135896 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-08 19:45:49 +00:00
oshima@chromium.org 42f812252a Move DIP translation from ui/aura to ui/compositor.
Layer's coordinate system is now in DIP.
Added support of dynamic density switching.
Removed ENABLE_DIP gyp/macro and added runtime flag "--ui-enable-dip"

BUG=105165, 114666
TEST=enabled monitor test. added new tests to compositor_unittests

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135888 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-08 19:16:59 +00:00
thakis@chromium.org f9ca9ef100 mac: Build third-party code with -Werror too.
If third-party code does trigger warnings, they should be disabled
in that third-party module's gyp file instead, or if they are serious,
fixed.

BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135860 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-08 17:28:45 +00:00
gene@chromium.org 1102405892 Revert 135755 - Revert 135749 - Disable one-click-signin for all platforms for M20. This CL will be
merged to M20 and then reverted on trunk for M21.

BUG=126522
TEST=Make sure one-click sign is not visible on all platforms.
TBR=rogerta


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

TBR=rogerta@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10384049

TBR=gene@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10377039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135756 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-08 00:07:49 +00:00
gene@chromium.org 73d749686b Revert 135749 - Disable one-click-signin for all platforms for M20. This CL will be
merged to M20 and then reverted on trunk for M21.

BUG=126522
TEST=Make sure one-click sign is not visible on all platforms.
TBR=rogerta


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

TBR=rogerta@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10384049

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135755 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-07 23:37:43 +00:00
rogerta@chromium.org 77f42cfd40 Disable one-click-signin for all platforms for M20. This CL will be
merged to M20 and then reverted on trunk for M21.

BUG=126522
TEST=Make sure one-click sign is not visible on all platforms.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135749 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-07 22:54:00 +00:00
ben@chromium.org a5b411179c Allow win_ash to build with only use_ash defined.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10379015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135417 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-04 20:51:51 +00:00
shenhan@google.com 66fb9fa4e9 The background is that we are to enable hardfp build for chrome browser.
Currently, the '-mfloat-abi=soft' is hard coded in the gyp file, but what we need is "-mfloat-abi=hard", since it is hard-coded, we no way to change it.

So this CL removed this hard-coded value, replaced it with variable arm_float_abi, which has a default value of 'soft'.   Later in the ebuild file, we can easily override this value to be 'hard', thus make the build hardfp.

BUG=None
TEST=build manually in chromium


Review URL: http://codereview.chromium.org/10351018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135388 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-04 19:26:40 +00:00
james.wei@intel.com 3bb4660eb6 This patch is to enable x86 android build.
patch includes two parts:
1. gyp files modification to include x86 android build.
2. add android config files for yasm which is copied from linux ones. enable android x86 build

This patch is cloned from the issue #10198027 for ownership issue. 
https://chromiumcodereview.appspot.com/10198027/

BUG=125160
TEST=


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

Review URL: http://codereview.chromium.org/10271039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135110 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-03 09:17:45 +00:00
rsleevi@chromium.org 757089c2e1 Revert 135087 - This patch is to enable x86 android build.
patch includes two parts:
1. gyp files modification to include x86 android build.
2. add android config files for yasm which is copied from linux ones. enable android x86 build

This patch is cloned from the issue #10198027 for ownership issue. 
https://chromiumcodereview.appspot.com/10198027/

BUG=125160
TEST=


Review URL: http://codereview.chromium.org/10271039

TBR=james.wei@intel.com
Review URL: https://chromiumcodereview.appspot.com/10331008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135095 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-03 05:03:14 +00:00
james.wei@intel.com f686c213c2 This patch is to enable x86 android build.
patch includes two parts:
1. gyp files modification to include x86 android build.
2. add android config files for yasm which is copied from linux ones. enable android x86 build

This patch is cloned from the issue #10198027 for ownership issue. 
https://chromiumcodereview.appspot.com/10198027/

BUG=125160
TEST=


Review URL: http://codereview.chromium.org/10271039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135087 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-03 04:00:39 +00:00
jamescook@chromium.org 3846046104 cros: Use touch theme assets with --touch-optimized-ui
This follows the same pattern for theme_resources_touch_1x as we used for ui_resources_touch.  I also introduced a gyp flag for enable_touch_ui at sky's suggestion.

BUG=115234
TEST=visual, run with --touch-optimized-ui and see bigger tabstrip and toolbar assets

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@134942 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-02 17:56:06 +00:00
joi@chromium.org a606eb1d23 Fix mini_installer for Metro resources.
This ensures the enable_hidpi and enable_metro flags make it to the create_installer_archive script.

BUG=125547


Review URL: http://codereview.chromium.org/10262012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@134935 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-02 17:20:45 +00:00
maruel@chromium.org 5c2bf40cf8 Add --mode=noop so progress can be made while the builders are being reconfigured
R=rogerta@chromium.org
BUG=98636
TEST=committing r134507 again would work


Review URL: http://codereview.chromium.org/10261010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@134580 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-30 20:14:13 +00:00
dpranke@chromium.org 285b479dda fix incremental_chrome_dll shared build on windows
This patch applies patchset #2 from
https://chromiumcodereview.appspot.com/10121004/

and then removes the changes to content_switches.cc (which weren't
needed) and chrome_exe.gypi (which was not needed and was actually
bad because it caused chrome.exe to depend on content.dll ).

R=jam@chromium.org, vangelis@chromium.org, rogerta@chromium.org
BUG=none
TEST=local win build succeeds with incremental_chrome_dll = 1, all bots
remain green.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@134008 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-25 23:13:45 +00:00
tedchoc@chromium.org 28fb84b4ae Implement the skeleton of an android content shell.
Many TODOs here that will allow a quicker distribution of work to get the
remaining pieces upstreamed.

BUG=118591
TEST=


Review URL: http://codereview.chromium.org/10035034

git-svn-id: http://src.chromium.org/svn/trunk/src/build@133857 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-25 03:18:46 +00:00
sail@chromium.org 3bff33e40d Metro/HiDPI: Use metro resource pak in metro mode
This CL does the following:
  - add a new enable_metro build flag
  - if the build flag is set then add a new metro icon resource pak to chrome
  - at run time if Chrome is running in metro mode AND ENABLE_METRO is set then use the metro icon resource pak

BUG=114311

TEST=


Review URL: http://codereview.chromium.org/10082020

git-svn-id: http://src.chromium.org/svn/trunk/src/build@133843 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-25 02:24:18 +00:00
sail@chromium.org 135ac52133 Metro/HiDPI: Move 1x icons into separate pak file
Currently all 1x art files are repacked into chrome.pak files.

This is a problem on Windows where we want to choose which pak file to load based on metro and DPI scale.

As a first step this CL does the following:
 - add a new enable_hidpi build flag. This allows us to test HiDPI mode on Windows Chrome.
 - stop packing theme_resources_standard.pak and ui_resources_standard.pak into chrome.pak
 - update the Mac and Windows installer code to package the extra pak files.

Note, I'll be updating the Linux installer script in a separate CL. I'm still looking into the ChromeOS situation.

BUG=114311
TEST=Ran on Windows, and Mac and Linux.

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

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@133613 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-24 02:43:24 +00:00
jrg@chromium.org 5354603cad apk-based test runner work for android. 2 unit test bundles converted over (ipc, base).
OFF by default; enable with a gyp var.  E.g.
  GYP_DEFINES="$GYP_DEFINES gtest_target_type=shared_library" android_gyp

Some useful commands:
adb uninstall org.chromium.native_test
adb install -r out/Release/base_unittests_apk/ChromeNativeTests-debug.apk
adb shell am start -n org.chromium.native_test/org.chromium.native_test.ChromeNativeTestActivity

For the moment, all apks can be built simultaneously but use the same
activity name.  Thus you cannot have more than one installed at the
same time.

BUG=None
TEST=


Review URL: http://codereview.chromium.org/10051021

git-svn-id: http://src.chromium.org/svn/trunk/src/build@133053 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-19 21:02:09 +00:00
thakis@chromium.org f1bc06b547 Enable the clang plugin by default on linux (when using clang).
BUG=none
TEST=GYP_DEFINES=clang=1 gclient runhooks, then build. Plugin prints warnings.


Review URL: http://codereview.chromium.org/10115043

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132935 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-19 03:40:08 +00:00
varunjain@chromium.org 7c727b5124 Revert 132760 - Metro/HiDPI: Move 1x icons into separate pak file
Currently all 1x art files are repacked into chrome.pak files.

This is a problem on Windows where we want to choose which pak file to load based on metro and DPI scale.

As a first step this CL does the following:
 - add a new enable_hidpi build flag. This allows us to test HiDPI mode on Windows Chrome.
 - stop packing theme_resources_standard.pak and ui_resources_standard.pak into chrome.pak
 - update the Mac and Windows installer code to package the extra pak files.

Note, I'll be updating the Linux installer script in a separate CL. I'm still looking into the ChromeOS situation.

BUG=114311
TEST=Ran on Windows, and Mac and Linux.

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

Review URL: http://codereview.chromium.org/10024050

TBR=sail@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10115031

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132804 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-18 17:03:42 +00:00
sail@chromium.org 9f6a7b8885 Metro/HiDPI: Move 1x icons into separate pak file
Currently all 1x art files are repacked into chrome.pak files.

This is a problem on Windows where we want to choose which pak file to load based on metro and DPI scale.

As a first step this CL does the following:
 - add a new enable_hidpi build flag. This allows us to test HiDPI mode on Windows Chrome.
 - stop packing theme_resources_standard.pak and ui_resources_standard.pak into chrome.pak
 - update the Mac and Windows installer code to package the extra pak files.

Note, I'll be updating the Linux installer script in a separate CL. I'm still looking into the ChromeOS situation.

BUG=114311
TEST=Ran on Windows, and Mac and Linux.

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

Review URL: http://codereview.chromium.org/10024050

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132760 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-18 07:30:15 +00:00
sky@chromium.org 0545c38ae3 Revert 132589 - Revert 132440 - Allow extension APIs to be compiled out.
BUG=117407,123835
TEST=


Review URL: http://codereview.chromium.org/10031002

TBR=jgreenwald@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10107026

TBR=zmo@google.com
Review URL: https://chromiumcodereview.appspot.com/10106026

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132591 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-17 17:13:34 +00:00
zmo@google.com 60f47f0c24 Revert 132440 - Allow extension APIs to be compiled out.
BUG=117407,123835
TEST=


Review URL: http://codereview.chromium.org/10031002

TBR=jgreenwald@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10107026

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132589 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-17 17:01:19 +00:00
hbono@chromium.org 7444f0265d Revert 132517 - Metro/HiDPI: Move 1x icons into separate pak file
Currently all 1x art files are repacked into chrome.pak files.

This is a problem on Windows where we want to choose which pak file to load based on metro and DPI scale.

As a first step this CL does the following:
 - add a new enable_hidpi build flag. This allows us to test HiDPI mode on Windows Chrome.
 - stop packing theme_resources_standard.pak and ui_resources_standard.pak into chrome.pak
 - update the Mac and Windows installer code to package the extra pak files.

Note, I'll be updating the Linux installer script in a separate CL. I'm still looking into the ChromeOS situation.

BUG=114311
TEST=Ran on Windows, and Mac and Linux.

Review URL: http://codereview.chromium.org/10024050

TBR=sail@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10103022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132529 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-17 04:00:32 +00:00
sail@chromium.org d5494d3f23 Metro/HiDPI: Move 1x icons into separate pak file
Currently all 1x art files are repacked into chrome.pak files.

This is a problem on Windows where we want to choose which pak file to load based on metro and DPI scale.

As a first step this CL does the following:
 - add a new enable_hidpi build flag. This allows us to test HiDPI mode on Windows Chrome.
 - stop packing theme_resources_standard.pak and ui_resources_standard.pak into chrome.pak
 - update the Mac and Windows installer code to package the extra pak files.

Note, I'll be updating the Linux installer script in a separate CL. I'm still looking into the ChromeOS situation.

BUG=114311
TEST=Ran on Windows, and Mac and Linux.

Review URL: http://codereview.chromium.org/10024050

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132517 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-17 02:12:11 +00:00
thakis@chromium.org b7ed9035d9 clang: Remove -Wno-literal-conversion
BUG=none
TEST=none


Review URL: http://codereview.chromium.org/10097003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132443 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-16 19:30:55 +00:00
jgreenwald@chromium.org ae60a688b1 Allow extension APIs to be compiled out.
BUG=117407
TEST=


Review URL: http://codereview.chromium.org/10031002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132440 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-16 19:22:53 +00:00
thakis@chromium.org fa7edce4f8 clang: Remove -Wno-c++11-compat.
It has been removed from -Wall in clang r143248 (Oct 2011), so
there's no need to explicitly disable it. No behavior change.

BUG=none
TEST=none
TBR=hans
NOTRY=true

Review URL: http://codereview.chromium.org/10097002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132367 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-15 21:55:42 +00:00
thakis@chromium.org cb5a1ed320 roll clang 153589:154450
Interesting changes in this range:
* The tooling infrastructure landed. Not observable, but it makes it easier
to write clang tools.
* Honor -fno-pic, pie support
* Better diagnostics for several c++11 features
* Cross-compiler changes that hopefully make CrOs clang builds simpler
* Many LTO fixes

Also pick up a minor change to the style plugin: Instead of ignoring
problems below out/, it now ignores them below gen/ and geni/. This
should make it work better with custom build directories.

BUG=none
TEST=none
TBR=mark

Review URL: http://codereview.chromium.org/10081013

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132350 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-15 00:16:23 +00:00
yfriedman@chromium.org 88e1566620 Temporarily make unit_tests a static library on Android.
While we sort out the remaining linker errors, this at least ensures we
can add compliation of a bunch of chrome code for Android to gatekeeper.
This is motivated by having the android unit_tests compilation step
broken 4 out of 4 days this week.

BUG=117407


Review URL: http://codereview.chromium.org/10065018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132154 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-13 07:37:15 +00:00
asharif@chromium.org e2fad095f6 Added a GYP_DEFINE to add libraries to the link line.
When Chrome is built with -fprofile-generate in *_extra_cflags, it needs to link
against gcov. Adding -lgcov to the link line doesn't help because it occurs
before -Wl,--start-group. This flag correctly adds the required library if used
like the test case described below.

BUG=102550
TEST=GYP_DEFINES="debug_extra_cflags=-fprofile-generate libraries_for_target=-lgcov" ./build/gyp_chromium
make -j5 chrome # passes.


Review URL: http://codereview.chromium.org/10054022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132061 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-12 21:24:36 +00:00
jscholler@chromium.org 3d925c4195 Removed access to prefs that does not work on Android
This work is useful to make sure at build time that we are not accessing prefs that are not registered.

This CL addresses the prefs registered by:
  BrowserInit::RegisterUserPrefs
  PinnedTabCodec::RegisterUserPrefs
  PluginsUI::RegisterUserPrefs
  PromoResourceService::RegisterUserPrefs

Later CL:
  Browser::RegisterUserPrefs
  SyncPromoUI::RegisterUserPrefs
  *::RegisterPrefs

BUG=120802
TEST=Compiled and made diff-ed the link error to make sure they are the same.

Review URL: http://codereview.chromium.org/9949033

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131994 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-12 16:14:31 +00:00
alexeypa@chromium.org d24df49612 The Chrome Remote Desktop installation for Windows can be build by bots now.
Review URL: http://codereview.chromium.org/10031014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131960 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-12 09:50:12 +00:00
thakis@chromium.org 2f92390cea roll gtest 560:613, gmock 364:405
Most of the included changes are minor. After this roll, we
have what went into the 1.6 release, and gmock now supports
being build as a DLL. (I want this roll for one of the minor
changes, which makes it possible to reenable
-Wnull-dereference for clang)

Turn -Wnull-dereference back on, fix one instance where a
violation snuck in.

BUG=111806
TEST=none
TBR=tony

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131656 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-10 22:42:47 +00:00
oshima@chromium.org 962e8eb59b Floating point based Point/Size/Rect and Insets
This is copied from integer version, instead of using
template, to minimize conflict with m19 branch, as
using template requires updating forward declaration
of these classes in many places.
 I put this behind gyp flag for now so that we can move forward without breaking non DIP build until we can get aura
working with DIP.

BUG=114664
TEST=none


Review URL: http://codereview.chromium.org/10025004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131405 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-09 19:27:43 +00:00
scottmg@chromium.org 8751476b0a These targets were causing files to have the same output target, which ninja (reasonably) does not like.
dlldata.c is a generated file name that a bunch of idl build rules output but most do not actually compile it AFAICT. This was causing some targets in isimpledom (that contain multiple idl files) to output to the same name (dlldata.c), so uniquize it based on InputName. For the one target that seems to actually build dlldata.c, override back to the original name to keep things the same (iaccessible2).


Review URL: http://codereview.chromium.org/10008061

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131232 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-07 01:49:33 +00:00
oshima@chromium.org 89c1c390df Remove WAYLAND port
Also removed skia/ext/canvas_paint_x.h which is not in use.

BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131219 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-07 00:33:04 +00:00
jgreenwald@chromium.org 87aec185e9 Don't build the task manager into Android builds.
BUG=117407


Review URL: http://codereview.chromium.org/9701006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131055 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-06 01:11:02 +00:00
jgreenwald@chromium.org 1b692476ea Add support for not compiling in chrome/browser/background.
BUG=117407
TEST=


Review URL: http://codereview.chromium.org/9959116

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131037 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-05 22:53:00 +00:00
yfriedman@chromium.org fcd1e2e6d7 Allow SessionService to be disabled.
Android manages persistence of sessions separately in Java code.

BUG=117407


Review URL: http://codereview.chromium.org/9985002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130976 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-05 18:34:53 +00:00
oshima@chromium.org 3b455b7939 Remove TOOLKIT_USES_GTK and consolidate it into TOOLKIT_GTK
Add gtk dependency to base.gyp for android host_os="linux" case

BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130784 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-05 00:21:22 +00:00
rogerta@chromium.org 4ad3902b2c Revert 130528 - Disable one-click signin for all platforms except windows.
BUG=121677
TEST=Make sure one-click signin is working only on windows. See crbug.com/110050
for a description of the feature

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

TBR=rogerta@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9981002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130623 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-04 15:05:05 +00:00
asvitkine@chromium.org 1cfddbca32 Revert 129889 - Revert 129878 - Re-enable use_canvas_skia=1 on Windows.
Original review: https://chromiumcodereview.appspot.com/9863053

BUG=105550
TEST=UI text looks the same as before.
Review URL: https://chromiumcodereview.appspot.com/9965062

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130614 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-04 14:01:17 +00:00
rogerta@chromium.org 51fb794148 Disable one-click signin for all platforms except windows.
BUG=121677
TEST=Make sure one-click signin is working only on windows. See crbug.com/110050
for a description of the feature

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130528 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-04 00:46:05 +00:00
olonho@google.com 4dc2661c84 Remove hack in .gyp file disabling NaCl in ARM CrOs build. We still have it disabled in ebuild.
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2687
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130389 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-03 16:19:26 +00:00
erg@google.com 3637efc228 Fix linux_aura bot compile.
BUG=121545
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130253 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-02 23:34:22 +00:00
tony@chromium.org 2d29682c8b Revert 129968 - Use gyp names in MIDL build rules rather than VS macros.
This broke the Google Chrome Win build:
http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/builds/9711

In support of ninja/windows. DLLDataFileName changed to be uniquized too because in a target that has multiple idl files, they would all output to the same dlldata.c (which ninja quite reasonably doesn't like).

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

TBR=scottmg@google.com
Review URL: https://chromiumcodereview.appspot.com/9950035

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130000 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-31 00:03:09 +00:00
scottmg@google.com 983deab57a Use gyp names in MIDL build rules rather than VS macros.
In support of ninja/windows. DLLDataFileName changed to be uniquized too because in a target that has multiple idl files, they would all output to the same dlldata.c (which ninja quite reasonably doesn't like).

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129968 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 22:16:37 +00:00
nileshagrawal@chromium.org 7a6a933b3d Exclude ProtectorService code from Android build.
The change adds a ENABLE_PROTECTOR_SERVICE condition to exclude
ProtectorService and related code. I have introduced protector_utils.h which
contains methods used by keyword_table.cc to sign and verify keywords.

Note: ChromeOS also excludes protector from the tests
(chrome_tests.gypi), but disables ProtectorService using a command line
switch.

BUG=117407
TEST=


Review URL: http://codereview.chromium.org/9863047

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129910 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 19:57:29 +00:00
mihaip@chromium.org fab1b58189 Revert 129878 - Re-enable use_canvas_skia=1 on Windows.
BUG=105550
TEST=UI text looks the same as before.
Review URL: https://chromiumcodereview.appspot.com/9863053

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129889 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 18:16:54 +00:00
asvitkine@chromium.org 3dc42451bc Re-enable use_canvas_skia=1 on Windows.
BUG=105550
TEST=UI text looks the same as before.
Review URL: https://chromiumcodereview.appspot.com/9863053

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129878 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 17:03:34 +00:00
glider@chromium.org 3a9a7e0283 Do not use ASan ignore.txt file when building Chrome.
__attribute__((no_address_safety_analysis)) should be used instead.

TBR=inferno
BUG=118565
Review URL: https://chromiumcodereview.appspot.com/9959012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129836 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 13:18:27 +00:00
akalin@chromium.org 64b63124c5 [Sync] [GTK] Add GTK version of the one-click signin dialog
Enable one-click signin on Linux (but not ChromeOS).

Build GTK version of one-click signin dialog.

BUG=120577
TEST=On Linux, with a clean profile, sign into GMail.  The one-click infobar should pop up, and clicking "OK, sync" should bring up the one-click dialog.

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129773 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 03:18:54 +00:00
mihaip@chromium.org 1ecc59e5e8 Revert 129762 - [Sync] [GTK] Add GTK version of the one-click signin dialog
Enable one-click signin on Linux.

Build GTK version of one-click signin dialog.

BUG=120577
TEST=On Linux, with a clean profile, sign into GMail.  The one-click infobar should pop up, and clicking "OK, sync" should bring up the one-click dialog.

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

TBR=akalin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9964001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129766 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 02:24:00 +00:00
akalin@chromium.org f082e16e31 [Sync] [GTK] Add GTK version of the one-click signin dialog
Enable one-click signin on Linux.

Build GTK version of one-click signin dialog.

BUG=120577
TEST=On Linux, with a clean profile, sign into GMail.  The one-click infobar should pop up, and clicking "OK, sync" should bring up the one-click dialog.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129762 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 02:02:28 +00:00
viettrungluu@chromium.org f40fbfdd5c Remove PPB_Flash_NetConnector and ENABLE_FLAPPER_HACKS.
PPB_Flash_NetConnector has been superseded by less hacky and more general
interfaces. ENABLE_FLAPPER_HACKS only enabled PPB_Flash_NetConnector.

TEST=builds (and still passes PPAPI tests)
TBR=darin@chromium.org

Review URL: http://codereview.chromium.org/9836131

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129444 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-28 18:14:00 +00:00
scottmg@google.com a38a3d4a05 Remove forced _HAS_TR1=0 define. VS2010 headers unconditionally define _HAS_TR1=1. The gyp msvs 2010 generator has a hardcoded hack to remove _HAS_TR1=0 from the defines, but it seems better not to add this to the ninja generator too.
Added here http://codereview.chromium.org/147015/ but not sure of reason. Perhaps the define could just be removed now?

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129310 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-28 00:25:20 +00:00
nileshagrawal@chromium.org b8be22d101 Disable plugin_installation for android.
BUG=117407

TEST=


Review URL: http://codereview.chromium.org/9860013

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129127 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-27 04:08:23 +00:00
thakis@chromium.org c0a28fa3cc rlz: Hook up on mac, switch to chrome's network stack on win.
This CL conceptually does several things (most of them just one line).

1. Roll RLZ 105:118

106: Fix "expression result unused" warning caused by VERIFY() use.
107: rlz: Add an implementation of PingServer() that uses chrome's net stack.
108: Implement RlzValueStoreMac.
109: Move GetMachineId() to its own file. No intended behavior change.
110: Implement GetSystemTimeAsInt64() on mac.
111: Minor cleanups.
112: Don't pay a static initializer for expected_assertion_ when it's not used.
113: Rename rlz_lib2.cc and win/lib/rlz_lib.cc to win/lib/rlz_lib_win.cc
114: mac: Implement GetMachineId().
115: mac: Implement the locking part of ScopedRlzValueStoreLock.
116: Tweaks to make the use of chrome's net stack forceable through gyp.
117: Push RLZ_NETWORK_IMPLEMENTATION_ define to dependent targets.
118: Use base::mac::ScopedNSAutorleasePool only on mac.

2. Change rlz.cpp to use the blocking pool instead of the file thread.

3. Enable on mac.

4. Switch to chrome's network stack on windows

5. Switch RlzSendFinancialPingFunction to be an AsyncExtensionFunction
that calls SendFinancialPing on a worker thread. This is required because
extension functions run with a MessageLoop, so the MessageLoop in
SendFinancialPing in rlz would trigger an assert (and making that inner
loop nestable seems like a very bad idea). This change also removes
one instance of ScopedAllowIO and fixes a TODO.

BUG=46579
TEST=
1.) Do an official chrome build
2.) Add gratuitous logging in rlz.cc and other places and check that by default:
* The channel is reported as "stable"
* The brand code is the empty string
* This brand code counts as organic install
* RLZ exits early.
3.) Create ~/Library/Google/Google\ Chrome\ Brand.plist and add e.g. the string "BRAND" for key KSBrandID, restart chrome.
* Brand code is now "BRAND" (this depends on Chrome's Info.plist not having a KSBrandID key, which has precedence. Currently our Chromes seem to never have this key.)
* A ping is scheduled, but nothing is sent.
* Use the omnibox a little, which causes product events to be recorded.
4.) Restart chrome yet again, wait a bit.
* Logging in "SendFinancialPing()" should print:
pinging http://clients1.google.com:80/tools/pso/ping?as=chrome&brand=BRAND&pid=&hl=en&events=C1F,C1S&rep=2&rlz=C1:1C1_____enUS476,C2:1C2_____enUS476&id=0926C138C2EA77A791CB450D322D0183E5A8079300000001B5
ping completed!

TBR=sky

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129028 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-26 22:29:17 +00:00
rsesek@chromium.org 4790c9feed Add gyp variable mac_strip_release to set the target_defaults variable mac_strip.
This allows you to do `GYP_DEFINES='mac_strip_release=0' gclient sync` to
produce Release binaries that are not run through strip_from_xcode.

BUG=none
TEST=none


Review URL: http://codereview.chromium.org/9855027

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129023 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-26 22:22:15 +00:00
rbyers@chromium.org c3ed213660 Revert 128696 - roll clang 151385:153254 due to mac sizes regression
Caused a ~250kB regression in ChromiumFramework size, reverting to get the tree
green.
---

New stuff:
* ObjC number, array, dict literals
* ASan fixes, visibility fixes (see bugs)
* (c++11: User-defined literals)
* -Wstring-plus-int
* Fix for a bug that made the last roll not work with goma

BUG=114996,112539,119119
TEST=none

Review URL: http://codereview.chromium.org/9836038

TBR=thakis@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9835085

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128746 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-24 16:17:42 +00:00
thakis@chromium.org 958092e1f9 roll clang 151385:153254
New stuff:
* ObjC number, array, dict literals
* ASan fixes, visibility fixes (see bugs)
* (c++11: User-defined literals)
* -Wstring-plus-int
* Fix for a bug that made the last roll not work with goma

BUG=114996,112539,119119
TEST=none

Review URL: http://codereview.chromium.org/9836038

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128696 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-24 05:57:53 +00:00
rsleevi@chromium.org 962d5c4564 Revert 128679 - Speculative revert. xcodebuilders hosed between r128678 - 128680 in GYP phse, this is the only change that touched GYP files.
apk-based test runner work.  Not enabled yet.  This CL is a combination of upstreaming, ndk/ant-ification, and other tweaks.


BUG=None
TEST=


Review URL: http://codereview.chromium.org/9834037

TBR=jrg@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9852004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128685 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-24 04:44:41 +00:00
jrg@chromium.org d168ae37cd apk-based test runner work. Not enabled yet. This CL is a combination of upstreaming, ndk/ant-ification, and other tweaks.
BUG=None
TEST=


Review URL: http://codereview.chromium.org/9834037

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128679 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-24 03:57:36 +00:00
michaelbai@chromium.org 8587cf2162 Using 'target_arch' instead of 'android_target_arch'
BUG=
TEST=


Review URL: http://codereview.chromium.org/9834062

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128662 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-24 02:44:43 +00:00
reveman@google.com 9ba3a2d688 aura: Enable use_canvas_skia=1 on aura.
BUG=111587,105550
TEST=manual

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128170 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-22 04:19:12 +00:00
akalin@chromium.org 66c2f2b08a [Sync] Implement Mac-specific UI for one-click signin
Enable one-click signin on OS X.

Build Cocoa version of one-click signin dialog.

Refactor one-click signin code to make it easier to unit test.

BUG=116685
TEST=On OSX, with a clean profile, sign into GMail.  The one-click infobar should pop up, and clicking "OK, sync" should bring up the one-click dialog.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128126 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-22 01:02:46 +00:00
alexeypa@chromium.org 899b11c4a1 ATL 8.0 included in WDK 7.1 makes the linker to generate almost eight hundred LNK4254 and LNK4078 warnings. This CL disables both warnings when compiling using "Express" versions of Visual Studio.
Review URL: http://codereview.chromium.org/9718030

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128082 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-21 22:59:32 +00:00
robert.nagy@gmail.com 0d01311bf7 set toolkit_uses_gtk% to 1 on all systems using Gtk
BUG=
TEST=


Review URL: http://codereview.chromium.org/9816015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128061 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-21 21:46:17 +00:00
erg@chromium.org f2568125f8 GYP fix: toolkit_uses_gtk% should be dependent on use_aura%.
This fixes the linux_aura FYI builder. This was broken in r127620.

BUG=none
TEST=none


Review URL: http://codereview.chromium.org/9789002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127858 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-21 01:13:19 +00:00
bulach@chromium.org f0219b05fd Chrome on Android: fix cross-compilation setup.
This patch removes the need of exporting / setting
CROSS_C* variables when calling make for android.
Instead, set them at Makefile generation time so that gyp will
set the right compilers when calling android_gyp.
This also allows goma builds.

BUG=
TEST=builds for android.


Review URL: http://codereview.chromium.org/9693042

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127667 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-20 10:45:27 +00:00
saintlou@chromium.org 0feb08867a Simple gyp rule cleanup.
BUG=none
TEST=none


Review URL: http://codereview.chromium.org/9730018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127620 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-20 02:11:58 +00:00
saintlou@chromium.org 618aa44bc4 More chrome_browser.gypi cleanup once chromeos_gtk is gone.
BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127481 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-19 16:10:55 +00:00
saintlou@chromium.org ca38449a6a Remove defunct chromeos_gtk gyp variable.
BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127474 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-19 15:40:35 +00:00
tfarina@chromium.org a8073d6729 ui/gfx: Rename canvas_skia_skia to just canvas_skia.
BUG=116572,105550
R=asvitkine@chromium.org
TBR=sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127395 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-18 03:09:50 +00:00
peter@chromium.org 7e92127e89 Disable the optimizations replacing aggregates with scalars for Android
The optimizations may fail under certain conditions. This is the case in,
for example, WebKit WTF's Checked type, and causes test failures. As this
may affect more than just that code, disable it for the entirety of Chromium
when building for Android.

BUG=
TEST=TestWebKitAPI passes all tests.


Review URL: http://codereview.chromium.org/9704057

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127262 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-16 22:03:53 +00:00
timurrrr@chromium.org 14fb64470f Fix a typo in the comment regarding /MT vs /MD
Review URL: http://codereview.chromium.org/9699119

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127165 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-16 15:22:16 +00:00
wangxianzhu@chromium.org 7045689c39 Add enable_automation build switch.
It's only disabled on Android to exclude automation from Android build.
enable_automation=0 still doesn't work on platforms other than Android.

BUG=117407
TEST=none


Review URL: http://codereview.chromium.org/9696049

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127004 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-15 21:53:10 +00:00
tedchoc@chromium.org 6281a628f4 Chrome on Android : Begin removing references to themes.
Android will not in the forseeeable future be supporting themes, so this begins
removing their support to get unit_tests linking upstream for android.

BUG=113487
TEST=

Review URL: http://codereview.chromium.org/9515010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@126988 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-15 20:50:38 +00:00
tfarina@chromium.org 47759ca4cc ui/gfx: Rename almost all entries from gfx::CanvasSkia to gfx::Canvas.
BUG=116572
R=asvitkine@chromium.org
TBR=sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@126935 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-15 17:32:42 +00:00
epoger@google.com a4f7f95a14 Remove use_skia_on_mac.gypi ; building with CG is no longer supported.
BUG=110881
Review URL: https://chromiumcodereview.appspot.com/9699029

git-svn-id: http://src.chromium.org/svn/trunk/src/build@126652 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-14 16:02:21 +00:00
yoshiki@chromium.org 63e7899653 Disable WebUI TaskManager on Desktop Chrome (Win/Mac/Linux)
This CL disables WebUI TaskManager on Desktop Chrome (Win/Mac/Linux) since it won't be shipped with the final decision. But it is still enabled on ChromeOS.

This is a revert patch of http://crrev.com/122806.

BUG=99029
TEST=manual

Review URL: http://codereview.chromium.org/9690017

git-svn-id: http://src.chromium.org/svn/trunk/src/build@126608 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-14 07:38:23 +00:00
jgreenwald@chromium.org 4f21fae47a Remove web intents from Chrome on Android build
Chrome on Android doesn't currently support web intents.  This change fixes linker errors that occuring when trying to build sync_unit_tests.

BUG=113487
TEST=


Review URL: http://codereview.chromium.org/9521013

git-svn-id: http://src.chromium.org/svn/trunk/src/build@126446 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-13 20:04:56 +00:00
maruel@chromium.org c911a0b1f0 Add target base_unittests_run and tools/isolate/isolate.py.
This target uses isolate.py to run the unit test in a separate directory.

BUG=98636
TEST=

Review URL: http://codereview.chromium.org/9513003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@125386 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-07 14:39:56 +00:00
thestig@chromium.org ce4286e9ae Linux: Use gold for 32-bit builds as well.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9580032

git-svn-id: http://src.chromium.org/svn/trunk/src/build@125369 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-07 09:20:40 +00:00
rogerta@chromium.org 6c6a6b9616 Implement one click login.
depends on http://codereview.chromium.org/9466022/
depends on http://codereview.chromium.org/9465018/

BUG=110050
TEST=When the profile is not connected to a google account, each time the user
logs in to a google property an infobar will ask the user if he would like to
connect the profile to this account.  If so, a dialog pops up with more
information, and allows the user to start or cancel.  The user can also not
choose the default sync settings, in which case pressing start will bring
up the advanced sync dialog.

Review URL: http://codereview.chromium.org/9453035

git-svn-id: http://src.chromium.org/svn/trunk/src/build@124996 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-05 21:02:40 +00:00
erg@chromium.org 32c837f234 Aura: Build on the linux desktop, plus add USE_ASH.
BUG=none


Review URL: http://codereview.chromium.org/9478015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@124488 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-01 21:34:06 +00:00
rnk@chromium.org 65105f2afb Move the build config logic for our memory tools into common.gypi.
This change allows us to tweak these options without restarting the
build masters and submit try jobs that tweak them.

It also simplifies usage of these tools, because instead of copying and
pasting a large block of gyp variables from
tools/build/scripts/masters/factor/chromium_factory.py into GYP_DEFINES
or .gyp/include.gyp, developers can simply set build_for_tool=mytool.

My plan is to change the chromium.fyi master to use build_for_tool=*
first, and revert if those bots break.  If they stay green, I'll send a
change to update chromium.memory.fyi and completely remove
ChromiumFactory.MEMORY_TOOLS_GYP_DEFINES.

I intend to remove all the otherwise unused (win_)(release|debug)_*
options that we exposed later.  This change is supposed to be the
simplest thing that works.

R=maruel@chromium.org,timurrrr@chromium.org
BUG=109780
TEST=built with build_for_tool=drmemory locally


Review URL: http://codereview.chromium.org/9516005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@124323 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-01 01:29:47 +00:00