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

17 Коммитов

Автор SHA1 Сообщение Дата
dpranke 6ccba4547d Gut gyp_chromium, common.gypi.
This change removes all of the code referencing gyp_chromium that
isn't needed to keep the closure_compilation builder working and/or
also needed for proper functioning of the gclient hooks.

R=brettw@chromium.org, dbeam@chromium.org
BUG=570091, 632206
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2355673003
Cr-Original-Commit-Position: refs/heads/master@{#420182}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0730244c01fd8639fbebd6985d06fb64dac4c9fe
2016-09-21 22:29:06 +00:00
dbeam d177300710 Re-add common.gypi to help fix closure_compilation.
This is a temporary fix until Dirk can change the closure_compilation
uses of gyp_chromium correctly.

Stolen from Dirk Pranke <dpranke@chromium.org> and stripped of 'includes':
https://codereview.chromium.org/2331423005/

TBR=brettw@chromium.org, dpranke@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
BUG=646969

Review-Url: https://codereview.chromium.org/2345503005
Cr-Original-Commit-Position: refs/heads/master@{#418779}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0109afc37c2d185d9825e4a93809e4acab435a23
2016-09-15 04:27:56 +00:00
dpranke f009c6b2c0 Remove reference to common.gypi to un-break closure builders.
NOTRY=true
TBR=brettw@chromium.org, dbeam@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2332123002
Cr-Original-Commit-Position: refs/heads/master@{#418052}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d4d31ca6f1257e2f79adf3606037a68d4bd5ca74
2016-09-12 21:40:25 +00:00
dpranke ff8963bdcd Revert of Remove the top-level GYP files (or stub them out). (patchset #2 id:20001 of https://codereview.chromium.org/2299543008/ )
Reason for revert:
broke the closure_compilation builders.

Original issue's description:
> Remove the top-level GYP files (or stub them out).
>
> GYP is now thoroughly broken, and it's safe to remove the top-level
> files, except where gyp_chromium is still needed for the hooks run
> by gclient (to pick up and process GYP_DEFINES).
>
> R=brettw@chromium.org
> BUG=
>
> Committed: https://crrev.com/6ca365af92a486150c8f01b1aca2557a6fa504f1
> Cr-Commit-Position: refs/heads/master@{#416782}

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

Review-Url: https://codereview.chromium.org/2313393002
Cr-Original-Commit-Position: refs/heads/master@{#416962}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7e86569476a1fee9666d0c4a56099525c9977c87
2016-09-07 16:43:47 +00:00
dpranke 18ca57be84 Remove the top-level GYP files (or stub them out).
GYP is now thoroughly broken, and it's safe to remove the top-level
files, except where gyp_chromium is still needed for the hooks run
by gclient (to pick up and process GYP_DEFINES).

R=brettw@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2299543008
Cr-Original-Commit-Position: refs/heads/master@{#416782}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6ca365af92a486150c8f01b1aca2557a6fa504f1
2016-09-07 00:00:19 +00:00
dpranke f7462f79be Turn off GYP by default in `gclient runhooks`.
This CL turns off the GYP hook by default in `gclient runhooks`.

While there are still some builders that use GYP, they do so explicitly
in a separate step (usually by calling MB), and there is no common dev
configuration where we want people to still use GYP by default, so there's
no point in still running this.

If you still wish to run GYP in runhooks, though, you can explicitly
set GYP_CHROMIUM_NO_ACTION=0 in your environment. You can also still
invoke `build/gyp_chromium` directly.

R=brettw@chromium.org
BUG=432967, 569975

Review-Url: https://codereview.chromium.org/2139013002
Cr-Original-Commit-Position: refs/heads/master@{#406312}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8efd4818c9bc8e02d76401721342e618fd33d4c2
2016-07-19 18:05:17 +00:00
thakis 46af3beccf ios: Default GYP_GENERATORS to ninja, and error out if GYP_GENERATORS is xcode
m51 has shipped to stable, so nothing / nobody should still use
Xcode for building chrome/ios.

BUG=336575

Review-Url: https://codereview.chromium.org/2050793002
Cr-Original-Commit-Position: refs/heads/master@{#398644}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f588eeddb4497a13ada38acb13115df1bdcb7c86
2016-06-08 19:49:43 +00:00
justincohen 18ca271336 Set toolchain directory in gyp_chromium.
Since the bots run gyp_chromium seperately from runhooks, the hermetic mac
toolchain environment variables need to be set in this script as well.

BUG=474373

Review-Url: https://codereview.chromium.org/1970623002
Cr-Original-Commit-Position: refs/heads/master@{#392822}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 588af0bb9a83d6441c00858ca5ae74a919706e74
2016-05-11 02:12:26 +00:00
jbudorick b3c02bddf1 [Android] Make build/gyp_chromium runnable on Android.
I messed up the parentheses in https://codereview.chromium.org/1952033002/,
which made running build/gyp_chromium on Android impossible.

BUG=

Review-Url: https://codereview.chromium.org/1947423003
Cr-Original-Commit-Position: refs/heads/master@{#391938}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5ed8143f279d6d36b616d5bc739559c0fa8ea4f4
2016-05-05 23:03:48 +00:00
jbudorick f80756f5df [Android] Disable build/gyp_chromium hook.
BUG=

Review-Url: https://codereview.chromium.org/1952033002
Cr-Original-Commit-Position: refs/heads/master@{#391725}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4ec4a8bd6420a2e372b8f4680007b065fca5f3ec
2016-05-05 01:51:17 +00:00
gab d66f2d1afa Stop gyp_chromium prior to mass DLL copies on error
Also fix last-modified-time comparison code to handle minor float
differences and thus correctly not copy identical files (for some
reason there appears to be a ~1e-07 diff between last-modified-time
of copied files...?).

BUG=603603
TEST=No more copy output from gyp_chromium when copied DLLs are already
there or gyp_rc != 0 :-)

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

Cr-Original-Commit-Position: refs/heads/master@{#387911}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 381d9f17b002b97ea4cf38a859d91fafd051c587
2016-04-18 15:31:44 +00:00
dpranke 0665430e38 Start disabling GYP by default in runhooks in some configurations.
The grand GYP disabling is beginning ...

We want to turn of GYP by default in runhooks for configurations that
should only be using GN now.

For now we will only turnxs it off when gyp_chromium is passed the
--running-as-hook flag (which runhooks will now pass), so invoking
build/gyp_chromium will explicitly run. Also, you can set the env var
GYP_CHROMIUM_NO_ACTION=0 and it will explicitly run (setting that var
to =1 will explicitly *not* run and exit early).

This CL takes a conservative first step and turns it off for Linux
hosts that have no GYP_DEFINES set (including command line -D flags
and values pulled in from any supplemental files, chromium.gyp_env,
or ~/.gyp/include.gypi). Subsequent CLs will start broadening this.

R=thakis@chromium.org, brettw@chromium.org, scottmg@chromium.org
BUG=432967

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

Cr-Original-Commit-Position: refs/heads/master@{#387481}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4d1f42d07135d10b5e5dc156c64cd76fde6aec79
2016-04-15 00:06:07 +00:00
justincohen 2fe1c5ac03 Scripts to upload and update the mac toolchain.
The following two scripts allow for the update and roll of the mac
toolchain (Xcode) via DEPS instead of thru an infrastructure install
script.  The upload / download nature of the script follows somewhat
what Windows does with visual studio files and what Mac already does
for clang rolls.

build/package_mac_toolchain.py takes an Xcode.app directory
and packages up what the parts the Mac build uses into a tar file
and uploads it to gs://chrome-mac-sdk/

build/mac_toolchain.py runs as part of hooks, downloads
and decompresses the mac toolchain, and points system files to this
new directory with the DEVELOPER_DIR environment variable.

Setting DEVELOPER_DIR throughout gyp-ninja requires this GYP CL:
   https://codereview.chromium.org/1806733002/

BUG=474373

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

Cr-Original-Commit-Position: refs/heads/master@{#383461}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6a03a3dc9196b4474e7f5c08803f076a95055b44
2016-03-26 21:45:51 +00:00
bcwhite 16a0919c1b Add 'build' directory to import path of gyp_chromium.
Change https://codereview.chromium.org/1418513007/ moved a module
from tools/ to build/ causing gyp_chromium to import a different
module of the same name and breaking because the function names
are different.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#356842}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d9aaae0056107fc54f7d068b8baa8648b6615054
2015-10-29 15:09:02 +00:00
sbc f1ec2b0a91 Move logic of gyp_chromium into gyp_chromium.py
For historical reasons gyp_chromium.py was launcher script
for gyp_chromium and the python logic lived in the
gyp_chromium.  This change moves python code into the
.py file makes the extension-free gyp_chromium a launcher
for gyp_chromium.py.

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

Cr-Original-Commit-Position: refs/heads/master@{#342887}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1eeaa328a6e7d621857c0026d0a2dd448dbf0f65
2015-08-11 21:02:19 +00:00
scottmg@chromium.org 79b081fad4 Make gyp_chromium.py work with Python 2.7.
gyp_chromium.py contained a Python 2.6 Windows bug workaround which turns out to be harmful with Python 2.7 since it will just include itself without doing anything.

BUG=
R=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@202578 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-28 16:02:13 +00:00
scottmg@google.com b0681933a5 add wrapper to make GYP_PARALLEL=1 work for build\gyp_chromium
This is a workaround for multiprocessing on Windows. Importing in Python on
Windows doesn't search for imports that don't end in .py (and aren't
directories with an __init__.py). So, add this wrapper to avoid having
people change their command line to add a .py when running gyp_chromium.

R=dmazzoni@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160151 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-04 17:22:19 +00:00