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

1723 Коммитов

Автор SHA1 Сообщение Дата
thakis@chromium.org a046e5aab7 Revert 259371 "clang roll 198389:202554 reloaded"
Even though the libc++ dependency is gone, clang still depends on
/usr/lib/libedit.3.dylib suddently, which doesn't exist on 10.6. Backing out
while I investigate...

> clang roll 198389:202554 reloaded
> 
> The first try is at https://codereview.chromium.org/195623002/ . Patch set 1
> is identical to that CL, patch set 2 has what changed.
> 
> The big change is that clang/mac is built in gnu++98 mode and doesn't link
> to libc++, to buy us time until the next roll for upgrading our bots to 10.7.
> This includes blink plugin changes up to r256229 (inclusive).
> 
> BUG=351479, 287029, 341352, 333968, 335325
> R=hans@chromium.org
> TBR=hans@chromium.org
> 
> Review URL: https://codereview.chromium.org/211213004

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259378 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-25 22:56:20 +00:00
thakis@chromium.org ac2f493c45 clang roll 198389:202554 reloaded
The first try is at https://codereview.chromium.org/195623002/ . Patch set 1
is identical to that CL, patch set 2 has what changed.

The big change is that clang/mac is built in gnu++98 mode and doesn't link
to libc++, to buy us time until the next roll for upgrading our bots to 10.7.
This includes blink plugin changes up to r256229 (inclusive).

BUG=351479, 287029, 341352, 333968, 335325
R=hans@chromium.org
TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259371 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-25 22:42:36 +00:00
rmcilroy@chromium.org a79ec8edc6 [Android] Fix arm64 abi after Android rename
BUG=354405

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259140 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-25 04:01:00 +00:00
yang.gu@intel.com 84e23bb030 Add support of x64 to generate .mk files
Now you may generate x64 .mk files with command:
./android_webview/tools/gyp_webview linux-x86_64

BUG=346626

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258872 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-24 04:07:34 +00:00
dbeam@chromium.org 8753fdb163 Revert 258763 "Adds plumbing to pass WebUI mojo::Handle from bro..."
Broke compile on Linux Builder (dbg):
FAILED: /b/build/goma/gomacc c++ -MMD -MF obj/content/gen/mojo/common/mojo/content_common_mojo_bindings.render_process.mojom.o.d -DCONTENT_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DBLINK_SCALE_FILTERS_AT_RECORD_TIME -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCOMPONENT_BUILD -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_MOJO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DUSE_XI2_MT=2 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DUSE_UDEV -DENABLE_EGLIMAGE=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DUSE_NSS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_DEBUG -I../.. -Igen -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -msse2 -mfpmath=sse -mmmx -m32 -O0 -g -funwind-tables -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare  -c gen/mojo/common/mojo/render_process.mojom.cc -o obj/content/gen/mojo/common/mojo/content_common_mojo_bindings.render_process.mojom.o
gen/mojo/common/mojo/render_process.mojom.cc:10:54: fatalerror: content/common/mojo/render_process.mojom.h: No such file or directory
compilation terminated.

> Adds plumbing to pass WebUI mojo::Handle from browser to renderer
> 
> See the test for details on how it'll all work out in practice.
> 
> BUG=none
> TEST=none
> R=darin@chromium.org
> 
> Review URL: https://codereview.chromium.org/206923002

TBR=sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258769 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-22 03:59:42 +00:00
sky@chromium.org 92f08ed470 Adds plumbing to pass WebUI mojo::Handle from browser to renderer
See the test for details on how it'll all work out in practice.

BUG=none
TEST=none
R=darin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258763 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-22 03:25:24 +00:00
glider@chromium.org 57600e5cb1 Disable the globals instrumentation under asan==1, not asan_coverage==1.
BUG=352073
TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258636 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-21 18:51:17 +00:00
feng@chromium.org 35a6d219f5 [Android] Workaround of an android platform bug.
On some Android devices (e.g., Sony Xperia), package manager may
fail to extract native libraries when updating Chrome.

The change tries alleviate the situation by:
1) name libchrome with version number;
2) when failed to load library, try to extract native libraies
   and load them.

BUG=311644

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258546 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-21 12:39:56 +00:00
noamsml@chromium.org ecdda002f6 Enable devices page UI on MacOSX
Changes:

1. Consolidate the logic of "ENABLE_MDNS or OS_MACOSX" into a single C++/grit/ninja define called "enable_service_discovery"
2. Move a bunch of files from being conditioned on enable_mdns to being conditioned on enable_service_discovery.
3. Create a separate, simplified PrivetHTTPAsynchronousFactory that synchronously returns a PrivetHTTPClient for the mDNS host and port
without resolving, since on OSX mDNS resolution is baked into the operating system.

BUG=352811

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258480 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-21 00:58:56 +00:00
sky@chromium.org ee386fdb73 Turns on use_mojo=1 for linux.
BUG=353602
TEST=none
R=csharp@chromium.org, mmoss@google.com, thestig@chromium.org, mmoss@chromium.org

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258411 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 21:16:57 +00:00
rmcilroy@chromium.org e1f50e9a4d Enable Arm64 target arch in gyp build config
Initial support to get us started.  There is a lot more work to do before we can compile for arm64.

BUG=354405

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258363 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 18:35:49 +00:00
torne@chromium.org 1e6789aed1 Revert 258278 "Use ICU data file on Android WebView."
> Use ICU data file on Android WebView.
> 
> The Android WebView uses the system ICU on target anyway, so this only
> affects the host build of ICU used to build the host V8. This means the
> flag is now enabled on all platforms by default and no longer needs to
> be conditional.
> 
> BUG=
> 
> Review URL: https://codereview.chromium.org/204783003

TBR=torne@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258354 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 18:20:00 +00:00
sky@chromium.org 01de219884 Turns on use_mojo=1 for windows.
BUG=353602
TEST=none
R=bradnelson@chromium.org, csharp@chromium.org, grt@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258288 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 14:49:41 +00:00
torne@chromium.org 9b9002b0b1 Use ICU data file on Android WebView.
The Android WebView uses the system ICU on target anyway, so this only
affects the host build of ICU used to build the host V8. This means the
flag is now enabled on all platforms by default and no longer needs to
be conditional.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258278 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 14:35:08 +00:00
sky@chromium.org c86206b41f Revert 258062 "Turns on use_mojo=1 for linux."
> Turns on use_mojo=1 for linux.
> 
> BUG=353602
> TEST=none
> R=csharp@chromium.org, mmoss@google.com, thestig@chromium.org, mmoss@chromium.org
> 
> Review URL: https://codereview.chromium.org/203963003

TBR=sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258130 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 22:34:00 +00:00
sky@chromium.org c82b18fc3d Turns on use_mojo=1 for linux.
BUG=353602
TEST=none
R=csharp@chromium.org, mmoss@google.com, thestig@chromium.org, mmoss@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258062 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 19:39:02 +00:00
wittman@chromium.org fd38b4a5a7 Remove enhanced bookmarks extension
Experimentation around bookmark styling in Chrome is being conducted
in a separate extension, so this in-tree component extension is no
longer needed.

This reverts r226314.

