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

48 Коммитов

Автор SHA1 Сообщение Дата
brucedawson c5d1344b07 Add comment warning about modifying landmines
Modifying landmines has greater consequences than is sometimes realized
for developers, especially on Windows. Add a comment to warn editors of
these consequences.

This was inspired by https://chromium-review.googlesource.com/c/544867/

R=dpranke@chromium.org
BUG=736939

Review-Url: https://codereview.chromium.org/2959743004
Cr-Original-Commit-Position: refs/heads/master@{#482639}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 46ac6b742672a82001cd3d8ef0c7525be72a9097
2017-06-27 16:04:46 +00:00
thakis 0299b0e8f5 Simplify landmines code a bit now that all branches of all platforms are on ninja
BUG=none

Committed: https://crrev.com/7491d14275670fad399837445b6c1e76ff498a50
Review-Url: https://codereview.chromium.org/2071463002
Cr-Original-Commit-Position: refs/heads/master@{#408818}
Cr-Original-Original-Commit-Position: refs/heads/master@{#408739}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 08e9878eadb7ce7477f5947190d4b4c29acf2f56
2016-07-30 00:36:52 +00:00
brettw d6e7425174 Revert of Simplify landmines code a bit now that all branches of all platforms are on ninja (patchset #2 id:20001 of https://codereview.chromium.org/2071463002/ )
Reason for revert:
I just synced on Windows and this is giving me:

________ running 'D:\depot_tools\python276_bin\python.exe src/build/landmines.py
' in 'D:\src\src1'
Traceback (most recent call last):
  File "D:\src\src1\src\build\get_landmines.py", line 16, in <module>
    builder = landmine_utils.builder
AttributeError: 'module' object has no attribute 'builder'
Clobbering due to:
--- old_landmines       Tue Aug 12 16:34:51 2014
+++ new_landmines       Fri Jul 29 15:16:56 2016
@@ -1,17 +0,0 @@
-Compile on cc_unittests fails due to symbols removed in r185063.
-Improper dependency for create_nmf.py broke in r240802, fixed in r240860.
-Switch to VS2015 Update 2
-Need to clobber everything due to an IDL change in r154579 (blink)
-Need to clobber everything due to gen file moves in r175513 (Blink)
-Clobber to get rid of obselete test plugin after r248358
-Clobber to rebuild GN files for V8
-Clobber to get rid of stale generated mojom.h files
-Need to clobber everything due to build_nexe change in nacl r13424
-[chromium-dev] PSA: clobber build needed for IDR_INSPECTOR_* compil...
-blink_resources.grd changed: crbug.com/400860
-ninja dependency cycle: crbug.com/408192
-Clobber to fix missing NaCl gyp dependencies (crbug.com/427427).
-Another clobber for missing NaCl gyp deps (crbug.com/427427).
-Clobber to fix GN not picking up increased ID range (crbug.com/444902)
-Remove NaCl toolchains from the output dir (crbug.com/456902)
-Clobber to delete stale generated files (crbug.com/510086)

Original issue's description:
> Simplify landmines code a bit now that all branches of all platforms are on ninja
>
> BUG=none
>
> Committed: https://crrev.com/7491d14275670fad399837445b6c1e76ff498a50
> Cr-Commit-Position: refs/heads/master@{#408739}

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

Review-Url: https://codereview.chromium.org/2198583002
Cr-Original-Commit-Position: refs/heads/master@{#408784}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8a049c09cbc55b069e41eee94e63d31aa609d927
2016-07-29 22:26:40 +00:00
thakis caf94860a9 Simplify landmines code a bit now that all branches of all platforms are on ninja
BUG=none

Review-Url: https://codereview.chromium.org/2071463002
Cr-Original-Commit-Position: refs/heads/master@{#408739}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7491d14275670fad399837445b6c1e76ff498a50
2016-07-29 21:04:32 +00:00
thakis fdbdd0aaa1 Let landmines print something when run as part of `gclient sync`.
(Maybe only needed on Windows.)

Landmines take unusably long when they run on Windows, and if this
prints the diff I can ctrl-c, manually apply that diff to
.landmines, and then runhooks again :-/

BUG=none

Review-Url: https://codereview.chromium.org/1947523002
Cr-Original-Commit-Position: refs/heads/master@{#391291}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d7d6455c81e282c92daff0f396ea55fbc5d22235
2016-05-03 18:02:00 +00:00
kjellander f232a14007 Add --src-dir flag to landmines.py.
This will make it possible to reuse the script in projects
with different directory layouts than Chromium, since the
current version assumes the root is two levels above the
script location.

BUG=webrtc:5077
TESTED=Manually running the script and running runhooks.

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

Cr-Original-Commit-Position: refs/heads/master@{#354083}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 20b291561ce84495d9af94b5cc7f0cb9765d128c
2015-10-14 19:29:55 +00:00
petrcermak d7a9c989ad Factor clobber out of build/landmines.py
This patch factors clobbering functionality from build/landmines.py
into build/clobber.py (new file). This will allow us to reuse existing
code in the cr tool.

BUG=493023

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

Cr-Original-Commit-Position: refs/heads/master@{#335491}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: af7f4c0efa1389e3989041b3f50a9f647fe2d478
2015-06-22 12:42:23 +00:00
johnme 1d761e77e2 Prevent landmines.py from deleting your source directory.
Previously, if CHROMIUM_OUT_DIR was set but blank, it could (and did!)
delete your entire source directory, including .git folder.

BUG=446921

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

Cr-Original-Commit-Position: refs/heads/master@{#311326}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 89d303ac3e23adf4ecff08e459a6bdf6b81ff033
2015-01-13 21:29:41 +00:00
brettw ad6f3f8200 Make landmines handle GN build directories better.
GN has user-managed build output directories, and the build arguments are saved in those directories. This means that when you hit a landmine, the user will be forced to regenerate that build directory, and to respecify their build arguments.

This change makes the landmine script look for GN build directories. If one is found, the build and command-line arguments to GN are preserved, and enough of a bootstrap build is left in that directory to regenerate itself the next time the build is run. This should make landmines transparent to GN users (except of course that everything will be rebuilt).

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

Cr-Original-Commit-Position: refs/heads/master@{#303528}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f5b2cda7e05f7ffa4ac57b6a00d9cd52c1e0ac87
2014-11-10 23:08:31 +00:00
oetuaho 9d35b5ee69 Add support for GYP_GENERATOR_FLAGS out dir setting for landmines
BUG=421894

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

Cr-Original-Commit-Position: refs/heads/master@{#302419}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6bad0d4fad0ee39e993d90eb2ab8050d650efa2b
2014-11-03 09:10:18 +00:00
scherkus d0249ef6cb Have build/landmines.py delete contents of build directory.
Some checkouts have the build directory mounted, which causes the script
to throw an exception when it attempts to remove the directory itself.

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

Cr-Original-Commit-Position: refs/heads/master@{#293199}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bb04e1054366543cb554531c728b33525a5dae8c
2014-09-03 21:33:14 +00:00
scottmg 3483f9d47d Never clobber all of build in landmines
We don't support msvs any more anyway, and clobbering all of build/ is
always a bad idea. (I'm not sure this'll fix anything, but maybe we'll
get a better error.)

R=kbr@chromium.org,iannucci@chromium.org
BUG=408839

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

Cr-Original-Commit-Position: refs/heads/master@{#292554}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e72944be164918acb81933d0742e1369e51f2958
2014-08-29 02:38:49 +00:00
scottmg@chromium.org b93987c78b landmines: use CHROMIUM_OUT_DIR if set
R=skyostil@chromium.org
BUG=404591

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@290354 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-18 20:37:35 +00:00
scottmg@chromium.org f55feb4fa0 Make landmines work on local builds too
Moves (some of) gyp environment setup out of gyp_chromium into separate
module, and shares that between gyp_chromium and landmines.py.

landmines.py is added as the first entry in DEPS hooks so that it can
clobber the entire build directory before running other hooks that
extract/generate into the build dir.

Reland with fix for ios, and for clean pull.

R=iannucci@chromium.org
BUG=400011

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289099

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@289546 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-14 14:03:30 +00:00
iannucci@chromium.org 41f3a62575 Revert of Make landmines work on local builds too (patchset #3 of https://codereview.chromium.org/457003004/)
Reason for revert:
Apparently this requires win_toolchain.json to exist, but I'm not sure how it's supposed to get there (as seen on a clobber build):


Traceback (most recent call last):
  File "src/build/landmines.py", line 132, in <module>
    sys.exit(main())
  File "src/build/landmines.py", line 119, in main
    gyp_environment.SetEnvironment()
  File "C:\b\build\slave\win_trunk\build\src\build\gyp_environment.py", line 33, in SetEnvironment
    vs_toolchain.SetEnvironmentAndGetRuntimeDllDirs()
  File "C:\b\build\slave\win_trunk\build\src\build\vs_toolchain.py", line 33, in SetEnvironmentAndGetRuntimeDllDirs
    with open(json_data_file, 'r') as tempf:
IOError: [Errno 2] No such file or directory: 'C:\\b\\build\\slave\\win_trunk\\build\\src\\build\\win_toolchain.json'

Original issue's description:
> Make landmines work on local builds too
> 
> Moves (some of) gyp environment setup out of gyp_chromium into separate
> module, and shares that between gyp_chromium and landmines.py.
> 
> landmines.py is added as the first entry in DEPS hooks so that it can
> clobber the entire build directory before running other hooks that
> extract/generate into the build dir.
> 
> R=iannucci@chromium.org
> BUG=400011
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289099

TBR=scottmg@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=400011

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@289158 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-13 02:07:35 +00:00
scottmg@chromium.org d95769ca0c Make landmines work on local builds too
Moves (some of) gyp environment setup out of gyp_chromium into separate
module, and shares that between gyp_chromium and landmines.py.

landmines.py is added as the first entry in DEPS hooks so that it can
clobber the entire build directory before running other hooks that
extract/generate into the build dir.

R=iannucci@chromium.org
BUG=400011

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@289099 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-12 22:52:11 +00:00
scottmg@chromium.org 73979d55fd Always write .landmines
Otherwise, if .landmines exists, and isn't clobbered by the clobber in
compile.py, every build will cause a clobber until .landmines is removed.

Trying to fix http://crbug.com/375459 brought this up. In that case
compile.py wasn't removing .landmines, which is necessary in the case
of a landmines change on two subsequent builds. If .landmines isn't
maintained, then there's nothing to diff against on the second build
and so a clobber won't be correctly triggered.

R=iannucci@chromium.org,kbr@chromium.org
BUG=376359

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272341 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-22 22:12:48 +00:00
smut@google.com 2a6a690b4a Fixing a race condition in landmines.py
Landmines.py had some logic where it would first check if a directory existed before creating it, but this was sometimes causing an exception wherein the file was reported as existing during the os.mkdirs call, even though it was not reported as existing during the os.path.exists call.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@265532 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-23 04:19:23 +00:00
newt@chromium.org c1c873a5c1 Make landmines.py ignore eclipse gyp generator.
The eclipse gyp generator is used to generate eclipse project files, not
to actually build anything. Landmines should return early if the gyp
generator is eclipse rather than failing with the error "Unexpected
GYP_GENERATORS (eclipse)"

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263438 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-12 01:13:21 +00:00
scottmg@chromium.org 1781322a2a Don't raise for GYP_GENERATORS=dump_dependency_json, don't warn when using gyp_env
R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251536 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-15 05:23:29 +00:00
thakis@chromium.org 4b34f46e74 Remove references to sconsbuild.
scons hasn't been used in a long time.

BUG=305702
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@228308 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-12 02:38:29 +00:00
tkent@chromium.org 413d3e08f5 Revert 220853 "Revert 220846 "Make landmines.py take an extra sc..."
r220846 was not the root cause of the failure.

> Revert 220846 "Make landmines.py take an extra script via an env..."
> 
> It broke telemetry_unittests.
> http://build.chromium.org/p/chromium.win/builders/Win%207%20Tests%20x64%20%283%29/builds/8782/steps/telemetry_unittests/logs/stdio
> 
> E:\b\depot_tools\python_bin\python_slave.exe src\tools\telemetry\run_tests --browser=release_x64
> No adb found in $PATH, fallback to checked in binary.
> Traceback (most recent call last):
>   File "src\tools\telemetry\run_tests", line 8, in <module>
>     from telemetry.unittest import gtest_testrunner
>   File "E:\b\build\slave\Win_7_Tests_x64__3_\build\src\tools\telemetry\telemetry\__init__.py", line 12, in <module>
>     from telemetry.core.browser_options import BrowserFinderOptions
>   File "E:\b\build\slave\Win_7_Tests_x64__3_\build\src\tools\telemetry\telemetry\core\browser_options.py", line 12, in <module>
>     from telemetry.core import browser_finder
>   File "E:\b\build\slave\Win_7_Tests_x64__3_\build\src\tools\telemetry\telemetry\core\browser_finder.py", line 9, in <module>
>     from telemetry.core.backends.chrome import android_browser_finder
>   File "E:\b\build\slave\Win_7_Tests_x64__3_\build\src\tools\telemetry\telemetry\core\backends\chrome\android_browser_finder.py", line 17, in <module>
>     from telemetry.core.backends.chrome import android_browser_backend
>   File "E:\b\build\slave\Win_7_Tests_x64__3_\build\src\tools\telemetry\telemetry\core\backends\chrome\android_browser_backend.py", line 15, in <module>
>     from telemetry.core.backends.chrome import chrome_browser_backend
>   File "E:\b\build\slave\Win_7_Tests_x64__3_\build\src\tools\telemetry\telemetry\core\backends\chrome\chrome_browser_backend.py", line 19, in <module>
>     from telemetry.core.backends.chrome import extension_dict_backend
>   File "E:\b\build\slave\Win_7_Tests_x64__3_\build\src\tools\telemetry\telemetry\core\backends\chrome\extension_dict_backend.py", line 9, in <module>
>     from telemetry.core.backends.chrome import inspector_backend
>   File "E:\b\build\slave\Win_7_Tests_x64__3_\build\src\tools\telemetry\telemetry\core\backends\chrome\inspector_backend.py", line 19, in <module>
>     from telemetry.core.jsheap import model
> ImportError: No module named jsheap
> 
> > Make landmines.py take an extra script via an env var.
> > 
> > The extra Python script to run can be specified via env var
> > EXTRA_LANDMINES_SCRIPT.
> > 
> > BUG=223636
> > 
> > Review URL: https://chromiumcodereview.appspot.com/23604016
> 
> TBR=sivachandra@chromium.org
> 
> Review URL: https://codereview.chromium.org/23533016

TBR=tkent@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@220870 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-02 21:51:18 +00:00
tkent@chromium.org 1bf26acf74 Revert 220846 "Make landmines.py take an extra script via an env..."
It broke telemetry_unittests.
http://build.chromium.org/p/chromium.win/builders/Win%207%20Tests%20x64%20%283%29/builds/8782/steps/telemetry_unittests/logs/stdio

E:\b\depot_tools\python_bin\python_slave.exe src\tools\telemetry\run_tests --browser=release_x64
No adb found in $PATH, fallback to checked in binary.
Traceback (most recent call last):
  File "src\tools\telemetry\run_tests", line 8, in <module>
    from telemetry.unittest import gtest_testrunner
  File "E:\b\build\slave\Win_7_Tests_x64__3_\build\src\tools\telemetry\telemetry\__init__.py", line 12, in <module>
    from telemetry.core.browser_options import BrowserFinderOptions
  File "E:\b\build\slave\Win_7_Tests_x64__3_\build\src\tools\telemetry\telemetry\core\browser_options.py", line 12, in <module>
    from telemetry.core import browser_finder
  File "E:\b\build\slave\Win_7_Tests_x64__3_\build\src\tools\telemetry\telemetry\core\browser_finder.py", line 9, in <module>
    from telemetry.core.backends.chrome import android_browser_finder
  File "E:\b\build\slave\Win_7_Tests_x64__3_\build\src\tools\telemetry\telemetry\core\backends\chrome\android_browser_finder.py", line 17, in <module>
    from telemetry.core.backends.chrome import android_browser_backend
  File "E:\b\build\slave\Win_7_Tests_x64__3_\build\src\tools\telemetry\telemetry\core\backends\chrome\android_browser_backend.py", line 15, in <module>
    from telemetry.core.backends.chrome import chrome_browser_backend
  File "E:\b\build\slave\Win_7_Tests_x64__3_\build\src\tools\telemetry\telemetry\core\backends\chrome\chrome_browser_backend.py", line 19, in <module>
    from telemetry.core.backends.chrome import extension_dict_backend
  File "E:\b\build\slave\Win_7_Tests_x64__3_\build\src\tools\telemetry\telemetry\core\backends\chrome\extension_dict_backend.py", line 9, in <module>
    from telemetry.core.backends.chrome import inspector_backend
  File "E:\b\build\slave\Win_7_Tests_x64__3_\build\src\tools\telemetry\telemetry\core\backends\chrome\inspector_backend.py", line 19, in <module>
    from telemetry.core.jsheap import model
ImportError: No module named jsheap

> Make landmines.py take an extra script via an env var.
> 
> The extra Python script to run can be specified via env var
> EXTRA_LANDMINES_SCRIPT.
> 
> BUG=223636
> 
> Review URL: https://chromiumcodereview.appspot.com/23604016

TBR=sivachandra@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@220853 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-02 21:04:24 +00:00
sivachandra@chromium.org 0cf39527fa Make landmines.py take an extra script via an env var.
The extra Python script to run can be specified via env var
EXTRA_LANDMINES_SCRIPT.

BUG=223636

Review URL: https://chromiumcodereview.appspot.com/23604016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@220846 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-02 14:59:25 +00:00
sivachandra@chromium.org ad1766b284 Remove print statement in landmines.py to reduce clutter on stdout.
BUG=223636

Review URL: https://chromiumcodereview.appspot.com/22893044

git-svn-id: http://src.chromium.org/svn/trunk/src/build@219160 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-23 00:23:41 +00:00
sivachandra@chromium.org f2b13e44cb Refactor landmines.py so that it can be used downstream.
BUG=223636

Review URL: https://chromiumcodereview.appspot.com/22935010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@218605 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-21 02:44:58 +00:00
cbiesinger@chromium.org 46cdcc40d3 Blink roll 154563:154580
http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=154564:154580&mode=html

R=gavinp@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@212639 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-19 20:34:37 +00:00
robliao@chromium.org a64e8bab1f Fix Landmines MSVS Version Checking
GYP_MSVS_VERSION is not always a number (e.g. it can be 2010e), 
causing the int conversion to fail. 

BUG=249378

Review URL: https://chromiumcodereview.appspot.com/16978002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@206253 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-14 00:45:35 +00:00
iannucci@chromium.org 262af43dd5 Add landmine for win x64 trybots.
TBR=agable@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@205997 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-13 03:41:28 +00:00
thakis@chromium.org 6c15a83626 Teach landmines script that Linux now uses ninja by default.
Mostly for documentation purposes. It'll also uselessly cause a clobber.

BUG=239257
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/14940023

git-svn-id: http://src.chromium.org/svn/trunk/src/build@199622 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-11 19:13:21 +00:00
ddorwin@chromium.org 31f61ecd9e Do not use bundles for the CDM on Mac.
When using components, the CDM and adapter cannot be within the Chrome bundle.
Since the adapter is built with Chrome, the CDM cannot be within its bundle.
As a result, the adapter no longer needs to be a bundle.

The chrome_paths.cc code allows testing with the non-component path.

BUG=180260
R=xhwang@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@198211 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-03 22:12:29 +00:00
justincohen@google.com e8e7289940 Gyp changes for ninja iOS build.
Various tweaks to make ninja happy with our gyp files.
ninja iOS builds don't CODE_SIGN yet.
ninja only supports i386/simulator for now.
pass parent_generator to mac_build.gypi for iOS sub-ninja builds

BUG=236517

Review URL: https://chromiumcodereview.appspot.com/14577007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@198084 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-03 11:06:40 +00:00
sbaig1@bloomberg.net 39576a8fe8 Support ninja flavor
This is in order to support the "msvs-ninja" generator, which is being
added in https://codereview.chromium.org/13867004/.

R=ilevy@chromium.org
BUG=

Review URL: https://chromiumcodereview.appspot.com/14322014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@197456 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-30 20:39:16 +00:00
dtrainor@chromium.org 52faa78b6f Clobbering android bots to fix test issue
BUG=
TBR=cjhopman@chromium.org
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@195044 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-19 01:55:24 +00:00
iannucci@chromium.org b20aa110c2 Set landmines on x64 too.
For some reason I was only setting up landmines in the 32 bit output folders.
This will allow us to clobber on x64 builds too.

R=ilevy@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@191446 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-29 21:17:44 +00:00
mkosiba@chromium.org e6515207d7 [android_webview] Rename AndroidWebView* -> Aw*.
Just renaming some of the AndroidWebView* classes to match the new
naming scheme where we use the Aw prefix.

BUG=None
TESTS=Builds
Java-only change, works fine on android trybot.
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/12880022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@190436 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-25 18:04:01 +00:00
mkosiba@chromium.org cad2a9b345 [android_webview] Build test code against the shell APK.
This change is to fix resource-related issues with the current approach.
We can't include resources in the test_java target to share them between
the shell and test apks, so we need one apk to contain the shell and run
tests against.
To achieve this we apply the same trick as testshell does and build the
test code against the .jar created as a side-effect of building the shell
apk target.
This change completely removes the test_apk target.

BUG=None
TEST=AndroidWebViewTests
TBR=bulach@chromium.org

Review URL: https://chromiumcodereview.appspot.com/12609013

git-svn-id: http://src.chromium.org/svn/trunk/src/build@190404 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-25 15:37:45 +00:00
ilevy@chromium.org 5b822a7e48 Set Android Clobber landmine
Android jars moved in crrev.com/183639
Some trybots are failing findbugs from stale jars, i.e.
http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/45534

BUG=158821
TBR=yfriedman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@188835 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-18 21:43:22 +00:00
iannucci@chromium.org 8a2fb24a9c Set landmine for build configs which switch from make -> ninja.
TBR=ilevy@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@187168 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-09 19:40:31 +00:00
ilevy@chromium.org 17ae5b9543 Set landmine to clobber android trybots.
Fixing findbugs errors from incremental builds.

BUG=180079

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@186053 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-05 01:43:24 +00:00
iannucci@chromium.org f1cb8bac8a Add landmine for failing win trybots.
R=cmp@chromium.org
BUG=179800

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@185941 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-04 19:17:42 +00:00
scottmg@chromium.org f5c228df8f Add help to landmines.py if it errors out with unexpected builder
R=iannucci@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@177534 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-01-17 23:50:02 +00:00
ilevy@chromium.org 5c3f0cede2 Add android landmine (force android clean build)
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/11434066

git-svn-id: http://src.chromium.org/svn/trunk/src/build@170627 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-01 01:59:36 +00:00
iannucci@chromium.org 1af8e97f16 Only show landmines output if the environment says so.
R=maruel@chromium.org
BUG=


Review URL: https://chromiumcodereview.appspot.com/11369238

git-svn-id: http://src.chromium.org/svn/trunk/src/build@167834 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-15 02:53:03 +00:00
iannucci@chromium.org 202419d565 Fix NotImplementedError for vs and ib build-tools
R=nsylvain@chromium.org
BUG=


Review URL: https://chromiumcodereview.appspot.com/11362244

git-svn-id: http://src.chromium.org/svn/trunk/src/build@167818 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-15 01:52:07 +00:00
iannucci@chromium.org 693c711ddb Selective build clobbering feature (landmines.py and android build scripts).
Adds the ability for devs/troopers/etc. to set 'landmines' in the tree so that
the build will selectively clobber when a builder moves over a revision with such
a change.

This cl has an basis landmines.py, and hooks the clobber mechanism to the android
build scripts.

The relevant cl which implements this for
compile.py is here: https://chromiumcodereview.appspot.com/11234013/

I'm planning to also implement an informational invocation for gclient to let devs know
about any potential landmines so they can decide if they need to clobber.

This previously attempted to land as: https://chromiumcodereview.appspot.com/11175016

R=ilevy@chromium.org,maruel@chromium.org
BUG=121897


Review URL: https://chromiumcodereview.appspot.com/11377141

git-svn-id: http://src.chromium.org/svn/trunk/src/build@167595 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-14 04:59:48 +00:00
vandebo@chromium.org db864e9b52 Revert 166085 - Selective build clobbering feature (landmines.py and android build scripts).
It looks like this made win extract_build fail.

Adds the ability for devs/troopers/etc. to set 'landmines' in the tree so that
the build will selectively clobber when a builder moves over a revision with such
a change.

This cl has an basis landmines.py, and hooks the clobber mechanism to the android
build scripts. 

The relevant cl which implements this for
compile.py is here: https://chromiumcodereview.appspot.com/11234013/

I'm planning to also implement an informational invocation for gclient to let devs know
about any potential landmines so they can decide if they need to clobber.

R=cmp,maruel@chromium.org
BUG=121897

Review URL: https://chromiumcodereview.appspot.com/11175016

TBR=iannucci@chromium.org
Review URL: https://codereview.chromium.org/11293111

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166105 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-06 01:53:24 +00:00
iannucci@chromium.org 378a534dbb Selective build clobbering feature (landmines.py and android build scripts).
Adds the ability for devs/troopers/etc. to set 'landmines' in the tree so that
the build will selectively clobber when a builder moves over a revision with such
a change.

This cl has an basis landmines.py, and hooks the clobber mechanism to the android
build scripts. 

The relevant cl which implements this for
compile.py is here: https://chromiumcodereview.appspot.com/11234013/

I'm planning to also implement an informational invocation for gclient to let devs know
about any potential landmines so they can decide if they need to clobber.

R=cmp,maruel@chromium.org
BUG=121897

Review URL: https://chromiumcodereview.appspot.com/11175016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166085 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-06 00:13:27 +00:00