Commit Graph

11922 Commits

Author SHA1 Message Date
Adam Seaton
190129bc61 Updating Security String to 2017-01-05 on nyc-dev
b/32949407
2016-11-16 13:50:48 -08:00
Adam Seaton
202380f93e Updating Security String to 2017-01-01 on nyc-dev 2016-11-16 13:49:55 -08:00
Julien Desprez
ab1256ef17 Merge "Build CTS out of TF source" 2016-11-16 11:26:49 +00:00
Pat Tjin
9cd8b12f7c Merge "build_image: add support for specifying number of inodes" 2016-11-14 16:42:52 +00:00
Dan Willemsen
2c0c8d89ac Merge "Use new -ninja flag to aidl-cpp" am: 7d4c926ed7 am: 676610e090 am: bcb8dfe2b2
am: 31488c301b

Change-Id: I779d280bf82171e2e4579ec2cdb0784eda596d79
2016-11-13 20:22:18 +00:00
Dan Willemsen
31488c301b Merge "Use new -ninja flag to aidl-cpp" am: 7d4c926ed7 am: 676610e090
am: bcb8dfe2b2

Change-Id: I3f89b97c0105486bff26ee61222e55d9b9e45fb1
2016-11-13 20:14:46 +00:00
Dan Willemsen
bcb8dfe2b2 Merge "Use new -ninja flag to aidl-cpp" am: 7d4c926ed7
am: 676610e090

Change-Id: I0fdc9d0cb82d9dd9788ad1fa767a0700667509c5
2016-11-13 20:07:15 +00:00
Dan Willemsen
676610e090 Merge "Use new -ninja flag to aidl-cpp"
am: 7d4c926ed7

Change-Id: I165926e0c23a8a9a7dd8f3e46956b53f53d7fc9f
2016-11-13 20:00:16 +00:00
Dan Willemsen
fb84281342 Use new -ninja flag to aidl-cpp
This make aidl-cpp write out a dep file that ninja parses correctly.

Test: Manually inspect ninja depfile
Change-Id: I4890a91eb29a6388e17b1ffac23a3dc0ffe6c212
2016-11-13 09:44:25 -08:00
Dan Willemsen
20a9e9f18e Merge "Remove transform-d-to-p" am: da85fecaf1 am: 39826d3cc7 am: 1551f77f83
am: db4c584a67

Change-Id: I85bdc0c4a30681078565be159b7d6b83737d6787
2016-11-11 22:02:57 +00:00
Dan Willemsen
db4c584a67 Merge "Remove transform-d-to-p" am: da85fecaf1 am: 39826d3cc7
am: 1551f77f83

Change-Id: I5207c203270068f45d2ed3136af0cebe245ede79
2016-11-11 21:55:55 +00:00
Dan Willemsen
1551f77f83 Merge "Remove transform-d-to-p" am: da85fecaf1
am: 39826d3cc7

Change-Id: I4ee6cba83e0c76404424d840d58f20a89c5c8953
2016-11-11 21:49:55 +00:00
Dan Willemsen
39826d3cc7 Merge "Remove transform-d-to-p"
am: da85fecaf1

Change-Id: Ieb010ebfe46ce9312b833191319d56155cc0b397
2016-11-11 21:42:29 +00:00
Dan Willemsen
da85fecaf1 Merge "Remove transform-d-to-p" 2016-11-11 21:38:53 +00:00
Julien Desprez
63d377c56b Build CTS out of TF source
Export the TF jar build from source to the cts zip.

Test: build cts
Bug: 32819381
Change-Id: I4e1ccbd3a7ea27998a95986c1dd0348e01da60b6
2016-11-11 12:12:06 +00:00
Dan Willemsen
d555c8aacb Merge "Fix vendor/google/build/ninja_config.mk" am: a9daf15d87 am: c87ea75be2 am: a8a8e13f81
am: 16953b869c

Change-Id: I2d75d6be8be9309f8534def7e3502601701d5eae
2016-11-11 06:02:02 +00:00
Dan Willemsen
16953b869c Merge "Fix vendor/google/build/ninja_config.mk" am: a9daf15d87 am: c87ea75be2
am: a8a8e13f81

Change-Id: I0593fea782aab91596d98a6da1502bce2d1649c4
2016-11-11 05:55:03 +00:00
Dan Willemsen
461d844a40 Remove transform-d-to-p
Ninja doesn't need the phony make targets, in fact, the parser doesn't
handle them correctly and ends up duplicating the dependencies. This
shrinks a `m native` deps file from 54M -> 35M on AOSP.

Test: Compare out/build-aosp_angler.ninja before/after
Test: wrote a tool to dump the .ninja_deps, added dedup feature, files
      identical after dedup.
Change-Id: Iec7a9a0739e8678c1f4db79c68e423a39b9aad4b
2016-11-10 21:55:01 -08:00
Dan Willemsen
a8a8e13f81 Merge "Fix vendor/google/build/ninja_config.mk" am: a9daf15d87
am: c87ea75be2

Change-Id: Ib813483882362a1165f6bbc287bde1a80cd519eb
2016-11-11 05:48:02 +00:00
Dan Willemsen
c87ea75be2 Merge "Fix vendor/google/build/ninja_config.mk"
am: a9daf15d87

Change-Id: I15afdf34b43317b3566a3c390b09f57fafbadec9
2016-11-11 05:41:02 +00:00
Dan Willemsen
1ff5fa11c4 Fix vendor/google/build/ninja_config.mk
This needs to be included between PARSE_TIME_MAKE_GOALS and KATI_GOALS

Test: m -j <target-from-internal>
Change-Id: I7284f05336b921d40f04ff5811a47bd0d17a066f
2016-11-10 19:41:27 -08:00
Dan Willemsen
0d93aeb2a7 Split (ninja|soong).mk into config and rule portions am: 04f53ed923 am: 0c3eaa8cf4 am: 206a26306d
am: c6bdb139d7

Change-Id: I7bd6fbf5d3682ae2d2a7a51c34ea2395f44eb326
2016-11-10 23:23:43 +00:00
Dan Willemsen
c6bdb139d7 Split (ninja|soong).mk into config and rule portions am: 04f53ed923 am: 0c3eaa8cf4
am: 206a26306d

Change-Id: I863436859163945ef2999814a091ca2c7f339b3c
2016-11-10 23:17:42 +00:00
Dan Willemsen
206a26306d Split (ninja|soong).mk into config and rule portions am: 04f53ed923
am: 0c3eaa8cf4

Change-Id: I947cecac51c77f8800981575324b341e2f4562a8
2016-11-10 23:10:43 +00:00
Dan Willemsen
0c3eaa8cf4 Split (ninja|soong).mk into config and rule portions
am: 04f53ed923

Change-Id: I5766f8a60440669c6cda418a4423d159c9697bcb
2016-11-10 23:04:13 +00:00
Dan Willemsen
d7db0ca758 Move some configuration from main.mk to config.mk am: 01a19a116f am: 0a2b2784a6
am: cc54ba0452

Change-Id: I53ba89f4b81b8833b53671d41a45b8970e87eb74
2016-11-10 21:07:03 +00:00
Dan Willemsen
cc54ba0452 Move some configuration from main.mk to config.mk am: 01a19a116f
am: 0a2b2784a6

Change-Id: Ifae685fa3de7f418dd1d4a2060c6637fac2b670d
2016-11-10 21:00:20 +00:00
Dan Willemsen
0a2b2784a6 Move some configuration from main.mk to config.mk
am: 01a19a116f

Change-Id: I4918aa3465bd650ca74e2500b81bf1fee2fbcdac
2016-11-10 20:54:17 +00:00
Dan Willemsen
01a19a116f Move some configuration from main.mk to config.mk
When dumping make configuration (dump-many-var, dump-var-*), we only
load config.mk, not main.mk. One of the first things that main.mk does
is to include config.mk, so these moves are safe.

Turning off the implicit rules and other make configuration / sanity
checks should happen in all cases, so move them to config.mk

Move dont_bother_rules to config.mk so that it can be used by the ninja
configuration (which is moving in a later change). Move dont_bother into
the kati section, since it's not used elsewhere.

