Chih-hung Hsieh
baec7175c8
Merge "Add default -Werror to hardware/qcom projects" am: c355edc09b
am: 8fbfe37e9c
...
am: 0492a8aeff
Change-Id: I31f077acf2ff8eb0d739796479f7600fdb504539
2018-01-05 23:46:00 +00:00
Chih-Hung Hsieh
775edde1f8
Add default -Werror to hardware/qcom projects
...
Bug: 66996870
Test: normal build
Change-Id: Ic8b6a5ea808fbd0f377c7bac002a9b03bf8236be
2018-01-04 20:12:01 +00:00
Chih-Hung Hsieh
6e1f32d777
Merge "Add default -Werror to hardware/libhardware/modules" am: 750e6fab06
am: c7a4d098ae
...
am: 2644fe6ce2
Change-Id: Ibafeab9fe4cb64d001c21a155c0561c88ec96f58
2017-12-20 00:19:31 +00:00
Chih-Hung Hsieh
41fe048372
Add default -Werror to hardware/libhardware/modules
...
Bug: 66996870
Test: normal build
Change-Id: I0e38533b0fa2970524ac98eca25b2c2fd472fc31
2017-12-15 18:08:36 -08:00
Chih-Hung Hsieh
0d8bf27847
Add default -Werror to tools/adt/idea am: 77abc230f6
am: bf72465fd3
...
am: ee170208dc
Change-Id: I62707c7407a082958311a009add3f1b306838145
2017-12-15 23:48:25 +00:00
Chih-Hung Hsieh
dcccdab2e4
Add default -Werror to external/skia. am: 1ef5ed54ee
am: 943a85a871
...
am: 3f9aa6f69f
Change-Id: I7135333910a92fa9cc6b0df797e4433cfeaa060c
2017-12-15 23:47:03 +00:00
Chih-Hung Hsieh
77abc230f6
Add default -Werror to tools/adt/idea
...
Bug: 66996870
Test: normal build
Change-Id: Id5493eacf546d3246f501ca70bac26312837947e
2017-12-15 23:37:11 +00:00
Chih-Hung Hsieh
1ef5ed54ee
Add default -Werror to external/skia.
...
Test: normal build
Change-Id: If66639a9000865e14c1ad5288b8642dfe5583f56
2017-12-15 23:34:33 +00:00
Chih-hung Hsieh
62e99477c7
Merge "Add default -Werror to frameworks/av/drm/mediacas" am: cc64cfd81f
am: 1bae56fe92
...
am: b3f81fd304
Change-Id: Ib7e28e86b26706415313fe1cbad607bbd453f8b2
2017-12-15 23:23:47 +00:00
Chih-Hung Hsieh
c2996ff701
Add default -Werror to frameworks/av/drm/mediacas
...
Bug: 66996870
Test: normal build
Change-Id: I7af738fd1543c6c44279bbc13b02b0273e9d6533
2017-12-15 18:26:44 +00:00
Chih-Hung Hsieh
9b8820bf92
Add default -Werror to libstagefright/codecs. am: 086ad294cc
am: 9463b83701
...
am: c9d2d073a4
Change-Id: I846c52062c3ee8f5830f5d6f018a90f3e0b1f7e3
2017-12-14 00:22:36 +00:00
Chih-Hung Hsieh
086ad294cc
Add default -Werror to libstagefright/codecs.
...
Bug: 66996870
Test: normal build
Change-Id: I16c1d3b4b7ab3679b12dd0d94e5d130e33a27009
2017-12-13 15:59:53 -08:00
Chih-Hung Hsieh
65c0b89d16
Add default -Werror to libese/third_party/NXPNFC_P61_JCOP_Kit am: 38ed2ab5f1
am: 4d2591634a
...
am: 406db94a21
Change-Id: Ied0f5f02386115f7d6402eb5ed1e67e40d5e331f
2017-12-13 23:27:50 +00:00
Chih-Hung Hsieh
38ed2ab5f1
Add default -Werror to libese/third_party/NXPNFC_P61_JCOP_Kit
...
Test: normal build
Change-Id: Ie20280898ac6bce8cff6caf91b93be20ef313488
2017-12-13 22:26:30 +00:00
Chih-Hung Hsieh
c9a68953d7
Add default -Werror to libeffects and mediaextractor. am: 7434c565ff
am: e8160f5c32
...
am: 498d8fb8a5
Change-Id: Ie9fc77a4e5e3d4b818713bf344c0e0b13b74a849
2017-12-13 06:18:29 +00:00
Chih-Hung Hsieh
1ad0ea10c0
Add default -Werror to frameworks/webview/chromium. am: 7dd8778e48
am: f7d656492a
...
am: ab74c609f8
Change-Id: Id392f8fef205b8b386e74f985beca4797b131c0c
2017-12-13 03:06:38 +00:00
Chih-hung Hsieh
d1ebc4dd1b
Merge "Add default -Werror to libbufferhub" am: e41f450a35
am: 61d52fbadf
...
am: dc0633de75
Change-Id: Iaa43111c3462b0b3215851cd3e901b7a96b49d2a
2017-12-13 03:05:00 +00:00
Chih-Hung Hsieh
7434c565ff
Add default -Werror to libeffects and mediaextractor.
...
bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ic0522ede6c62382c1c36f11ababcd389f7bcffd5
2017-12-12 18:13:02 -08:00
Chih-Hung Hsieh
7dd8778e48
Add default -Werror to frameworks/webview/chromium.
...
Bug: 66996870
Test: normal build
Change-Id: Ifb3a44dd073dd7f028295e102bd561feaf98cf26
2017-12-12 17:57:57 -08:00
Chih-Hung Hsieh
1bb807bb45
Add default -Werror to libbufferhub
...
bug: 66996870
Test: normal build
Change-Id: I1a5d17a2752972f91fd7196128c10dddedca177d
2017-12-12 14:33:18 -08:00
Chih-hung Hsieh
0bdcb21f2e
Merge "Add default -Werror to sdk/emulator/mksdcard." am: 6f822b8b93
am: a6e2d7d6c3
...
am: 821ae0fcbf
Change-Id: Iaeefa36bde5d45d4ef6ba9ad537e573f6dd3a3fd
2017-12-12 07:48:38 +00:00
Chih-hung Hsieh
c39b72656b
Merge "Add default -Werror to frameworks/ml/nn." am: a3818107e8
am: d0857b30f7
...
am: ea1d5420f6
Change-Id: Ida83b351cfd7b3eb7593919ab7bb1589f44677d9
2017-12-12 02:40:05 +00:00
Chih-Hung Hsieh
a227ea38f0
Add default -Werror to sdk/emulator/mksdcard.
...
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I6499be53a2539143ad6785c1513fe4bd5d3a9910
2017-12-12 01:45:01 +00:00
Chih-Hung Hsieh
65b76252cc
Add default -Werror to system/vold/tests. am: 75f2e70dff
am: 167803be63
...
am: 474373d399
Change-Id: I0583b8832291dce6caa2ec14527d82e467132d78
2017-12-11 23:37:22 +00:00
Chih-hung Hsieh
24f7a8e71d
Merge "Add default -Werror to cts." am: 44c235d4d7
am: b95ec525bf
...
am: 716133f307
Change-Id: If2773262684c0243b0ef58d449d43129e9ddaa81
2017-12-11 23:34:22 +00:00
Chih-Hung Hsieh
8fd29d3bb8
Add default -Werror to frameworks/ml/nn.
...
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I6c7fb32b0abaf9b1dc03292daf7c584b1648eeeb
2017-12-11 23:24:46 +00:00
Chih-Hung Hsieh
75f2e70dff
Add default -Werror to system/vold/tests.
...
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I730943ace4aa329459d6280d1c2be601f7383343
2017-12-11 23:21:57 +00:00
Chih-hung Hsieh
29499fcf68
Merge "Remove 6 directories from WarningAllowed*Projects." am: 4b9bb14dd2
am: fcf1e5795d
...
am: 611a50668f
Change-Id: If75baf84695522fefce8a4fde7e1a265575e6c02
2017-12-08 01:07:45 +00:00
Chih-Hung Hsieh
2c07fc68fd
Add default -Werror to cts.
...
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I4900286f75c4f0ee17967085ed7012ddbe6024c9
2017-12-07 11:22:00 -08:00
Chih-Hung Hsieh
b47ac038e8
Remove 6 directories from WarningAllowed*Projects.
...
Test: normal build
Change-Id: I44381a2a7994d9f74329b0516d2bb303b5866a66
2017-12-07 00:12:35 +00:00
Chih-Hung Hsieh
674f089a0a
Allow warnings in libbufferhub. am: 809d3f8f63
am: 875e78c85e
...
am: 8cd2aee922
Change-Id: I18a67fb72e9f0f246718715c9b44ca9093b581b1
2017-12-06 02:29:51 +00:00
Chih-Hung Hsieh
809d3f8f63
Allow warnings in libbufferhub.
...
* This directory still has warnings.
Test: normal build
Change-Id: Ie322ebf38d828d63e9115308b8e71769fc2a452a
2017-12-05 16:51:22 -08:00
Chih-Hung Hsieh
f589d4e673
Reduce WarningAllowedProjects. am: 8ca48361ef
am: 02c11fa130
...
am: 88b3e5ca83
Change-Id: Id4335e08e99c61ae7b64de9be31de95db6adccfa
2017-12-05 23:13:40 +00:00
Chih-Hung Hsieh
8ca48361ef
Reduce WarningAllowedProjects.
...
* Warnings were fixed or suppressed in these projects.
Test: normal build
Change-Id: I24ef1b59d6c5ccd50979b7d792764de9d6da7e30
2017-12-05 09:12:35 -08:00
Dan Willemsen
0622caeff0
Merge "Add base variables for windows clang" am: d0704cf7fa
am: 1ef719f19c
...
am: 07ec9e246e
Change-Id: Ia30f7f5cd450005e0cf0b1b8ee6fff7ef2906634
2017-12-01 03:01:52 +00:00
Dan Willemsen
01f388c343
Add base variables for windows clang
...
This just copies most of what exists for clang on Linux, but doesn't
actually turn on clang support.
Bug: 69933068
Test: m nothing; compare ninja files
Change-Id: I2cf203026e7ced32004a91d7f3baf4a6415085eb
2017-11-30 15:42:53 -08:00
Chih-Hung Hsieh
90aee69ac6
Merge "Reduce WarningAllowedProjects." am: c92168f08d
am: 9741b57ad8
...
am: 3365041fae
Change-Id: Ia26ecbbcf1a68c1648fce9f416eb11b508e328b0
2017-11-30 01:03:30 +00:00
Chih-Hung Hsieh
0082636a14
Reduce WarningAllowedProjects.
...
* Warnings were fixed or suppressed in these projects.
Test: normal build
Change-Id: I5eec81704472c1675adf5fa784112c025f3c0222
2017-11-29 13:52:26 -08:00
Colin Cross
22e8960a6d
Wrap PackageContext and SingletonContext am: 0875c52de7
am: a0a0b7fd90
...
am: a0b69a22a9
Change-Id: I638dc4c80e2bd8a805bb92a23b5991b932bc0ab4
2017-11-29 05:25:41 +00:00
Colin Cross
0875c52de7
Wrap PackageContext and SingletonContext
...
Wrap blueprint.PackageContext so that the *Func methods can provide
an android.Config instead of an interface{}. The modified signatures
means that every method in ModuleContext and SingletonContext
that takes a blueprint.PackageContext now needs to be wrapped to
take an android.PackageContext.
SingletonContext wasn't previously wrapped at all, but as long
as it is, wrap everything like ModuleContext does. This requires
updating every Singleton to use the android-specific methods.
Test: builds, all Soong tests pass
Change-Id: I4f22085ebca7def6c5cde49e8210b59d994ba625
2017-11-29 05:04:30 +00:00
Pirama Arumuga Nainar
032939e376
Merge "Use -mcpu=cortex-a53 for devices with Kryo" am: 49b14daf03
am: 34fcefe690
...
am: 9a1483bfe6
Change-Id: Ie03c8344b712bf70cdac7c07bcda3c721fc58cb8
2017-11-21 22:19:39 +00:00
Treehugger Robot
49b14daf03
Merge "Use -mcpu=cortex-a53 for devices with Kryo"
2017-11-21 22:05:44 +00:00
Chih-hung Hsieh
a48f9209eb
Merge "Add default -Wall -Werror or -Wall." am: 488131912f
am: 20cfee85b4
...
am: fc49581152
Change-Id: I4c1bbd4645a3a3dd378ebc890a9a5f0b5cab57bd
2017-11-21 21:30:57 +00:00
Pirama Arumuga Nainar
c17b275ed3
Use -mcpu=cortex-a53 for devices with Kryo
...
Bug: http://b/69481735
While Clang supports -mcpu=kryo, the GNU assembler doesn't. Use
Cortex-a53 instead, which is close to Kryo. The current alternative of
using Krait causes problems when also using armv8, which is not
available in Krait.
Test: Build marlin with internal CL 3248394 cherry-picked.
Change-Id: I571739e6ab4f1b37fafb304ecad2865c9394e04f
2017-11-21 09:35:42 -08:00
Chih-Hung Hsieh
64a38dcb18
Add default -Wall -Werror or -Wall.
...
* When -Wno-error and -Werror are not used:
add -Wall to the front of cflags
if the project is in the WarningAllowedProjects,
otherwise add -Wall -Werror.
* Add -Wall -Werror to ndk_library build targets.
* Collect names of modules with -Wno-error or without -Werror,
and pass them to makefile variables:
SOONG_MODULES_USING_WNO_ERROR
SOONG_MODULES_ADDED_WERROR
SOONG_MODULES_ADDED_WALL
* Generate ANDROID_WARNING_ALLOWED_PROJECTS for old makefiles.
Bug: 66996870
Test: normal build
Change-Id: I31385e12b80ca946c7395a5a184ef259b029aac6
2017-11-20 18:28:26 -08:00
Colin Cross
e2a1c906f3
Merge "Revert "Set -fomit-frame-pointer for all devices"" am: ea7b201536
am: 8a4e6952f6
...
am: 1d58fbc8d9
Change-Id: I392bdf00fe21d43c08385e948aa593f600907b27
2017-11-18 02:19:20 +00:00
Treehugger Robot
ea7b201536
Merge "Revert "Set -fomit-frame-pointer for all devices""
2017-11-18 02:13:08 +00:00
Colin Cross
bc2c7c26e1
Revert "Set -fomit-frame-pointer for all devices"
...
This reverts commit 20823f95e6
.
Reason for revert: caused a minor performance regression in some benchmarks.
Bug: 69470341
Test: builds
Change-Id: I1a852b5d7a2aa1d08ecb54617898f814cddd7600
2017-11-18 00:11:21 +00:00
Colin Cross
09f673cc5a
Add license headers to all go and shell files am: d00350c61b
am: 12a6e4705e
...
am: f168cbcf20
Change-Id: I068e1a8c332e9f0fbc39887890a897aff14d4e27
2017-11-17 23:14:42 +00:00
Colin Cross
d00350c61b
Add license headers to all go and shell files
...
Test: none
Change-Id: I75c443e05f2b1e17fcb6823182717d2e6f5df7c4
2017-11-17 23:05:26 +00:00