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

5 Коммитов

Автор SHA1 Сообщение Дата
brettw 703aaea4c4 Add cloud_print to the GN build.
There were some existing cloud_print targets that were hooked up only on Linux, but most of the code was Windows-only. This adds the missing targets and should bring us up to GYP parity.

Fix the cloud print size_t to int warnings and remove the warning disable from GYP.

Move generated resources file from cloud_print/resources.h to cloud_print/service/resources.h to match where the source file is.

Cloud print does some messy things to get the content switches constants, including the file directly in its sources and manually setting LINK_CONTENT_STATICALLY for all targets. In GN, this adds a static_switches target in content that does this in an official way.

Reland of https://codereview.chromium.org/1397433004/ with grid directory fixes
Reland of https://codereview.chromium.org/1393123003/ with warning fixes
TBR=dpranke

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

Cr-Original-Commit-Position: refs/heads/master@{#354154}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 70b359a5032e58cb8309a16068868f63cba00c45
2015-10-14 23:45:43 +00:00
mpearson 236b5d9e90 Revert of Add cloud_print to the GN build. (patchset #1 id:1 of https://codereview.chromium.org/1397433004/ )
Reason for revert:
Causes compile failures:
http://build.chromium.org/p/chromium/builders/Win/builds/36509/steps/compile/logs/stdio

ninja:error: 'gen/cloud_print/service_resources_en.rc', needed by 'obj/cloud_print/service/win/gen/cloud_print/cloud_print_service.service_resources_en.res', missing and no known rule to make it

Original issue's description:
> Add cloud_print to the GN build.
>
> There were some existing cloud_print targets that were hooked up only on Linux, but most of the code was Windows-only. This adds the missing targets and should bring us up to GYP parity.
>
> Fix the cloud print size_t to int warnings and remove the warning disable from GYP.
>
> Move generated resources file from cloud_print/resources.h to cloud_print/service/resources.h to match where the source file is.
>
> Cloud print does some messy things to get the content switches constants, including the file directly in its sources and manually setting LINK_CONTENT_STATICALLY for all targets. In GN, this adds a static_switches target in content that does this in an official way.
>
> Reland of https://codereview.chromium.org/1393123003/ with warning fixes
> TBR=dpranke
>
> Committed: https://crrev.com/70d2f990df7755c6e76aa20f156ff1f92a25f318
> Cr-Commit-Position: refs/heads/master@{#354089}

TBR=dpranke@google.com,brettw@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#354098}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 297953be4033da6b26b9d084350b96c326aacefb
2015-10-14 20:26:57 +00:00
brettw 70518b2b24 Add cloud_print to the GN build.
There were some existing cloud_print targets that were hooked up only on Linux, but most of the code was Windows-only. This adds the missing targets and should bring us up to GYP parity.

Fix the cloud print size_t to int warnings and remove the warning disable from GYP.

Move generated resources file from cloud_print/resources.h to cloud_print/service/resources.h to match where the source file is.

Cloud print does some messy things to get the content switches constants, including the file directly in its sources and manually setting LINK_CONTENT_STATICALLY for all targets. In GN, this adds a static_switches target in content that does this in an official way.

Reland of https://codereview.chromium.org/1393123003/ with warning fixes
TBR=dpranke

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

Cr-Original-Commit-Position: refs/heads/master@{#354089}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 70d2f990df7755c6e76aa20f156ff1f92a25f318
2015-10-14 19:52:52 +00:00
thakis 91cb25d599 Revert of Add cloud_print to the GN build. (patchset #5 id:80001 of https://codereview.chromium.org/1393123003/ )
Reason for revert:
Broke http://build.chromium.org/p/chromium.win/builders/Win%20x64%20Builder%20%28dbg%29/builds/14017

Original issue's description:
> Add cloud_print to the GN build.
>
> There were some existing cloud_print targets that were hooked up only on Linux, but most of the code was Windows-only. This adds the missing targets and should bring us up to GYP parity.
>
> Fix the cloud print size_t to int warnings and remove the warning disable from GYP.
>
> Move generated resources file from cloud_print/resources.h to cloud_print/service/resources.h to match where the source file is.
>
> Cloud print does some messy things to get the content switches constants, including the file directly in its sources and manually setting LINK_CONTENT_STATICALLY for all targets. In GN, this adds a static_switches target in content that does this in an official way.
>
> Committed: https://crrev.com/53eae14bacb401632d4f2045ed8715705dcd8d1d
> Cr-Commit-Position: refs/heads/master@{#353928}

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

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

Cr-Original-Commit-Position: refs/heads/master@{#353938}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 515fe9b0261a76412f696062c0c70440db743118
2015-10-14 01:24:31 +00:00
brettw b992877cf7 Add cloud_print to the GN build.
There were some existing cloud_print targets that were hooked up only on Linux, but most of the code was Windows-only. This adds the missing targets and should bring us up to GYP parity.

Fix the cloud print size_t to int warnings and remove the warning disable from GYP.

Move generated resources file from cloud_print/resources.h to cloud_print/service/resources.h to match where the source file is.

Cloud print does some messy things to get the content switches constants, including the file directly in its sources and manually setting LINK_CONTENT_STATICALLY for all targets. In GN, this adds a static_switches target in content that does this in an official way.

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

Cr-Original-Commit-Position: refs/heads/master@{#353928}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 53eae14bacb401632d4f2045ed8715705dcd8d1d
2015-10-14 00:50:16 +00:00