mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-26 06:31:50 +08:00
[fuchsia] remove unnecessary build args
The gn-args have default values in fuchsia-gn-sdk and not necessary to be repeated - api-level 18 is also removed and breaks crashpad. Bug: crashpad:365889763 Change-Id: I2a5a573158db434dd578c92455d0af6c96408d74 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/5854005 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
35e06fe736
commit
e3abe1ed44
@ -20,36 +20,6 @@
|
||||
# rules to reference the contents of the fuchsia SDK.
|
||||
fuchsia_sdk = "//third_party/fuchsia/sdk/linux-amd64"
|
||||
|
||||
# ID uniquely identifying the Fuchsia IDK build. This is exposed as a
|
||||
# property so it can be used to locate images and packages on GCS and
|
||||
# as a marker to indicate the "version" of the IDK.
|
||||
# Defaults to the id found in the manifest.json file of the SDK.
|
||||
fuchsia_sdk_id = ""
|
||||
|
||||
# The target API level for this repository. Embedders should override this
|
||||
# value to specify the API level the packages produced from this repository
|
||||
# should be targeting, e.g. in their top-level //.gn file. A value of -1
|
||||
# means that no API level will be passed to the tools that consumes it.
|
||||
fuchsia_target_api_level = 18
|
||||
|
||||
# The SDK manifest file. This is useful to include as a dependency
|
||||
# for some targets in order to cause a rebuild when the version of the
|
||||
# SDK is changed.
|
||||
fuchsia_sdk_manifest_file = "${fuchsia_sdk}/meta/manifest.json"
|
||||
|
||||
# fuchsia_tool_dir is used to specify the directory in the SDK to locate
|
||||
# tools for the host cpu architecture. If the host_cpu is not recognized,
|
||||
# then tool dir defaults to x64.
|
||||
fuchsia_tool_dir = "${fuchsia_sdk}/tools/${host_cpu}"
|
||||
|
||||
if (fuchsia_sdk_id == "") {
|
||||
# Note: If we need to expose more than just the id in the future,
|
||||
# we should consider exposing the entire json object for the metadata vs.
|
||||
# adding a bunch of variables.
|
||||
_meta = read_file(fuchsia_sdk_manifest_file, "json")
|
||||
fuchsia_sdk_id = _meta.id
|
||||
}
|
||||
|
||||
declare_args() {
|
||||
# Specify a readelf_exec path to use. If not specified, the host's system
|
||||
# executable will be used. Passed to populate_build_id_dir.py and
|
||||
|
Loading…
x
Reference in New Issue
Block a user