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

897 Коммитов

Автор SHA1 Сообщение Дата
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