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

36 Коммитов

Автор SHA1 Сообщение Дата
lpromero 265044700f Handle storyboards in GN.
BUG=none
R=sdefresne@chromium.org,rohitrao@chromium.org

Review-Url: https://codereview.chromium.org/2564023002
Cr-Original-Commit-Position: refs/heads/master@{#437779}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 39fe426a5bec5352ddacab96ac10c6c33f9d5ac1
2016-12-10 23:50:32 +00:00
rsesek 98f2d80a58 [Mac/GN] Don't list any symlinks in the outputs of mac_framework_bundle.
Despite the comment left in 9522ddcc745f, the bots do not agree that this is
stable.

BUG=648757

Review-Url: https://codereview.chromium.org/2492493002
Cr-Original-Commit-Position: refs/heads/master@{#431098}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7accb69c5cc3c08b6c36b2d616cf4a38892ade55
2016-11-10 00:38:04 +00:00
rsesek 91694b2d58 [Mac/GN] Re-do framework packaging to fix framework versioning.
Rather than trying to symlink as an action after producing the bundle, do it
as an early-stage action. As part of this, mac_framework_bundle callers need
to explicitly specify the top-level symlinks (framework_contents) that should
be created. Frameworks are now packaged like so:

1. At `gn gen` time, an exec_script runs to write the framework_version to a
   file. If the previous value written does not match the new value, the entire
   framework output directory is clobbered. This must be done at gen-time to
   ensure nothing tries to clean the framework while also attempting to copy
   to it.
2. Also at `gn gen` time, a TOC file for the framework_contents is written.
   This allows the build to emulate depending on the presence of the top-level
   symlinks, since ninja does not stat symlinks correctly.
   https://github.com/ninja-build/ninja/issues/1186
3. The package_framework.py action now runs before the main create_bundle().
   This action depends on the TOC file from (2) and will create all the
   required symlinks in the bundle. At the time this runs, the symlink target
   may not yet exist.
4. The create_bundle target is now always the leaf edge for
   mac_framework_bundle, and it copies all bundle contents to the fully
   versioned path (rather than through a symlink).

This should resolve the issue of the build not stabilizing between specifying
a framework_version and not.

BUG=648757

Review-Url: https://codereview.chromium.org/2487763002
Cr-Original-Commit-Position: refs/heads/master@{#430778}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9522ddcc745f739414607811da8a2c6a17dbb17a
2016-11-09 00:08:07 +00:00
rsesek e3fe35db48 [Mac/GN] Fix rebuilds when changing framework_version of a mac_framework_bundle.
Write the current framework_version to a file at gen-time, and clobber the
entire framework bundle if it differs from the current value in the file.

This has to be done at gen-time because it is not possible to run a script at
the create_bundle stage before any other dependencies in its tree run. Take
this sample graph:

                       bundle_data --> shared_library
                      /
  mac_framework_bundle
                      \
                       action("clean_framework_version")

It is not possible, from a mac_framework_bundle, to force the
clean_framework_version action to run before the shared_library. When the
action does run, its stamp will have a newer mtime than the shared_library.
Because bundle_data are hard linked into place, the link source file will
have an older mtime than the action, and the build will never stabilize.

BUG=648757
R=dpranke@chromium.org

Originally Committed: https://crrev.com/fed4fc1df8bab7159f19e04ed658c1f417e4e499
Reverted: https://crrev.com/d76ba00e6cc2625000d495e79bdc8d747645405e

Review-Url: https://codereview.chromium.org/2453043002
Cr-Original-Commit-Position: refs/heads/master@{#428366}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a74b313db5f7444667bcf6530f1b2740884f4bfd
2016-10-28 14:44:59 +00:00
hongchan 0bdb8cb0ae Revert of [Mac/GN] Fix rebuilds when changing framework_version of a mac_framework_bundle. (patchset #1 id:1 of https://codereview.chromium.org/2453043002/ )
Reason for revert:
rules.gni file is causing the build failure.

------
/b/c/b/Google_Chrome_Mac/src/buildtools/mac/gn gen //out/Release --check
  -> returned 1
ERROR at //build/config/mac/rules.gni:313:3: Script returned non-zero exit code.
  exec_script("//build/config/mac/prepare_framework_version.py",
  ^----------
Current dir: /b/c/b/Google_Chrome_Mac/src/out/Release/
Command: python -- /b/c/b/Google_Chrome_Mac/src/build/config/mac/prepare_framework_version.py /b/c/b/Google_Chrome_Mac/src/out/Release/obj/ui/base/ui_unittests_framework_version /b/c/b/Google_Chrome_Mac/src/out/Release/ui_unittests Framework.framework ''
Returned 1.

Original issue's description:
> [Mac/GN] Fix rebuilds when changing framework_version of a mac_framework_bundle.
>
> Write the current framework_version to a file at gen-time, and clobber the
> entire framework bundle if it differs from the current value in the file.
>
> This has to be done at gen-time because it is not possible to run a script at
> the create_bundle stage before any other dependencies in its tree run. Take
> this sample graph:
>
>                        bundle_data --> shared_library
>                       /
>   mac_framework_bundle
>                       \
>                        action("clean_framework_version")
>
> It is not possible, from a mac_framework_bundle, to force the
> clean_framework_version action to run before the shared_library. When the
> action does run, its stamp will have a newer mtime than the shared_library.
> Because bundle_data are hard linked into place, the link source file will
> have an older mtime than the action, and the build will never stabilize.
>
> BUG=648757
> R=dpranke@chromium.org
>
> Committed: https://crrev.com/fed4fc1df8bab7159f19e04ed658c1f417e4e499
> Cr-Commit-Position: refs/heads/master@{#428183}

TBR=dpranke@chromium.org,brettw@chromium.org,rsesek@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=648757

Review-Url: https://codereview.chromium.org/2453933006
Cr-Original-Commit-Position: refs/heads/master@{#428212}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d76ba00e6cc2625000d495e79bdc8d747645405e
2016-10-27 23:39:22 +00:00
rsesek 0c69e78a84 [Mac/GN] Fix rebuilds when changing framework_version of a mac_framework_bundle.
Write the current framework_version to a file at gen-time, and clobber the
entire framework bundle if it differs from the current value in the file.

This has to be done at gen-time because it is not possible to run a script at
the create_bundle stage before any other dependencies in its tree run. Take
this sample graph:

                       bundle_data --> shared_library
                      /
  mac_framework_bundle
                      \
                       action("clean_framework_version")

It is not possible, from a mac_framework_bundle, to force the
clean_framework_version action to run before the shared_library. When the
action does run, its stamp will have a newer mtime than the shared_library.
Because bundle_data are hard linked into place, the link source file will
have an older mtime than the action, and the build will never stabilize.

BUG=648757
R=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2453043002
Cr-Original-Commit-Position: refs/heads/master@{#428183}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fed4fc1df8bab7159f19e04ed658c1f417e4e499
2016-10-27 23:00:53 +00:00
erikchen 2a71e4cead Remove direct references to hermetic mac toolchain.
This ensures that the hermetic toolchain is only used if use_system_xcode is
false. This CL also causes two changes:
  * svn is assumed to be installed on the system. It is not pulled from the
  hermetic toolchain.
  * mac_sdk_build was used to populate the SDK version in the Info.plist. This
  was being populated with a different version than the SDK being used to build
  Chrome, which is incorrect.

BUG=651267

Review-Url: https://codereview.chromium.org/2412353003
Cr-Original-Commit-Position: refs/heads/master@{#425170}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6218c34684254f1c090bf501f6c46b0a69b63ec5
2016-10-13 21:38:05 +00:00
rsesek 6612261535 [Mac/GN] Add a package_type option to mac_app_bundle.
The default is to produce a .app bundle. This CL also adds an option to produce
a .xpc bundle, which is a MH_EXECUTE-type bundle structure with a different
extension.

BUG=604809

Review-Url: https://codereview.chromium.org/2369583002
Cr-Original-Commit-Position: refs/heads/master@{#420760}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5ebcfa81e37ff1ebb2ef4baf00096598631c5aa2
2016-09-23 22:52:55 +00:00
sdefresne f0243d7879 Stop sharing code between ios_framework_bundle & mac_framework_bundle.
The ios_framework_bundle and mac_framework_bundle templates were
sharing part of the implementation via the framework_bundle. This
template is unnecessarily complex due to differences between iOS
and macOS build so remove it and inline the implementation in the
two OS specific templates.

BUG=None

Review-Url: https://codereview.chromium.org/2209973002
Cr-Original-Commit-Position: refs/heads/master@{#409966}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9d5d9721db94c90e362f857be02b5f0de22a5219
2016-08-05 02:01:48 +00:00
brettw f66fa5e68f Separate out target defaults in the GN build config.
This separates out the default values of configs for the various target types into well-named global variables that can be referred to in different places.

This allows us to move the set_defaults calls for various templates to the places where those templates are defined rather than putting them all in BUILDCONFIG. An example of this is the test() target defaults, where the actual template is declared in a .gni file but the defaults have to be global.

Review-Url: https://codereview.chromium.org/2150753002
Cr-Original-Commit-Position: refs/heads/master@{#405627}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: edb6ecc9667278999e8b885a4e79849887580d2d
2016-07-14 23:38:48 +00:00
msarda d8db0b2e10 Set the right product type in GN for mac bundle targets.
BUG=NONE

Review-Url: https://codereview.chromium.org/2042723003
Cr-Original-Commit-Position: refs/heads/master@{#399873}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5d9216f03c0e5a41af0bde3cbcf4b8ce794e89b6
2016-06-15 10:21:46 +00:00
rsesek 08d8fd55be [Mac/GN] Write PkgInfo files for .app bundles.
BUG=431177
R=sdefresne@chromium.org

Review-Url: https://codereview.chromium.org/2055933002
Cr-Original-Commit-Position: refs/heads/master@{#399166}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5c425ca31d354abef69b785a6ddba6360a82651c
2016-06-10 13:03:08 +00:00
rsesek c1425f4066 [Mac/GN] Implement dSYM generation and stripping.
This creates a new script called the linker driver, which runs all three
steps of linking: the image link, debug info link, and stripping. In GYP,
the last two steps were handled as postbuilds, but GN lacks those. Instead,
the linker driver performs all three operations in one build step.

BUG=330301,431177
R=mark@chromium.org,dpranke@chromium.org

Review-Url: https://codereview.chromium.org/1999513002
Cr-Original-Commit-Position: refs/heads/master@{#397880}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b89811bd0b77ae38f45359c6d78a5e06b997e499
2016-06-04 01:26:19 +00:00
sdefresne c7edf0fac5 [iOS/GN] Add support for info_plist_target to ios_info_plist.
Chrome on iOS needs to use tweak_info_plist, so port support
for info_plist_target from mac_info_plist to ios_info_plist.

BUG=617134

Review-Url: https://codereview.chromium.org/2033403003
Cr-Original-Commit-Position: refs/heads/master@{#397727}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e0ab61670fb9d7826de41e313004a0e4d0379da6
2016-06-03 16:41:11 +00:00
rsesek 088b7b3be0 [Mac/GN] Move the bundle ID and creator code into the BRANDING file, and use it.
This also updates //components/policy to produce the manifest bundle with the
proper branding.

BUG=431177
R=mark@chromium.org,tnagel@chromium.org

Review-Url: https://codereview.chromium.org/1950493002
Cr-Original-Commit-Position: refs/heads/master@{#391523}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0e40811ddc3347d46421380adfce64c0573141c5
2016-05-04 15:59:52 +00:00
rsesek bb113ee476 [Mac/GN] The info_plist for frameworks goes in Contents/Resources not Contents/.
BUG=297668
R=mark@chromium.org

Review-Url: https://codereview.chromium.org/1949603004
Cr-Original-Commit-Position: refs/heads/master@{#391378}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c4426da4139959ef26a0c0dd4493c54a7708d0ea
2016-05-03 22:25:19 +00:00
rsesek a454f1d368 [Mac/GN] Port tweak_info_plist.py and run it on //content targets.
BUG=431177
R=thakis@chromium.org,sdefresne@chromium.org

Review-Url: https://codereview.chromium.org/1925383003
Cr-Original-Commit-Position: refs/heads/master@{#391283}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 90112aa640570a8b497b15b69d02c047f384ad40
2016-05-03 17:35:26 +00:00
rsesek 2d2c819fe0 [Mac/GN] Add a BUILD.gn file for //chrome/app_shim.
BUG=431177

Review-Url: https://codereview.chromium.org/1927273002
Cr-Original-Commit-Position: refs/heads/master@{#391106}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 793e3f970d038015da28feaba6c53b18126a852a
2016-05-02 23:53:21 +00:00
rsesek 302b7a5a03 [Mac/GN] Build content_shell and content_shell_framework.
BUG=431177

Review-Url: https://codereview.chromium.org/1915863003
Cr-Original-Commit-Position: refs/heads/master@{#390581}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7f9d12b7bff8e9432808303e6e0f1a5349c116d5
2016-04-29 02:47:29 +00:00
rsesek 7dea2a6019 [Mac/GN] Allow the info_plist template caller to specify the plist format.
Mac expects plists to be in xml1 format, whereas iOS uses binary1.

BUG=297668
R=sdefresne@chromium.org

Review-Url: https://codereview.chromium.org/1916713005
Cr-Original-Commit-Position: refs/heads/master@{#390270}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 548bde205f95f0dd96d7c74db09839e3311ddfd9
2016-04-28 01:27:15 +00:00
rsesek da3878320d [iOS/Mac/GN] Split out common iOS and Mac rules into base_rules.gni.
BUG=297668
R=sdefresne@chromium.org

Review-Url: https://codereview.chromium.org/1918263002
Cr-Original-Commit-Position: refs/heads/master@{#390108}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1c04e6e0f61a134eaf25ac08945f5d683a4e0296
2016-04-27 17:01:38 +00:00
patricialor 203e483740 Mac/iOS/GN: Generate Info.plist files for Mac apps and frameworks with gn.
Refactor out common code between Mac and iOS Info.plist generation using gn and
make separate mac_info_plist and ios_info_plist templates for use with existing
mac_framework_bundle, mac_app_bundle, and ios_app_bundle templates.

BUG=297668

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

Cr-Original-Commit-Position: refs/heads/master@{#389682}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7df5f898fc2ccd951ac36fb18a485775586b4dcf
2016-04-26 03:31:14 +00:00
rsesek ef264087bd [iOS/Mac/GN] The framework_bundle template should not force dependencies to link it.
Several targets require a build-time dependency on a framework bundle, but not a
link-time one. This can be if the target is only using the framework for its
resources or if it dlopen()s it at run-time.

framework_bundle now adds another target (target_name+link) that can be used if
something wants a link-time dependency on the framework bundle. By default, only
a build-time dependency is created.

BUG=297668
R=sdefresne@chromium.org,brettw@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#389528}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 152572b1ae44de42b011c667c1d8bf317810851e
2016-04-25 18:54:21 +00:00
rsesek 2da8ea927e [Mac/GN] Get //ppapi tests and examples working.
BUG=431177

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

Cr-Original-Commit-Position: refs/heads/master@{#388372}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4a73557574b16b4564842a3920202a93ebacfeb0
2016-04-20 00:19:27 +00:00
rsesek 3a0dcbad29 [Mac/iOS/GN] Re-purpose the ios_compile_xib.py file to also handle Mac XIBs.
This leaves the existing bundle_data_xib rule for iOS but re-implements it
using a new compile_xibs template. This also adds mac_xib_bundle_data to
call the compile_xibs template and add a bundle_data.

BUG=297668
R=sdefresne@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#388186}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ef017e6f2fe72ce3cb2c2aa0150b898a044fd39c
2016-04-19 12:03:16 +00:00
rsesek 2019b525fc [Mac/GN] Add new template for creating .plugin loadable modules.
Plugins are just loadable_module targets with a bundle directory
structure. This also builds two plugins in //ppapi that are required
to build //content/shell.

BUG=297668

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

Cr-Original-Commit-Position: refs/heads/master@{#387970}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 53dc3107bd03d046cc9d72dae1a41233660c1712
2016-04-18 18:53:12 +00:00
rsesek fec0ddeaa5 [iOS/Mac/GN] Hoist the public_configs for a framework bundle into the base template.
Both Mac and iOS framework bundles need to be able to be linked to
dependent targets.

BUG=297668
R=sdefresne@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#387917}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8e3fce1153954f539cd246e8d6c3867c204e5c61
2016-04-18 15:56:49 +00:00
rsesek 5702f17123 [Mac/GN] Initial mac_app_bundle template.
This also creates a dummy content_shell_helper_app target that will need further
refinement after the content_shell_framework is built.

R=sdefresne@chromium.org
BUG=297668

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

Cr-Original-Commit-Position: refs/heads/master@{#387693}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 20a58a6f5876bebf356d212221835f3aac284c79
2016-04-15 21:00:26 +00:00
rsesek 5a8b2c233b [Mac/iOS/GN] Allow targets to override the output directory.
This uses the new output_dir override of GN (see
https://codereview.chromium.org/1887533003) in the tool definitions to allow
targets to override this location.

Updates the framework_bundle() template to specify an output_dir as well.

R=brettw@chromium.org
BUG=297668

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

Cr-Original-Commit-Position: refs/heads/master@{#387464}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3c470b6d0ef8276f0aea16385ae68bfa6bca969c
2016-04-14 22:42:46 +00:00
sdefresne 4412433f7d [iOS/GN] Convert //ios/third_party/earl_grey to build with GN.
Fix the ios_framework_bundle template to create a new public config
so that anyone depending on the target will correctly link against
it. Change framework_bundle to use public_deps in order to make the
public config accessible.

Create //ios/third_party/earl_grey target.

BUG=599321

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

Cr-Original-Commit-Position: refs/heads/master@{#387265}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 22de3c95e286c337ebdf32e424f911d00f209350
2016-04-14 08:52:33 +00:00
rsesek 5e05c1d213 [Mac/GN] Use the right output name for Mac frameworks.
This uses the new output_prefix_override flag to not prefix framework
shared libraries with "lib" and overrides the output_extension to be
empty.

BUG=297668

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

Cr-Original-Commit-Position: refs/heads/master@{#386692}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c7905381e103462334ea24c20f1de670d89bd1ec
2016-04-12 15:29:32 +00:00
sdefresne 7f882d6196 [iOS/OSX] Refactor mac_framework so that it can be shared with iOS.
Extract commonalities to framework_bundle and rename mac_framework to
mac_framework_bundle for consistency & introduce ios_framework_bundle.

Rename app template from build/config/ios/rules.gni to ios_app_bundle
for consistency.

BUG=None

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

Cr-Original-Commit-Position: refs/heads/master@{#386673}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1a969442c07ee8642074b4f204cdfb4c9e630995
2016-04-12 13:54:58 +00:00
sdefresne 7becd5c6e5 [iOS/OSX] Remove unused GN templates and helper scripts.
BUG=297668

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

Cr-Original-Commit-Position: refs/heads/master@{#386191}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e55c3133a80f3f4b3540af8a17f0173ea93f9328
2016-04-08 20:56:47 +00:00
rsesek bc05023426 [Mac/GN] Initial framework bundle support.
Things that are incomplete:
- Processing Info.plist variables.
- Not placing the intermediate shared library output in the root_out_dir.
- Modifying the install_name of the library (or using the correct output name
  initially).
- Not forcing Info.plist into binary format.

BUG=297668

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

Cr-Original-Commit-Position: refs/heads/master@{#385879}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 80fb939caf1967692381310a634279650508718e
2016-04-07 21:39:00 +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
dpranke a18e0f23af patch from chinmaygarde@ to make progress on mac, ios.
I've taken ad591c629a
and merged it onto Chromium ToT, with a few lint and other cleanups,
and one fix to make sure that Mac still compiled (which may have broken
iOS, haven't tested yet).

R=brettw@chromium.org, sdfresne@chromium.org
BUG=459705
CQ_EXTRA_TRYBOTS=tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg

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

Cr-Original-Commit-Position: refs/heads/master@{#342297}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2a29462a04dabad3fc20dc922227c46b36459912
2015-08-07 05:23:38 +00:00