mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00
Bug 1884899 - Include AIDL-generated files into generated-files.tar.gz. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D204586
This commit is contained in:
parent
d1cccd9945
commit
5253445b50
@ -58,6 +58,18 @@ def get_generated_sources():
|
||||
for p, f in finder:
|
||||
if p.endswith(GENERATED_SOURCE_EXTS):
|
||||
yield mozpath.join(base, p), f
|
||||
# Next, return source files that were generated by AIDL.
|
||||
if buildconfig.substs.get("MOZ_WIDGET_TOOLKIT") == "android":
|
||||
base = "gradle/build/mobile/android/geckoview/generated/aidl_source_output_dir"
|
||||
finder = FileFinder(mozpath.join(buildconfig.topobjdir, base))
|
||||
found = False
|
||||
for p, f in finder.find("**/*.java"):
|
||||
found = True
|
||||
yield mozpath.join(base, p), f
|
||||
if not found:
|
||||
raise Exception(
|
||||
"No AIDL-generated files are found. Maybe the output directory has changed?"
|
||||
)
|
||||
|
||||
|
||||
def get_s3_region_and_bucket():
|
||||
|
Loading…
x
Reference in New Issue
Block a user