BUG=311282
R=estade@chromium.org, kalman@chromium.org, sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258008 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 16:51:58 +00:00
sebmarchand@chromium.org f1f48f9eb5 Put the syzygy targets behind a 'syzygy_optimize' flag.
R=chrisha@chromium.org, pkasting@chromium.org

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257972 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 15:25:54 +00:00
pneubeck@chromium.org 42452d82b5 Revert of Enable extended debugging symbols to including macro expansion. (https://codereview.chromium.org/198363002/)
Reason for revert:
Might be the cause for memory exhaustion during compilation on the Linux dbg build bot:

http://build.chromium.org/p/chromium.linux/buildstatus?builder=Linux%20Builder%20%28dbg%29%2832%29&number=21991

Original issue's description:
> Adding -g3 to get macro expansion support. (Default is -g2.)
> Adding -gdwarf-4 for macro expansion support.
> 
>  * gcc 4.6 outputs DWARF-2 by default
>  * gcc 4.7 outputs DWARF-4 by default
>  * clang <3.4 outputs DWARF-3 by default
>  * clang >3.4 outputs DWARF-4 by default
> 
> From http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html
> > -g3
> >  Level 3 includes extra information, such as all the macro
> >  definitions present in the program. Some debuggers support macro
> >  expansion when you use -g3.
> >
> > -gdwarf-4
> >  Produce debugging information in DWARF format (if that is
> >  supported). The value of version may be either 2, 3 or 4; the
> >  default version for most targets is 4.  Note that with DWARF
> >  Version 2, some ports require and always use some non-conflicting
> >  DWARF 3 extensions in the unwind tables.
> >
> >  Version 4 may require GDB 7.0 and -fvar-tracking-assignments for
> >  maximum benefit.
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257944

TBR=stuartmorgan@chromium.org,erg@chromium.org,mark@chromium.org,mmoss@chromium.org,thestig@chromium.org,mmoss@google.com,mithro@mithis.com
NOTREECHECKS=true
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257959 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 13:53:16 +00:00
pneubeck@chromium.org 966517c82c Revert of Moving binutils version extraction so it works with clang. (https://codereview.chromium.org/199333007/)
Reason for revert:
Seems to break runhooks on several bots, like:
http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%2BLSan%20Builder/builds/1188

Error: Command /usr/bin/python src/build/gyp_chromium returned non-zero exit status 1 in /b/build/slave/Linux_ASan_LSan_Builder/build
Updating projects from gyp files...
/bin/sh: 1: clang++: not found
compiler_version.py failed to execute: clang++ -Xassembler --version -x assembler -c /dev/null
Command 'clang++ -Xassembler --version -x assembler -c /dev/null' returned non-zero exit status 127
gyp: Call to 'python ../build/compiler_version.py assembler' returned exit status 1.

Original issue's description:
> Moving binutils version extraction so it works with clang.
> 
> BUG=352046
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257943

TBR=thestig@chromium.org,thakis@chromium.org,mithro@mithis.com
NOTREECHECKS=true
NOTRY=true
BUG=352046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257954 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 13:09:01 +00:00
andrewhayden@chromium.org 717e9df6cd Add a switch to control which CLD2 tables are used at build time.
Mobile platforms have traditionally opted for smaller binaries. These options allow mobile
platforms some flexibility in trading language detection accuracy for binary size.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257949 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 12:10:59 +00:00
mithro@mithis.com b05026fa67 Adding -g3 to get macro expansion support. (Default is -g2.)
Adding -gdwarf-4 for macro expansion support.

 * gcc 4.6 outputs DWARF-2 by default
 * gcc 4.7 outputs DWARF-4 by default
 * clang <3.4 outputs DWARF-3 by default
 * clang >3.4 outputs DWARF-4 by default

From http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html
> -g3
>  Level 3 includes extra information, such as all the macro
>  definitions present in the program. Some debuggers support macro
>  expansion when you use -g3.
>
> -gdwarf-4
>  Produce debugging information in DWARF format (if that is
>  supported). The value of version may be either 2, 3 or 4; the
>  default version for most targets is 4.  Note that with DWARF
>  Version 2, some ports require and always use some non-conflicting
>  DWARF 3 extensions in the unwind tables.
>
>  Version 4 may require GDB 7.0 and -fvar-tracking-assignments for
>  maximum benefit.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257944 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 12:07:41 +00:00
mithro@mithis.com 40db6db80d Moving binutils version extraction so it works with clang.
BUG=352046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257943 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 12:01:51 +00:00
mithro@mithis.com daf1b98c82 GCC didn't officially add -gsplit-dwarf until version 4.8
I tested with gcc 4.8 and then believed the internet when it said 4.7 had support. Someone was wrong on the internet, inconceivable!

Confirmed not supported on 4.7 via GCC release notes at
http://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Debugging-Options.html#Debugging-Options

Confirmed supported on 4.8 via GCC release notes at
http://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Debugging-Options.html#Debugging-Options

Issue reported by sigbjornf@opera.com

BUG=352046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257861 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 06:05:45 +00:00
bajones@chromium.org 391d9d392e Removing Chrome Gamepad transition cruft (Take 2)
"Don't break the build this time" edition.

BUG=344556
TBR=eseidel@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257694 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 18:09:23 +00:00
sky@chromium.org c5254ee808 Adds the ability for the renderer to create the mojo channel
This is initiated and owned by RenderProcessHost. I've added a
method to RenderProcessHostImpl to create the channel. No one is
calling it yet, that will come after this.

RenderProcessHostImpl::CreateMojoChannel initiates the connection and
sends an IPC message to the renderer. The renderer than creates its
end of the connection.

End to end test will come once I've added all the pieces.

BUG=none
TEST=none
R=darin@chromium.org, tsepez@chromium.org, viettrungluu@chromium.org

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

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257691 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 18:03:05 +00:00
zhenyu.liang@intel.com a09598469d Enable Android x64 build
BUG=346626

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257683 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 17:43:48 +00:00
thakis@chromium.org 82f66f34fa Revert 257618 "roll clang 198389:202554"
A bunch of mac builder bots are still on 10.6 (http://crbug.com/353529)          

> roll clang 198389:202554
> 
> This change contains several big changes, many of the caused by upstream
> llvm enabling c++11 in their codebase and thus having higher minimum
> requirements for their toolchain and runtime environment:
> 
> * clang on OS X now requires libc++, which means it'll only run on OS X 10.7+,
>   so change the deployment target from 10.5 to 10.7 (we were planning on
>   requiring 10.8 or 10.9, see bug 335325, but since several people are waiting
>   on a new clang, let's go to 10.7 only for now and do more as a follow-up)
> * On OS X, the compiler is only usable with libc++ if libc++ is checked out
>   and `make install` is run, so do that for the phase 1 compiler.
>   (Chrome doesn't use libc++ yet, so we don't do that for the bootstrapped
>   compiler.)
> * clang on linux now needs libstdc++ 4.7+ which isn't present on precise.
>   So we now include a newer libstdc++ in the compiler bundle (meaning
>   this clang should still run on precise).
> * clang is broken for android at r202554. To unblock oilpan, merge three
>   later changes into this roll, llvm r202793, r203601, and r203635
> 
> Regular, less tricky clang roll stuff:
> * Disable the new warning -Wabsolute-value for now (crbug.com/351479
>   for turning it on)
> * Disable -Wno-tautological-pointer-compare for libxml where it now
>   fires.
> * Since this bundles a new version of the oilpan plugin, bump its suffix to _3
> * Change plugin code to track upstream api change
> * Remove plugin flag check-url-directory as that's now always on
> 
> Due to the c++11 stuff, it's likely that this change will get reverted a few times.
> 
> BUG=351479, 287029,341352,333968,335325
> TBR=hans@chromium.org
> 
> Review URL: https://codereview.chromium.org/195623002

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257620 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 11:57:13 +00:00
thakis@chromium.org 17e657dcc7 roll clang 198389:202554
This change contains several big changes, many of the caused by upstream
llvm enabling c++11 in their codebase and thus having higher minimum
requirements for their toolchain and runtime environment:

* clang on OS X now requires libc++, which means it'll only run on OS X 10.7+,
  so change the deployment target from 10.5 to 10.7 (we were planning on
  requiring 10.8 or 10.9, see bug 335325, but since several people are waiting
  on a new clang, let's go to 10.7 only for now and do more as a follow-up)
* On OS X, the compiler is only usable with libc++ if libc++ is checked out
  and `make install` is run, so do that for the phase 1 compiler.
  (Chrome doesn't use libc++ yet, so we don't do that for the bootstrapped
  compiler.)
* clang on linux now needs libstdc++ 4.7+ which isn't present on precise.
  So we now include a newer libstdc++ in the compiler bundle (meaning
  this clang should still run on precise).
* clang is broken for android at r202554. To unblock oilpan, merge three
  later changes into this roll, llvm r202793, r203601, and r203635

Regular, less tricky clang roll stuff:
* Disable the new warning -Wabsolute-value for now (crbug.com/351479
  for turning it on)
* Disable -Wno-tautological-pointer-compare for libxml where it now
  fires.
* Since this bundles a new version of the oilpan plugin, bump its suffix to _3
* Change plugin code to track upstream api change
* Remove plugin flag check-url-directory as that's now always on

Due to the c++11 stuff, it's likely that this change will get reverted a few times.

BUG=351479, 287029,341352,333968,335325
TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257618 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 10:53:25 +00:00
bajones@chromium.org d942560bf1 Revert of Removing Chrome Gamepad transition cruft (https://codereview.chromium.org/202043003/)
Reason for revert:
Forgot to roll WebKit deps.

Original issue's description:
> Removing Chrome Gamepad transition cruft
> 
> BUG=344556
> TBR=eseidel@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257454

TBR=eseidel@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=344556

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257460 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 17:18:53 +00:00
bajones@chromium.org 91057f440e Removing Chrome Gamepad transition cruft
BUG=344556
TBR=eseidel@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257454 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 16:56:54 +00:00
jochen@chromium.org ee603348ad Fixing gyp syntax
TBR=thakis@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257444 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 16:28:53 +00:00
jochen@chromium.org 2c25922338 Disable treating linker warnings as errors on all of chromeos
BUG=353127
TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257441 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 16:19:01 +00:00
torne@chromium.org 532006cdc0 Revert r253110: "Enable webrtc for webview."
Temporarily disable webrtc on WebView again due to Mac host build
incompatibility in libvpx.

BUG=316499
R=benm@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257433 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 15:21:23 +00:00
mithro@mithis.com a1d6a7d906 This change helps with two significant problems with Chrome debug
builds,
 * Slow link times.
 * Slow gdb startup times.

Lots more detailed information at http://gcc.gnu.org/wiki/DebugFission

Overall, this improves linking speed of debug Chrome builds on Linux
by ~12% and speeds up gdb by around 30%.

This requires a objcopy with --extract-dwo object (binutils newer then
2.22.52.0.4 // 2.23). Ubuntu Precise only comes with 2.23

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257424 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 14:11:21 +00:00
jochen@chromium.org 9b84a91416 Treat linker warnings as errors on all POSIX platforms
BUG=352985

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257419 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 13:42:13 +00:00
sebmarchand@chromium.org 91d2a90b17 Add PGO targets to Chrome.
This allows to do a PGO optimized build of Chrome with the following commands:
python build\gyp_chromium -Dchrome_pgo_phase=1
ninja -C out\Release chrome
run with '--no-sandbox' + pgosweep
python build\gyp_chromium -Dchrome_pgo_phase=2
ninja -C out\Release chrome


----- Approach that didn't worked -----

(see comment #13 to know why this didn't work)

Instead of having the following gyp dependency chain (for a regular build), here '->' means 'depends on': 

'chrome'->|'chrome_main_dll'
----------|'chrome_child_dll'

we know have the following one (when chrome_pgo==1):
'chrome'->|'chrome_main_dll' |->'chrome_pgo_optimize'->|'chrome_main_dll_pgi'
----------|'chrome_child_dll'|-------------------------|'chrome_child_dll_pgi'


The '*_pgi' target correspond to the instrumented dll, the name of the DLLs produced by target will be terminated by '_pgi'.

During the 'chrome_pgo_optimize' step the instrumented DLLs will be renamed (the '_pgi' suffix will be removed) and Chrome will be run against a set of profile test cases, pgosweep.exe will also be invoked to collect the instrumentation data.

Then the main targets ('chrome_main_dll' and 'chrome_child_dll') will be linked with the flag /LTCG:PGOPTIMIZE, this will produce the optimized DLLs.
--------------------------------------------

R=scottmg@chromium.org

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257133 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-14 16:48:30 +00:00
glider@chromium.org 2c2f9c91b8 Actually link with instrumented libraries when building with tsan=1 and use_instrumented_libraries=1
BUG=313751
TBR=earthdok@chromium.org
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257088 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-14 12:34:20 +00:00
rohitrao@chromium.org b9aef2e976 Remove outdated comment from common.gypi.
BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257016 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-14 05:53:34 +00:00
rohitrao@chromium.org 482980481a Update common.gypi to set clang=1 for all iOS builds.
All iOS builds now use clang, regardless of which gyp generator is used, so
change common.gypi to reflect that.

NOTRY=True
BUG=352167

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256923 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-13 20:46:01 +00:00
glider@chromium.org b7da9c174b Disable ASan instrumentation for globals on Mac to work around issue 352073
BUG=352073
TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256799 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-13 10:55:07 +00:00
rohitrao@chromium.org c42c6b246b Adds -Wno-deprecated-register to the build settings for iOS.
Xcode 5.1 ships with a clang that deprecates the register keyword by default.
This warning flag is needed in order to compile for iOS with Xcode 5.1.

However, the old version of Xcode (5.0) does not understand this flag.  In order
to temporarily support compiling on both versions of Xcode, this CL also adds
-Wno-unknown-warning-option to suppress errors about unknown compiler flags.
This flag will be removed as soon as all of the bots have been updated with
Xcode 5.1, within a week.

BUG=255186,337611
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256592 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-12 19:06:57 +00:00
sergeyu@chromium.org 2d2e515192 Build src/crypto for PNaCl
The new crypto_nacl target builds crypto for PNaCl.

BUG=276739

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256485 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-12 09:34:10 +00:00
scherkus@chromium.org 457ebb2272 Require SSE2 for all 32-bit Linux builds and remove disable_sse2 option.
Previously, only 32-bit Google Chrome Linux was being built with x87 floating point math, which led to bugs caused by 80-to-{32,64}-bit rounding errors that weren't caught on the main Chromium builders. UMA data tells us there are ~0 Google Chrome Linux users without SSE2, making a strong case to require SSE2 across the board and align the Google Chrome build closer to the Chromium build.

As for disable_sse2 option, it was added in r45777 but it's unclear if anyone is using it outside of some other GYP code that flips it to 1 for ARM and MIPS architectures. Instead replace the few instances that don't support SSE2 with specific checks for the target architecture and remove the option entirely.

BUG=348761
R=jamesr@chromium.org
TBR=cpu

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256366 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-12 00:31:30 +00:00
wangxianzhu@chromium.org b7c591400d Let DCHECK in non-official-release build be opt-in with dcheck_always_on=1 only
- Remove DCHECK in non-official-release build by default
- Gyp variable dcheck_always_on=1 (existing) forces to enable DCHECK
  in release build
- Remove flag --enable-dcheck

Other effects/notes:
- Now allow "buildtype=Official dcheck_always_on=1" (which will
  enable DCHECK in official build) combination.
- Gyp variable logging_like_official_build no longer has an effect
- Leave DCHECK_IS_ON() unchanged. May deal with it in a later change
  if needed.

This won't affect bots which use dcheck_always_on=1.

BUG=350462
TEST=LoggingTest.Dcheck
R=thakis@chromium.org
TBR=darin,sehr (command line changes in components/nacl and mojo)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255987 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-10 18:23:38 +00:00
jshin@chromium.org 23344105c5 Enable icu_use_data_file_flag on Android
0. Roll icu to r249466 to copy Android-specific icudtl.dat
1. Turn it in build/common.gypi by default except for android webview build. Move it inside L2 var dict and pull it up to the top level var dict to make 'Google Chrome' build on Android happy. 
2. Add an entry for icudtl.dat to chrome/chrome_android_paks.gypi so that
it's copied to assets directory for Chrome and related targets. 
3. Extract icudtl.dat from the asset and copy to DIR_ANDROID_APP_DATA and make it world-readable so that child processes (sandboxed with uid) can read it. 
4. Add icudtl.dat to MANDATORY_PAKS list in various Android build targets 

Google Chrome has #4 but in a separate CL ( https://chrome-internal-review.googlesource.com/#/c/155554/ ). That CL will land before this CL. 

This also depends on a Blink change https://codereview.chromium.org/183013006/ 

TBR=avi@chromium.org
BUG=72633
TEST=base_unittests:*Convers*, net_unittests:*IDN*, browser tests on all platforms.
TEST=On Android, 1. Layout tests 
2. build/android/test_runner.py gtest -s webkit_unit_tests 
--gtest_filter=WebFrameTest.SelectRange*

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255762 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-08 12:02:26 +00:00
aurimas@chromium.org e7050faf90 Add a new gyp flag to enable resource whitelist generation.
BUG=338759
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255710 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-07 22:36:32 +00:00
senorblanco@chromium.org fdfc647636 Pre-emptively add an (unused) #define for record-time filter scaling.
This will be used in Blink to protect the old implementation of hiDPI
filter scaling. Once CC has been taught how to apply hiDPI to filters,
the Blink implementation will be switched off at the same time by
removing this #define.

BUG=281516

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255580 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-07 11:26:59 +00:00
stuartmorgan@chromium.org b267864408 Sync iOS DEPS overrides with downstream
The list has drifted over time during merges; this re-aligns with the
current state.

BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255454 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-06 22:46:45 +00:00
ananta@chromium.org f5b609387b Ensure that the chrome_200_percent.pak file is copied over to the destination folder on Windows.
This will enable the installer on Windows to install the 200 percent assets.

BUG=349607
R=cpu@chromium.org, sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255448 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-06 22:10:49 +00:00