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

935 Коммитов

Автор SHA1 Сообщение Дата
reveman e10677ca28 chrome: Add support for use_glib=true to wayland server.
This adds a GLib WaylandWatcher implemenatation that allows the
Wayland server to listen for and dispatch messages when using a
GLib message loop.

BUG=549781
TEST=build chrome without use_glib=false and run with --enable-wayland-server

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

Cr-Original-Commit-Position: refs/heads/master@{#362719}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 75cd05b4694653d9af4fcc8c5c05f7dae433137d
2015-12-02 15:57:00 +00:00
thakis e0a74f1321 clang/arm: Push -no-integrated-as into the four targets that need it.
clang's integrated assembler does not support old-style ARM assembly,
but the assembly itself generates is always modern so it's ok to
use the integrated assembler for all .cc compilations.  Three projects
have old and crufty .S ARM asm files, so push -no-integrated-as into these
three projects.  We can then clean those up asynchronously, while this
change makes sure no other projects with old assembly make it into the
tree.

Depends on:
https://codereview.webrtc.org/1484103002/
https://codereview.webrtc.org/1486143002/
https://codereview.chromium.org/1485143002/
https://chromium-review.googlesource.com/#/c/315110/2

BUG=124610

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

Cr-Original-Commit-Position: refs/heads/master@{#362584}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7faa96991e5f362d1d1e92666ebedf870bad9140
2015-12-02 02:17:19 +00:00
mcgrathr d2b89b15ff GN: Do not pass /safeseh to ml64.exe
The 64-bit MSVC assembler (ml64.exe) does not accept the /safeseh
switch.  Only the 32-bit x86 MSVC assembler (ml.exe) does.  The
64-bit assembler prints a warning about an unrecognized option,
which is ulgy though it does not break the build.

BUG= none
R=scottmg@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#362539}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a176b5bc5cca245c32f8963579fd6cdca4e6ea25
2015-12-01 23:02:23 +00:00
agrieve e0890cfe04 GN(android): Adds extra_native_libs_even_when_incremental to create_apk()
For incremental targets, gdbserver should still be packaged in the apk rather than side-loaded.

BUG=559289

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

Cr-Original-Commit-Position: refs/heads/master@{#362523}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8db972584e6fa8bae80be8a1bc8923afb692cd2b
2015-12-01 22:13:30 +00:00
phosek d820fbfe37 GN: Support building liblouis library
This library and the table data is a part of Chrome OS.

BUG=512906

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

Cr-Original-Commit-Position: refs/heads/master@{#362518}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 67643e64039078d54f4b6842369d33b8ba131fc7
2015-12-01 22:09:42 +00:00
agrieve d76355c343 GN(android): Use list of libraries rather than native_lib_dir in all places
Addresses a TODO and makes rules more well suited for adding in
loadable_modules

BUG=559289

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

Cr-Original-Commit-Position: refs/heads/master@{#362463}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7867a73b9d808755d40b8278b312122269720462
2015-12-01 18:54:38 +00:00
vabr e6a9d9f111 Reland of Convert enable_pre_sync_backup flag to new flags system. (patchset #1 id:1 of https://codereview.chromium.org/1490713002/ )
Reason for revert:
Speculative revert did not help. Relanding.

Original issue's description:
> Revert of Convert enable_pre_sync_backup flag to new flags system. (patchset #2 id:20001 of https://codereview.chromium.org/1487873003/ )
>
> Reason for revert:
> Speculative revert, CrOS compile broken, more info on the bug.
> BUG=563927
>
> Original issue's description:
> > Convert enable_pre_sync_backup flag to new flags system.
> >
> > This flag's usage is very isolated so is a good candidate for the new system. There is now a generated header for the #define rather than a global define.
> >
> > Reland of http://crrev.com/1478623004#ps60001
> > TBR=zea@chromium.org
> >
> > Committed: https://crrev.com/db7f9756dc6e236589b90c76d6fa0f1244601e78
> > Cr-Commit-Position: refs/heads/master@{#362365}
>
> TBR=zea@chromium.org,brettw@chromium.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
>
> Committed: https://crrev.com/3c201fa28b53246177fed8d6b9454da4b0625df2
> Cr-Commit-Position: refs/heads/master@{#362368}

TBR=zea@chromium.org,brettw@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=563927

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

Cr-Original-Commit-Position: refs/heads/master@{#362369}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4bcbb121d634b0d087af5e35dcefface2b33aec2
2015-12-01 09:48:51 +00:00
vabr 59a9277834 Revert of Convert enable_pre_sync_backup flag to new flags system. (patchset #2 id:20001 of https://codereview.chromium.org/1487873003/ )
Reason for revert:
Speculative revert, CrOS compile broken, more info on the bug.
BUG=563927

Original issue's description:
> Convert enable_pre_sync_backup flag to new flags system.
>
> This flag's usage is very isolated so is a good candidate for the new system. There is now a generated header for the #define rather than a global define.
>
> Reland of http://crrev.com/1478623004#ps60001
> TBR=zea@chromium.org
>
> Committed: https://crrev.com/db7f9756dc6e236589b90c76d6fa0f1244601e78
> Cr-Commit-Position: refs/heads/master@{#362365}

TBR=zea@chromium.org,brettw@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#362368}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3c201fa28b53246177fed8d6b9454da4b0625df2
2015-12-01 09:36:17 +00:00
brettw bfa9f0058f Convert enable_pre_sync_backup flag to new flags system.
This flag's usage is very isolated so is a good candidate for the new system. There is now a generated header for the #define rather than a global define.

Reland of http://crrev.com/1478623004#ps60001
TBR=zea@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#362365}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: db7f9756dc6e236589b90c76d6fa0f1244601e78
2015-12-01 06:55:39 +00:00
pkotwicz 170f4c8e30 Run findbugs on instrumentation APKs targets which include Java source files
BUG=462737

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

Cr-Original-Commit-Position: refs/heads/master@{#362335}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2999bc5a23ec1931d2fc5511af4e30c485d717a9
2015-12-01 03:46:46 +00:00
brettw 29b65ab1e9 Revert of Convert enable_pre_sync_backup flag to new flags system. (patchset #4 id:60001 of https://codereview.chromium.org/1478623004/ )
Reason for revert:
Busted iOS http://build.chromium.org/p/chromium.mac/builders/iOS_Device/builds/30182/steps/compile/logs/stdio

Original issue's description:
> Convert enable_pre_sync_backup flag to new flags system.
>
> This flag's usage is very isolated so is a good candidate for the new system. There is now a generated header for the #define rather than a global define.
>
> Committed: https://crrev.com/bc4bccdacc16ccdf314870049033e03c463e478e
> Cr-Commit-Position: refs/heads/master@{#362284}

TBR=zea@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#362297}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b23c180344c5df1f3fbdc8c8387d30e9c9ef8a2f
2015-12-01 00:49:17 +00:00
brettw fdde438d62 Convert enable_pre_sync_backup flag to new flags system.
This flag's usage is very isolated so is a good candidate for the new system. There is now a generated header for the #define rather than a global define.

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

Cr-Original-Commit-Position: refs/heads/master@{#362284}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bc4bccdacc16ccdf314870049033e03c463e478e
2015-12-01 00:11:13 +00:00
phosek ce41dc04a5 Build NaCl browser tests with GN
Support for building NaCl browser tests under GN.

BUG=462791

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

Cr-Original-Commit-Position: refs/heads/master@{#362075}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aceb9d08d689f31ef987bdc56c5630640807e09a
2015-11-30 01:01:16 +00:00
Gordana.Cmiljanovic 01edeca201 gn: add support for clang for MIPS
This changes enables chrome for MIPS (Linux and Android)
to be compiled with clang when using gn build.

However, there are still few issues for build to complete successfully:

- "treat_warnings_as_errors=false" must be set for both Android and Linux.
- in case of Linux ldflags retreived by 'exec_script("sysroot_ld_path.py",..'
  are ignored by linker, which is causing link failure for 'chrome' target.

BUG=gn gen for MIPS
TEST=gn gen out-gn/mips --args="is_debug=false target_os=\"android\" target_cpu=\"mipsel\" is_clang=true treat_warnings_as_errors=false"
     ninja -C out-gn/mips chrome_public_apk

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

Cr-Original-Commit-Position: refs/heads/master@{#362002}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: af7fa747c3c2e433028103b45173c0275333abc7
2015-11-27 15:06:22 +00:00
brucedawson 7ddbf55277 Revert of Only build against prebuilt sysroot when using clang (patchset #3 id:40001 of https://codereview.chromium.org/1476923005/ )
Reason for revert:
Speculative revert to fix:

FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -d google_chrome -c beta
dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory.
4c4
< libc6 (>= 2.11)
---
> libc6 (>= 2.15)

https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Linux/builds/43856/steps/compile/logs/stdio

Original issue's description:
> Only build against prebuilt sysroot when using clang
>
> Its is not currently possible to use gcc with the sysroot
> since the sysroot only contains C++ headers for gcc 4.6
> and gcc 4.8 is required to build chromium.  Luckily clang
> is more flexible and able to detect and work with the 4.6
> headers in the sysroot.
>
> BUG=504446
>
> Committed: https://crrev.com/ccc8c1e14c155255a8ef844704d97fa8e7d0dac2
> Cr-Commit-Position: refs/heads/master@{#361905}

TBR=dpranke@chromium.org,sbc@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=504446

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

Cr-Original-Commit-Position: refs/heads/master@{#361916}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 10c8cbc6c725a8aee45a539e0e5acefbd027e011
2015-11-26 19:28:29 +00:00
sbc 76ce1e741b Only build against prebuilt sysroot when using clang
Its is not currently possible to use gcc with the sysroot
since the sysroot only contains C++ headers for gcc 4.6
and gcc 4.8 is required to build chromium.  Luckily clang
is more flexible and able to detect and work with the 4.6
headers in the sysroot.

BUG=504446

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

Cr-Original-Commit-Position: refs/heads/master@{#361905}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ccc8c1e14c155255a8ef844704d97fa8e7d0dac2
2015-11-26 16:42:28 +00:00
brettw c7db178d4a New build flag system, convert Google Now flag
This generates headers with build flags rather than forcing them all to be global. It includes an accessor wrapper so that references to the flags will fail if the proper header is not included.

Converts Google Now to use this and remove the global google now define and grit define.

Adds support for grit define values of "true" and "false" for ease of integration with GN (they are mapped to the corresponding Python "True" and "False").

Adds dependencies from the main gyp targets to the new generated feature define target. Since GYP only does hard dependencies one level, this should reduce the chance that somebody adds more of these cases and forces to add a dependency.

Reland of https://codereview.chromium.org/1475513006/
Reland of https://codereview.chromium.org/1458653002/
TBR=mark@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#361854}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 06c2ba3165d8b02364bf818d5028a7cb4fe48ac0
2015-11-26 09:22:27 +00:00
agrieve 59c22b75f9 GN Incremental Install: Don't use proguarded dex when is_debug = false
Release mode is often used to test native code performance, and so
incremental install is useful with is_debug = false. When proguard is
enabled however, incremental are currently broken.

This change forces _incremental targets to use non-proguarded .dex files
even when is_debug = false.

It also fixes the install step when only a single dex file exists.

BUG=559306

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

Cr-Original-Commit-Position: refs/heads/master@{#361762}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f62854810a390c41afcdde391b3aa0f56a9b367a
2015-11-26 00:34:43 +00:00
brettw 9811970736 Revert of New build flag system, convert Google Now flag (patchset #2 id:20001 of https://codereview.chromium.org/1475513006/ )
Reason for revert:
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win%20x64%20Builder%20%28dbg%29/builds/69779/steps/compile/logs/stdio

Original issue's description:
> New build flag system, convert Google Now flag
>
> This generates headers with build flags rather than forcing them all to be global. It includes an accessor wrapper so that references to the flags will fail if the proper header is not included.
>
> Converts Google Now to use this and remove the global google now define and grit define.
>
> Adds support for grit define values of "true" and "false" for ease of integration with GN (they are mapped to the corresponding Python "True" and "False").
>
> Adds dependencies from the main gyp targets to the new generated feature define target. Since GYP only does hard dependencies one level, this should reduce the chance that somebody adds more of these cases and forces to add a dependency.
>
> Reland of https://codereview.chromium.org/1458653002/
> TBR=mark@chromium.org
>
> Committed: https://crrev.com/cbc1cd295bc85219ad89326457cd7f5cf003d41c
> Cr-Commit-Position: refs/heads/master@{#361741}

TBR=mark@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#361749}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c7cde6acb654b2c9cef527c0e8ac262d480c9f06
2015-11-25 22:25:43 +00:00
brettw b2912bca8d New build flag system, convert Google Now flag
This generates headers with build flags rather than forcing them all to be global. It includes an accessor wrapper so that references to the flags will fail if the proper header is not included.

Converts Google Now to use this and remove the global google now define and grit define.

Adds support for grit define values of "true" and "false" for ease of integration with GN (they are mapped to the corresponding Python "True" and "False").

Adds dependencies from the main gyp targets to the new generated feature define target. Since GYP only does hard dependencies one level, this should reduce the chance that somebody adds more of these cases and forces to add a dependency.

Reland of https://codereview.chromium.org/1458653002/
TBR=mark@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#361741}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cbc1cd295bc85219ad89326457cd7f5cf003d41c
2015-11-25 21:53:26 +00:00
pkotwicz b6fd30e683 Make remoting_unittests work on GN & Android
BUG=544298

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

Cr-Original-Commit-Position: refs/heads/master@{#361726}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 86ba5e7f5e0c06350e0c5680625a2857540064cd
2015-11-25 20:15:32 +00:00
Hans Wennborg 4e948ef7df Roll Clang 247874:254049
Also revert https://codereview.chromium.org/1375193005 for bootstrap builds,
else compiler-rt won't build in that config.  See comment 45 on the bug.

This also pins MSan to the old ABI:

MSan had a ABI change upstream. Picking it up in Chromium requires
rebuilding prebuilt_instrumented_libraries with the new clang.
Unfortunately, this fails.

This changes switches clang back to the old MSan ABI until we can
sort this out.

Upstream issue:
https://github.com/google/sanitizers/issues/579

BUG=538614, 559530, 560589
R=thakis@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#361689}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4fea0f71e935f43777c5f0c0b488910f9e7490ad
2015-11-25 17:35:21 +00:00
moshayedi 8852cf3a4b Aura on Android: Common GN build overrides.
Creates a common config file which Aura on Android developers can import at "gn args".

BUG=507792

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

Cr-Original-Commit-Position: refs/heads/master@{#361663}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ad26484e8d5ad64a170ca97ea2330044e4168ef8
2015-11-25 15:37:31 +00:00
pkotwicz 9e9497ebeb Port ChromeSyncShell build rules to GN
BUG=475612
R=agrieve, newt, pvalenzuela, zea
TBR=brettw for .gn whitelisting usage fo gypi_to_gn in protocol_sources.gni

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

Cr-Original-Commit-Position: refs/heads/master@{#361561}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9ae3420e37bfb6c2878b0d036db01af0d16af067
2015-11-25 03:53:06 +00:00
raymes 83fd5bb444 Revert of New build flag system, convert Google Now flag (patchset #14 id:260001 of https://codereview.chromium.org/1458653002/ )
Reason for revert:
This seems to have broken webkit builders: https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win%20Builder/builds/94668

Original issue's description:
> New build flag system, convert Google Now flag
>
> This generates headers with build flags rather than forcing them all to be global. It includes an accessor wrapper so that references to the flags will fail if the proper header is not included.
>
> Converts Google Now to use this and remove the global google now define and grit define.
>
> Adds support for grit define values of "true" and "false" for ease of integration with GN (they are mapped to the corresponding Python "True" and "False").
>
> Adds dependencies from the main gyp targets to the new generated feature define target. Since GYP only does hard dependencies one level, this should reduce the chance that somebody adds more of these cases and forces to add a dependency.
>
> Committed: https://crrev.com/3118dde528359280fa0cb3c6fc5b6323e834c514
> Cr-Commit-Position: refs/heads/master@{#361527}

TBR=mark@chromium.org,spang@chromium.org,brettw@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#361541}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4496a9a4563bf34e624261f7dcc5f1180282ff86
2015-11-25 03:19:12 +00:00
brettw bbf6afbd7b New build flag system, convert Google Now flag
This generates headers with build flags rather than forcing them all to be global. It includes an accessor wrapper so that references to the flags will fail if the proper header is not included.

Converts Google Now to use this and remove the global google now define and grit define.

Adds support for grit define values of "true" and "false" for ease of integration with GN (they are mapped to the corresponding Python "True" and "False").

Adds dependencies from the main gyp targets to the new generated feature define target. Since GYP only does hard dependencies one level, this should reduce the chance that somebody adds more of these cases and forces to add a dependency.

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

Cr-Original-Commit-Position: refs/heads/master@{#361527}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3118dde528359280fa0cb3c6fc5b6323e834c514
2015-11-25 02:45:24 +00:00
lhchavez 6211845fdd arc-bridge: Enable ARC with a command-line flag
We have permission to remove the build time flag in favor of a runtime
flag for enabling ARC Bridge Service, conditional on committing to a
more stable and appropriate IPC mechanism for the bridge.

BUG=559654
TEST=components_unittests

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

Cr-Original-Commit-Position: refs/heads/master@{#361484}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 89b91de77ee7fa5ac5103ff1b9355c8230abcca5
2015-11-24 23:18:40 +00:00
sbc a2120825d2 Reland of Use sysroot by default for all linux builds (patchset #1 id:1 of https://codereview.chromium.org/1473363002/ )
Reason for revert:
Couldn't reproduce the failure.

Original issue's description:
> Revert of Use sysroot by default for all linux builds (patchset #7 id:120001 of https://codereview.chromium.org/1464983003/ )
>
> Reason for revert:
> Seems to have caused issues with goma: https://code.google.com/p/chromium/issues/detail?id=560973
>
> Original issue's description:
> > Use sysroot by default for all linux builds
> >
> > Using a sysroot was already the default for official
> > build and when cross compiling (e.g. arm, mips, x86-32).
> > This change makes it the default in all cases.
> >
> > The old behavior of building against local
> > system libraries can still be achieved by
> > setting use_sysroot=0
> >
> > BUG=504446
> >
> > Committed: https://crrev.com/a931efd5dc8d8783ce73a64fc641627866b6869d
> > Cr-Commit-Position: refs/heads/master@{#361197}
>
> TBR=dpranke@chromium.org,thestig@chromium.org,thakis@chromium.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=504446
>
> Committed: https://crrev.com/05373dc078f0d5d3f2fb1398db9a4008a55d9016
> Cr-Commit-Position: refs/heads/master@{#361405}

TBR=dpranke@chromium.org,thestig@chromium.org,thakis@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=504446

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

Cr-Original-Commit-Position: refs/heads/master@{#361411}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 964155752e49f75260e86ba824fcec81b3fd4c3d
2015-11-24 19:30:44 +00:00
sbc b56953cd85 Revert of Use sysroot by default for all linux builds (patchset #7 id:120001 of https://codereview.chromium.org/1464983003/ )
Reason for revert:
Seems to have caused issues with goma: https://code.google.com/p/chromium/issues/detail?id=560973

Original issue's description:
> Use sysroot by default for all linux builds
>
> Using a sysroot was already the default for official
> build and when cross compiling (e.g. arm, mips, x86-32).
> This change makes it the default in all cases.
>
> The old behavior of building against local
> system libraries can still be achieved by
> setting use_sysroot=0
>
> BUG=504446
>
> Committed: https://crrev.com/a931efd5dc8d8783ce73a64fc641627866b6869d
> Cr-Commit-Position: refs/heads/master@{#361197}

TBR=dpranke@chromium.org,thestig@chromium.org,thakis@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=504446

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

Cr-Original-Commit-Position: refs/heads/master@{#361405}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 05373dc078f0d5d3f2fb1398db9a4008a55d9016
2015-11-24 18:57:23 +00:00
agrieve a864061aa9 GN: asset_location -> android_assets() for html_viewer
Necessitated adding a "write_asset_list" arg for creating the
assets_list file.

BUG=547162

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

Cr-Original-Commit-Position: refs/heads/master@{#361366}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e3f13c3bbf9ccc16c64870e0a79c3b85daf5d1be
2015-11-24 16:45:49 +00:00
agrieve b6f82aec62 GN(android): Fix compile when is_asan=true
BUG=559284

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

Cr-Original-Commit-Position: refs/heads/master@{#361361}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cea07ed21c3ad2db7b37a3f26ce34d7dd12efe94
2015-11-24 16:38:58 +00:00
droger 1402c43445 [iOS] Disable configuration_policy for iOS builds.
Policy is no longer used on iOS, this is dead code cleanup.

BUG=550401

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

Cr-Original-Commit-Position: refs/heads/master@{#361313}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3e5bdb1f6e6644eb6da1864e66ecc2eab790e479
2015-11-24 11:06:19 +00:00
sbc b5a398ffa0 Use sysroot by default for all linux builds
Using a sysroot was already the default for official
build and when cross compiling (e.g. arm, mips, x86-32).
This change makes it the default in all cases.

The old behavior of building against local
system libraries can still be achieved by
setting use_sysroot=0

BUG=504446

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

Cr-Original-Commit-Position: refs/heads/master@{#361197}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a931efd5dc8d8783ce73a64fc641627866b6869d
2015-11-23 21:56:06 +00:00
brucedawson f1b479b99f Tweaks to vs_toolchain to simplify it, and support gn VS 2015
This change updates and simplifies vs_toolchain.py so that it supports
VS 2015 in gn builds. The gn and gyp code now shares DLL copying code so
that they should more naturally stay in sync in the future. The
out_release_nacl64 directory now gets a PGO DLL that it didn't used to.

The six warnings globally disabled are globally disabled in gyp builds
as well. The equivalent warnings (narrowing conversions and variable
shadowing) are disabled in gcc/clang so there is no bug for enabling
them at this time.

BUG=440500

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

Cr-Original-Commit-Position: refs/heads/master@{#360988}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aaff8dcb6ee993a18ab6e7236711839e72e81cc3
2015-11-21 02:22:49 +00:00
scottmg 2aa329b75f win gn: Use /safeseh, not /SAFESEH
[14421->5901/20355 ~33] ASM obj/third_party/crashpad/crashpad/util/util/capture_context.obj
MASM : warning A4018:invalid command-line option : /SAFESEH
MASM : warning A4018:invalid command-line option : /SFESEH
MASM : warning A4018:invalid command-line option : /SESEH
MASM : warning A4018:invalid command-line option : /SSEH
MASM : warning A4018:invalid command-line option : /SEH
MASM : warning A4018:invalid command-line option : /SH

BUG=546288
R=brettw@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#360960}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7ba9b478144998dc08029cddf61e8a48745fef9a
2015-11-21 00:27:31 +00:00
jbudorick 3a40e0fdd4 [Android] Add gn support for multidex.
BUG=272790

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

Cr-Original-Commit-Position: refs/heads/master@{#360943}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e6361975d7f7f4c434dc3380a3824b9d5e323d20
2015-11-20 23:20:33 +00:00
jbudorick 9e5bfd7163 [Android] Make generated test scripts pass apk paths.
Platform mode uses explicit paths to APKs rather than the current system
of the name + the output directory. This is also a prelude to installing
an additional apk for instrumentation tests that will use the embedded
test server.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#360922}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7873c6dcee70af978571d9bdf12cf650ef296d57
2015-11-20 21:48:01 +00:00
agrieve c6c40e8539 Run gn --format over all .gn files
The recent formatter alphebetizing change is causing a lot of noise in
code reviews. Figured it'd be worth a clean-up CL.

Exact command I ran:
find . -name "*.gn*" -exec gn format --in-place "{}" \;

TBR=ddorwin@chromium.org
BUG=554928
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

Cr-Original-Commit-Position: refs/heads/master@{#360891}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d7a71c88990b6788ceaf1ec9ee518099709ff3fd
2015-11-20 19:54:12 +00:00
pkotwicz 67f4b62a8e Port EMMA Java code coverage build rules to GN
BUG=535290

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

Cr-Original-Commit-Position: refs/heads/master@{#360853}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 18763b2e4c2ea259112711af58f9d9487db05c93
2015-11-20 17:39:33 +00:00
agrieve 3787e6c2f2 Fix native_lib_placeholders gn gen errors in the presence of splits
BUG=535390

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

Cr-Original-Commit-Position: refs/heads/master@{#360827}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7646e88523642d558742f387c83c775d72b74e5a
2015-11-20 15:54:48 +00:00
reveman 541b6e58e1 components: Add Exosphere component.
Exosphere is a set of display server classes for Chromium that
can be used for building a display server on top of Ash, the
Chrome Compositor and the GpuMemoryBuffer framework.

The classes and interfaces are inspired by the Wayland protocol
and reference implementation of a display server that uses
the Wayland protocol and server library is provided in the
wayland/ sub-directory.

BUG=549781
TEST=components_unittests --gtest_filter=ServerTest.*:SurfaceTest.*:BufferTest.*:DisplayTest.*:ShellSurfaceTest.*:SharedMemoryTest.*

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

Cr-Original-Commit-Position: refs/heads/master@{#360672}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b195f41daf755c80d31f964538b1159c81d58e70
2015-11-19 22:17:34 +00:00
pasko 5f33c458b5 Mechanically change TODO(azarchs) into TODO(pasko)
.. since azarchs left the team

BUG=none

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

Cr-Original-Commit-Position: refs/heads/master@{#360653}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 354c7c01fde29a5b7200403c2a730da6515f5b88
2015-11-19 20:26:38 +00:00
pkotwicz 80581fe0d7 Add underscore to local variables in "process_java_prebuilt" and "compile_java" templates
This CL makes the "process_java_prebuilt" and "compile_java" templates follow the
convention:
"Local variables in a template should be prefixed with an underscore"

BUG=535290

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

Cr-Original-Commit-Position: refs/heads/master@{#360608}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c79f5d4de76cd15fe59be6c24e8bec7c48a3f11f
2015-11-19 17:04:40 +00:00
agrieve 3295fc9338 GN: Add depfile for java_cpp_enum
BUG=558194

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

Cr-Original-Commit-Position: refs/heads/master@{#360527}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7a07b2248c71a8497fca790f511d461c249bc3e0
2015-11-19 05:31:34 +00:00
michaelbai b8b1501abb GN WebView: make system_webview_apk work
This patch
- made shared_resources works
- not compress lpak
- move some code to gni files, so they could be reused in downstream.

BUG=532905

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

Cr-Original-Commit-Position: refs/heads/master@{#360183}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 372730a1425415ada0fb77e8652357fc9bcb63a0
2015-11-17 22:38:37 +00:00
lhchavez 8bde753cf0 arc-bridge: Add the ARC Bridge Service
This adds the ARC bridge functionality and starts an ARC instance when
the user logs in.

BUG=b:24339743
BUG=554214
TEST=chromeos_unittests
TEST=ARC instance running on login

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

Cr-Original-Commit-Position: refs/heads/master@{#359982}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c951edfb84c3439da64cc2d97d6e7b495323d349
2015-11-17 02:41:46 +00:00
phosek 06a3b67c04 GN: Use NaCl's newlib objdump for PNaCl
PNaCl doesn't provide objdump, so use NaCl newlib version when
generating nmf files for PNaCl since the create_nmf.py script requires
objdump to be set.

BUG=462791

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

Cr-Original-Commit-Position: refs/heads/master@{#359970}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 102f32212c2e08281d38f59a802377934318680e
2015-11-17 01:46:21 +00:00
agrieve cdad0052d5 Port placeholders logic GYP->GN
BUG=535390,384638

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

Cr-Original-Commit-Position: refs/heads/master@{#359944}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2b9cc87893cdf97eca6ed44224783cea84d469d3
2015-11-16 22:46:46 +00:00
dpranke ae13965ea7 Build NaCl in the CrOS GN builds and make sure "all" works
Fixing "all" involved a tweak to remoting to not try to
build remote_assistance_host (which shouldn't be built
on CrOS and isn't in GYP).

R=petermayo@chromium.org, mcgrathr@chromium.org, sergeyu@chromium.org, bbudge@chromium.org, bbudge@chromium.org
BUG=433082

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

Cr-Original-Commit-Position: refs/heads/master@{#359921}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f1e91ca130c57fbabb2f990e640a6d0bc09214c2
2015-11-16 21:25:07 +00:00
mcgrathr f011fc4d0d GN: Make NaCl toolchains run on Windows host
The toolchain executables have the ".exe" suffix on Windows.  Plumb
through the readelf, nm, and strip tools for NaCl toolchains.  These
were accidentally using default host tools, which happen to work on
other host platforms, but don't exist on Windows.

BUG= 512869
R=dpranke@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#359715}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 34fa90d65772e8b432d5c37cd607ed6d6dcc5ca0
2015-11-14 01:17:54 +00:00