Colin Cross
25dabdeb81
findleaves.py: prevent recursion into symlink loops am: 7829ebfebd
am: 7227637308
...
am: 7cb42e1340
Change-Id: Iab278035e9d8c78310ba29ccc30e5d09ec9728f0
2016-11-04 18:24:35 +00:00
Colin Cross
7cb42e1340
findleaves.py: prevent recursion into symlink loops am: 7829ebfebd
...
am: 7227637308
Change-Id: I989fe81ac6121390f00b6f7509f1919379abaeb2
2016-11-04 18:21:04 +00:00
Colin Cross
7227637308
findleaves.py: prevent recursion into symlink loops
...
am: 7829ebfebd
Change-Id: Ib0ff185e2798ca57c6c28157a1182e7b4d1ed820
2016-11-04 18:17:35 +00:00
Colin Cross
7829ebfebd
findleaves.py: prevent recursion into symlink loops
...
Keep a set of all visited inodes, and prevent recursing into a symlink
to an already visited inode.
Test: m -j
Test: compare `build/tools/findleaves.py --prune=.repo --prune=.git --mindepth=2 --dir=. Android.mk` before and after
Change-Id: Ied14c40d3066ef9f8e8a2b1535f56f7bbbbd0ab6
2016-11-03 14:29:40 -07:00
Colin Cross
8b5532fa64
Merge "Export variable for device sanitize arch to Soong" am: d778640b0f
am: 81e759e842
...
am: 168ff79efc
Change-Id: I3b14c8b2c2a057110ec0e88b91a4b9ba6bffe63d
2016-11-03 07:24:26 +00:00
Colin Cross
168ff79efc
Merge "Export variable for device sanitize arch to Soong" am: d778640b0f
...
am: 81e759e842
Change-Id: I31e391e46e407359ea3c1dc4875839d0c38b2b6c
2016-11-03 07:21:27 +00:00
Colin Cross
81e759e842
Merge "Export variable for device sanitize arch to Soong"
...
am: d778640b0f
Change-Id: I2e98bdc476179ad990c2a3294fb6c7f56b21115f
2016-11-03 07:18:27 +00:00
Treehugger Robot
d778640b0f
Merge "Export variable for device sanitize arch to Soong"
2016-11-03 07:12:54 +00:00
Ian Pedowitz
44d7414953
DO NOT MERGE Nougat MR2 is 7.1.2
...
am: 61be03b456
Change-Id: I10e090618d1342d03296f1345fabd1dfb4d94117
2016-11-03 06:52:14 +00:00
Dan Willemsen
452cd8505f
Merge "Update combined build.ninja to depend on Soong's build.ninja" am: 77ecb3347b
am: b4b655a7af
...
am: c10172ef9c
Change-Id: I65e3b54fdbbc4946dfbe498d189fdaae4d9bf563
2016-11-03 02:51:12 +00:00
Dan Willemsen
c10172ef9c
Merge "Update combined build.ninja to depend on Soong's build.ninja" am: 77ecb3347b
...
am: b4b655a7af
Change-Id: I0867e0d6402f95b04a034148562d731869f2a622
2016-11-03 02:48:11 +00:00
Dan Willemsen
b4b655a7af
Merge "Update combined build.ninja to depend on Soong's build.ninja"
...
am: 77ecb3347b
Change-Id: Ia9520db5e535a290d713ce87e3dcba73be7327d7
2016-11-03 02:45:12 +00:00
Dan Willemsen
77ecb3347b
Merge "Update combined build.ninja to depend on Soong's build.ninja"
2016-11-03 02:39:19 +00:00
Dan Willemsen
d4b0504f85
Update combined build.ninja to depend on Soong's build.ninja
...
For Soong's build.ninja regeneration to work
Bug: 32574042
Test: m -j, add globbed file, m -j
Change-Id: Ie267ea33e8de88275e99330b2d0f147d1e58fa7b
2016-11-02 16:24:52 -07:00
Colin Cross
2361842291
Export variable for device sanitize arch to Soong
...
Also renames the variable from SANITIZE_ARCH to SANITIZE_TARGET_ARCH,
and makes it only apply to the device.
Bug: 29498013
Test: No change to build.ninja files with m -j SANITIZE_TARGET=address
Change-Id: Ib5f6ab448f5d96d2426c983308136670f9a55b7b
2016-11-02 15:20:25 -07:00
Ian Pedowitz
61be03b456
DO NOT MERGE Nougat MR2 is 7.1.2
...
Fixes: 32335870
Change-Id: I2b0f7e0f9506704a391930f6f9c2a4cf9c550a7f
2016-11-01 14:42:43 -07:00
Dan Willemsen
2871f632be
Merge "Remove configuration exported from Soong" am: b1e0c2c478
am: c70f550338
...
am: 9e7c127da2
Change-Id: I2edd8ea9b2ae982d755ec9e4dc63b40dbd5bc2bc
2016-11-01 17:32:30 +00:00
Dan Willemsen
9e7c127da2
Merge "Remove configuration exported from Soong" am: b1e0c2c478
...
am: c70f550338
Change-Id: I71fd3c40a51074684dde3442c090b1f5992627f3
2016-11-01 17:28:33 +00:00
Dan Willemsen
c70f550338
Merge "Remove configuration exported from Soong"
...
am: b1e0c2c478
Change-Id: I4674044e2dce477fa9ad747eebe8daa1b7824c38
2016-11-01 17:23:59 +00:00
Dan Willemsen
b1e0c2c478
Merge "Remove configuration exported from Soong"
2016-11-01 17:07:54 +00:00
Dan Willemsen
b561ae1a47
Merge "Pass global tidy configuration to Soong" am: ca5748fbe1
am: cb4f1fa3db
...
am: a73da56314
Change-Id: I23ddb7996ea365fe2b88d335d720b2c58fe88320
2016-11-01 01:27:22 +00:00
Dan Willemsen
a73da56314
Merge "Pass global tidy configuration to Soong" am: ca5748fbe1
...
am: cb4f1fa3db
Change-Id: I8130ffb692bc913549d747047d41929099d29c3e
2016-11-01 01:24:52 +00:00
Dan Willemsen
cb4f1fa3db
Merge "Pass global tidy configuration to Soong"
...
am: ca5748fbe1
Change-Id: I69e7e5bf9960025febafe0bafa746b650718283c
2016-11-01 01:22:21 +00:00
Treehugger Robot
ca5748fbe1
Merge "Pass global tidy configuration to Soong"
2016-11-01 01:19:00 +00:00
Dan Willemsen
f7df136f07
Merge "Improve dotdot workaround when src begins with '/'" am: 7918e5121a
am: 05b0da9441
...
am: 371c403fa8
Change-Id: Ie44799480418a7280545b0e8b235df381f19ae6b
2016-10-31 23:47:44 +00:00
Dan Willemsen
371c403fa8
Merge "Improve dotdot workaround when src begins with '/'" am: 7918e5121a
...
am: 05b0da9441
Change-Id: Iefac888b97477ce1a5479a5a931108dcfe229aa3
2016-10-31 23:45:14 +00:00
Dan Willemsen
05b0da9441
Merge "Improve dotdot workaround when src begins with '/'"
...
am: 7918e5121a
Change-Id: I049e8fa30b713f3aceeb1ca579e2550f22c4a10d
2016-10-31 23:42:43 +00:00
Dan Willemsen
7918e5121a
Merge "Improve dotdot workaround when src begins with '/'"
2016-10-31 23:39:36 +00:00
Dan Willemsen
425130e958
Remove configuration exported from Soong
...
Bug: 32244182
Test: build-aosp_angler.ninja is identical before/after (with same env)
Change-Id: Iec2784d1ec5301afe4e2de491dee806551ae3764
2016-10-31 15:48:00 -07:00
Dan Willemsen
96290686bf
Pass global tidy configuration to Soong
...
Bug: 32244182
Test: WITH_TIDY=true mmma -j build/kati
Test: WITH_TIDY=true WITH_TIDY_CHECKS=-*,performance* mmma -j build/kati
Change-Id: Idca86bd114f353449bf80f73d255d7095a99682a
2016-10-31 15:47:49 -07:00
Colin Cross
4f9a361811
Merge "Revert "Revert "Check prebuilt sources during checkbuild""" am: 515f43bb6e
am: e402dd8bb8
...
am: b90bd1c6f9
Change-Id: I516e7f903eb51947c5d5a87bcc5138e00bacd6eb
2016-10-30 22:27:54 +00:00
Colin Cross
b90bd1c6f9
Merge "Revert "Revert "Check prebuilt sources during checkbuild""" am: 515f43bb6e
...
am: e402dd8bb8
Change-Id: I2f8ff970f777382b3e60c34268525ab139ee39f5
2016-10-30 22:20:53 +00:00
Colin Cross
e402dd8bb8
Merge "Revert "Revert "Check prebuilt sources during checkbuild"""
...
am: 515f43bb6e
Change-Id: Ia749b34011e02df8ceb9d0fe0e4aba34da743cb1
2016-10-30 22:14:23 +00:00
Colin Cross
515f43bb6e
Merge "Revert "Revert "Check prebuilt sources during checkbuild"""
2016-10-30 22:05:17 +00:00
Dan Willemsen
c57894c204
Improve dotdot workaround when src begins with '/'
...
There are some source files in our tree that use some text processing to
find source files, and end up with source file names that look like:
/../../dir/file.c
This isn't fixed by our dotdot workarounds because the filename doesn't
start with '../', so strip the initial '/' from any source files, since
they are all relative to $(LOCAL_PATH) anyways.
Bug: 32514380
Test: Build internal source with this problem
Test: Compare build-aosp_angler.ninja before/after
Change-Id: If869419c3d3ba35d55f6e19d9332515695e47d24
2016-10-28 16:30:48 -07:00
Chih-hung Hsieh
142d6903c5
Merge "Do not use multiprocessing.Pool when --processes=1." am: 948ebf5510
am: 85465a39fb
...
am: d3242b7ae6
Change-Id: I362fd0431d3d6743f1cda844ce0a7d22d5318bdc
2016-10-28 20:54:06 +00:00
Chih-hung Hsieh
d3242b7ae6
Merge "Do not use multiprocessing.Pool when --processes=1." am: 948ebf5510
...
am: 85465a39fb
Change-Id: I4c1cf5da920c48d5df0fabdc3ebc9672fa91a3a4
2016-10-28 20:49:05 +00:00
Chih-hung Hsieh
85465a39fb
Merge "Do not use multiprocessing.Pool when --processes=1."
...
am: 948ebf5510
Change-Id: Ia305f1c26706069d8e048340eac9037782f895b7
2016-10-28 20:44:35 +00:00
Chih-hung Hsieh
948ebf5510
Merge "Do not use multiprocessing.Pool when --processes=1."
2016-10-28 20:34:49 +00:00
Colin Cross
9de54f3812
Merge "Move perfprofd installation to PRODUCT_PACKAGES_DEBUG" am: 47bfd3422f
am: f22e056df6
...
am: 136afebf3e
Change-Id: I14bfbbcd617da98a9d0ffab7e53adf7499a55c04
2016-10-28 20:20:08 +00:00
Colin Cross
136afebf3e
Merge "Move perfprofd installation to PRODUCT_PACKAGES_DEBUG" am: 47bfd3422f
...
am: f22e056df6
Change-Id: Ib7166b8ababdd1c93422e5284a1ba3cc8397480f
2016-10-28 20:15:07 +00:00
Colin Cross
f22e056df6
Merge "Move perfprofd installation to PRODUCT_PACKAGES_DEBUG"
...
am: 47bfd3422f
Change-Id: I427c8ae7893b0a927e410318738450c8358b1219
2016-10-28 20:10:07 +00:00
Treehugger Robot
47bfd3422f
Merge "Move perfprofd installation to PRODUCT_PACKAGES_DEBUG"
2016-10-28 20:04:51 +00:00
Chih-Hung Hsieh
63de300094
Do not use multiprocessing.Pool when --processes=1.
...
Purpose of this change is not to save some execution time,
but to avoid forking another process. In other applications
that use a wrapper to call this python script, it is difficult
to get overwritten file I/O functions work in a subprocess.
So the wrapper will call warn.py with --processes=1.
Test: run "warn.py --processes=1 build.log"
Change-Id: I5998d5c70d81a456c86eb4002f444a4a60135477
2016-10-28 10:53:34 -07:00
Colin Cross
1e28014c78
Move perfprofd installation to PRODUCT_PACKAGES_DEBUG
...
LOCAL_MODULE_TAGS is deprecated, use PRODUCT_PACKAGES_DEBUG instead.
Test: none
Change-Id: I670147f4fe38b02ccafe01b96d8078502404113c
2016-10-27 15:41:57 -07:00
Colin Cross
01e1b8ff4b
Revert "Revert "Check prebuilt sources during checkbuild""
...
This reverts commit 409ea88c47
.
Bug: 32332829
Change-Id: Ifc8a511762cb44b455cc821f5ac712c294c321c6
2016-10-27 22:10:55 +00:00
Alexander Levitskiy
f4d7639cce
Merge "build: tools: Add json collection of installed files with hashes." into cw-f-dev am: 343d72fac8
...
am: 80d4a18979
Change-Id: I3fb638c66da3edfef620da25744e6c15cfc116ad
2016-10-27 21:01:27 +00:00
Sasha Levitskiy
ff73122e39
build: tools: Add json collection of installed files with hashes. am: 3c97fa78cd
...
am: c63565970c
Change-Id: Id503515c53d852573ae3ccbe0a8e7464b7621848
2016-10-27 21:01:14 +00:00
Alexander Levitskiy
80d4a18979
Merge "build: tools: Add json collection of installed files with hashes." into cw-f-dev
...
am: 343d72fac8
Change-Id: I67666e5d436492c53632e0bae9bae51f652619f0
2016-10-27 20:56:45 +00:00
Sasha Levitskiy
c63565970c
build: tools: Add json collection of installed files with hashes.
...
am: 3c97fa78cd
Change-Id: I5eb12808bbb82a4b9aeaa76b32d971ee4d2643ba
2016-10-27 20:56:44 +00:00