Test: m clean
Test: get_build_var dont_bother_goals
Change-Id: Ib3ec8aa8eebcaf743d2cdcc31f89827c4e8470a1
2016-11-10 03:32:37 +00:00
Dan Willemsen
04f53ed923 Split (ninja|soong).mk into config and rule portions
So that an external tool can read the configuration using
dump-many-vars, and write out the soong.variables file while only
loading config.mk.

Also remove dumpvar-% from PARSE_TIME_MAKE_GOALS, since it's only used
with CALLED_FROM_SETUP / config.mk. This provides an easy way to test
this change as well.

Test: get_build_var NINJA
Test: get_build_var ANDROID_GOALS
Test: get_build_var NINJA_GOALS
Test: get_build_var KATI_GOALS
Test: MAKECMDGOALS="droid sdk dumpvar-ANDROID_GOALS" get_build_var ANDROID_GOALS
Test: MAKECMDGOALS="droid sdk dumpvar-NINJA_GOALS" get_build_var NINJA_GOALS
Test: MAKECMDGOALS="droid sdk dumpvar-KATI_GOALS" get_build_var KATI_GOALS
Test: MAKECMDGOALS="out/build-a.ninja dumpvar-ANDROID_GOALS" get_build_var ANDROID_GOALS
Test: get_build_var SOONG_MAKEVARS_MK
Test: get_build_var SOONG_VARIABLES
Test: CALLED_FROM_SETUP=true BUILD_SYSTEM=build/core make -f build/core/config.mk out/soong/soong.variables showcommands
Test: Compare soong.variables from above, and before/after with `m`
Test: Compare out before/after with `m doesnotexist`
Test: `m dist doesnotexist`
Change-Id: I1bc291aa165297c930fe600067edad6ce4979210
2016-11-09 17:53:33 -08:00
Dan Willemsen
cfabc42af9 Move some configuration from main.mk to config.mk
When dumping make configuration (dump-many-var, dump-var-*), we only
load config.mk, not main.mk. One of the first things that main.mk does
is to include config.mk, so these moves are safe.

Turning off the implicit rules and other make configuration / sanity
checks should happen in all cases, so move them to config.mk

Move dont_bother_rules to config.mk so that it can be used by the ninja
configuration (which is moving in a later change). Move dont_bother into
the kati section, since it's not used elsewhere.

Test: m clean
Test: get_build_var dont_bother_goals
Change-Id: Ib3ec8aa8eebcaf743d2cdcc31f89827c4e8470a1
2016-11-09 17:29:23 -08:00
Dan Albert
988107d35c Support LOCAL_SDK_VERSION := current for NDK.
Test: Added a module using this and checked the link command line.
Bug: None
Change-Id: I3a55e4638340d8835c09ebc6a1440bece962d36e
2016-11-08 15:37:43 -08:00
Ian Pedowitz
9a3d92f719 Adding some documentation to ensure methods are updated when API number is set
Bug: 32608129
Test: None (comment only change)
Change-Id: Ida34b14419e3cb86e3fe07a9cc4b7ccb46d5f5a3
2016-11-04 14:36:32 -07:00
Colin Cross
54f1ae45c4 Merge "Export variable for device sanitize arch to Soong" am: d778640b0f am: 81e759e842 am: 168ff79efc
am: 8b5532fa64

Change-Id: I087aa3338187a4f27894d8d2f79f933a840d3e71
2016-11-03 07:27:58 +00: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
1c80bc8297 Merge "Update combined build.ninja to depend on Soong's build.ninja" am: 77ecb3347b am: b4b655a7af am: c10172ef9c
am: 452cd8505f

Change-Id: I09747c41c624d2b99c28f2c4d83f4334c8c07fc1
2016-11-03 02:54: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
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
d014113e55 Merge "Remove configuration exported from Soong" am: b1e0c2c478 am: c70f550338 am: 9e7c127da2
am: 2871f632be

Change-Id: I06f1dfa468a266291fbf47a149876e80bea61cbe
2016-11-01 17:38:46 +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
399a2d8305 Merge "Pass global tidy configuration to Soong" am: ca5748fbe1 am: cb4f1fa3db am: a73da56314
am: b561ae1a47

Change-Id: Ib625541f099078150def451a6135d2c1abea50dd
2016-11-01 01:33:15 +00:00