| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
'--list=target_os', '--short'Why move from --short to --json, and instead just --list argument_name and match argument_name?
# to ar. This path is configured by gyp_crashpad_android.py.I think this should have gone away in 2021 with this change: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3034984
if target_os is None:
# For GYP with Ninja, look for the appearance of “linux-android” in the
# path to ar. This path is configured by gyp_crashpad_android.py.
build_ninja_path = os.path.join(args.binary_dir, 'build.ninja')
if os.path.exists(build_ninja_path):
with open(build_ninja_path) as build_ninja_file:
build_ninja_content = build_ninja_file.read()
match = re.search(r'-linux-android(eabi)?-ar$',
build_ninja_content,
flags=re.MULTILINE)
if match:
target_os = 'android'jperaza@ do we still need this?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if target_os is None:
# For GYP with Ninja, look for the appearance of “linux-android” in the
# path to ar. This path is configured by gyp_crashpad_android.py.
build_ninja_path = os.path.join(args.binary_dir, 'build.ninja')
if os.path.exists(build_ninja_path):
with open(build_ninja_path) as build_ninja_file:
build_ninja_content = build_ninja_file.read()
match = re.search(r'-linux-android(eabi)?-ar$',
build_ninja_content,
flags=re.MULTILINE)
if match:
target_os = 'android'jperaza@ do we still need this?
I think no. Prior to this change the comment was outdated, but the code still good. GN generated build.ninja instead of gyp_crashpad_android.py. This change to look at GN args instead of build.ninja also seems fine.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
'--list=target_os', '--short'Why move from --short to --json, and instead just --list argument_name and match argument_name?
I thought it would look cleaner, but in retrospect the previous approach is much more concise. I've reverted back to parsing `--short`'s output.
# to ar. This path is configured by gyp_crashpad_android.py.I think this should have gone away in 2021 with this change: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3034984
Oh cool, done. I've also mentioned this in the CL description.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
4 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
run_tests.py: Add support for tvOS
We need to differentiate between iOS and tvOS builds in order to pass
the right environment variables to xcodebuild.
We do this by generalizing _BinaryDirTargetOS() for any variable in
args.gn and reading `target_platform`'s value to determine the kind of
build we have.
While here, remove the linux-android-specific target_os detection
workaround, which has not been necessary since
https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3034984
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |