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

6007 Коммитов

Автор SHA1 Сообщение Дата
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
thakis@chromium.org 3dc0e500a2 android: Remove last two md5sum calls from gyp files.
Use the timestamp of a filelist instead of the md5sum call. No intended
behavior change.

BUG=177552
R=cjhopman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258455 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 23:22:44 +00:00
jbudorick@chromium.org 2fde83260b [Android] Lint build/android/gyp/.
BUG=168518

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258451 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 23:09:28 +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
senorblanco@chromium.org 33f8909045 Remove --enable-accelerated-filters flag.
Remove this flag from command-line and chrome://flags. This code path
is old and busted, now that we have the new hotness of
--enable-deferred-filters.

BUG=196562
R=avi@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258400 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 20:47:16 +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
jdduke@chromium.org 7058882aac [Android] Remove the fork of GestureDetector.java
This class is no longer in use, having been replaced by the new native
gesture detection pipeline.

BUG=332418

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258356 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 18:27:09 +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
scottmg@chromium.org 9d740d955f Use depot_tools toolchain, remove now unneeded code, fix not including path to win sdk tools
This is enough for this to work OK:

[gn-2013]d:\src\cr\src>gn gen out_gn
[gn-2013]d:\src\cr\src>ninja -C out_gn gn
[gn-2013]d:\src\cr\src>out_gn\gn gen out_gn2
[gn-2013]d:\src\cr\src>ninja -C out_gn2 gn
...
[297/297] LINK gn.exe

I'm not sure if we need all the deleted stuff for something
else, but I guess we can revive it when we need it.

(There's some dependency problem with linking atm, as
"ninja -C out_gn gn" always relinks, but I think it's unrelated.)

R=brettw@chromium.org
BUG=297677

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258327 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 17:42:25 +00:00
davve@opera.com 994f6b3ca2 Remove "bashism" from plain shell script
https://codereview.chromium.org/196413021 uses [[ which isn't present
in all shells, particularly not dash which Debian uses as /bin/sh.
Instead use two simple [ conditions.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258321 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 17:33:36 +00:00
petarj@mips.com 4a696a75a6 linux: use correct libgcrypt-config paths when cross-compiling
Add a wrapper around libgcrypt-config to generate correct include and
library paths when cross-compiling using a sysroot.

BUG= Linux build with sysroot will fail
TEST= Build Linux Chromium for MIPS

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258293 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 14:53:25 +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
newt@chromium.org ac79e4f7ef Address build spew.
- Fix Android lint warning about using the default locale in
  BrowserAccessibilityManager.java
- Suppress javac deprecation warning about AbsoluteLayout, which we're
  deliberately using and which isn't going away anytime soon.
- Suppress lint warning about using Context.PRINT_SERVICE constant,
  which was added in API level 19, since we only create the print
  service when API level is >=19.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258249 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 08:25:29 +00:00
zty@chromium.org d36f20d781 get extra_src value from factory_properties
BUG=301552

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258159 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 23:50:22 +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
scottmg@chromium.org d70a05ad13 Refactor VS toolchain code in gyp_chromium
Pull out some code from gyp_chromium for less clutter, and easier to
share with GN build files this way.

R=brettw@chromium.org
BUG=297677

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258119 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 22:01:39 +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
aurimas@chromium.org c789d3b893 Cleanup AppMenu code.
Split AppMenu code into the following parts
- AppMenu: core AppMenu code
- AppMenuDragHelper: code related to menu dragging
- AppMenuAdapter
- AppMenuItemIcon

Added tests.

NOTRY=true
BUG=352432

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258043 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 18:22:24 +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
derat@chromium.org d50a85a30d chromeos: Delete old, unused contacts code.
This never got turned on.

BUG=350213
TBR=darin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257754 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 21:13:13 +00:00
mithro@mithis.com 70a3c36539 Fixing compiler_version for Fedora.
BUG=353433

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257716 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 19:29:28 +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
zty@chromium.org 09c28d46c5 Propagate extra_src option to bisect script from bb_host_step
BUG=301552

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257675 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 17:25:55 +00:00
rbyers@chromium.org c4d74fbe36 Add chrome_canary to list of known android builds
Used, for example, by adb_profile_chrome for tracing

BUG=None
R=tonyg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257670 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 17:18:30 +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
dpranke@chromium.org a342bc91e3 Restore ttf-thai-tlwg package accidentally deleted in r243506
Per sbc@, it's possible that this package no longer exists in saucy. If so, we need to figure out where the fonts went and make sure the code checks in content_shell work properly . Perhaps this just needs to be a conditional install.

However, the package is still needed on Precise, so restore it for now.

R=phajdan.jr@chromium.org, mgiuca@chromium.org, sbc@chromium.org
BUG=311902, 353061

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257483 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 20:00:51 +00:00
fischman@chromium.org 623b6c921f Silence git-hooks/pre-commit in the absence of .gitmodules.
Other projects use depot_tools (which pulls in this hook) and chromium's build/
(where the hook lives) but don't use git modules (e.g. webrtc).

TBR=szager@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257470 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 18:50:47 +00:00
thakis@chromium.org f75e747b56 android: Pass list of java files as command line, instead of through a file list.
There aren't that many java files, so this should be well below the command
length file system limit. (Checked with `find. -name '*.java' | wc`).

No intended behavior change.

BUG=177552
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257467 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 18:23:12 +00:00
thakis@chromium.org 7fb057757c android: Remove last md5sum call from java.gypi.
process_resources writes all inputs to a filelist, and then passes the md5sum
of the filelist as parameter (so that the commandline changes when inputs are
removed, causing a rerun).

Instead, just make the input filelist another input. gyp writes filelists when
their contents change, so this means if inputs are removed, the mtime of the
filelist will change, also causing a rebuild.

No intended behavior change.

BUG=177552
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257464 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 17:59:47 +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
binji@chromium.org 04544b870c Add chromium_builder_nacl_sdk target to all.gyp.
This will be used to build Chrome for testing on the NaCl SDK bots. It includes
nacl64.exe on Windows.

BUG=none
R=bradnelson@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257220 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-14 21:58:02 +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
mef@chromium.org 430b3b2d65 - Copied existing C++ and Java JNI implementation.
- Fixed compilation errors, added custom cflags and ldflags.
- Added cronet_package target to build libcronet.so and cronet.jar.
- Added cronet_sample_apk target to build CronetSample.apk sample app.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257131 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-14 16:45:32 +00:00