diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2019-03-20 16:40:54 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2019-03-25 11:54:41 +0900 |
commit | 4036956bbf75d2e72ad487fd858b8f39d5c6e309 (patch) | |
tree | f1c0f1bf8d3c1396b27234d5d06be133377c98b7 /src/android/net/util/NetworkStackUtils.java | |
parent | b4f486921e4c79ccaf9e28706d18a5abf9c06efa (diff) |
Compile NetworkStack resources only once
The current build files would compile resources both for the
android_library and the android_app build rules, since the android_app
build rule resource_dirs default to ["res"]. Set resource_dirs to [] for
these build rules so that resources are only inherited from the
android_library.
Also refactor the build file using java_defaults to avoid repeating
configuration.
Test: flashed, boots, WiFi working
Bug: 127908503
Change-Id: Ie51dd1bd1a8ee5145e3f1b95beb1de59665b4c51
Diffstat (limited to 'src/android/net/util/NetworkStackUtils.java')
0 files changed, 0 insertions, 0 deletions