mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
457cc6a34f
In doing standalone bringup of Crashpad targeting Fuchsia, it seemed tidy to keep the same literal paths to the dependencies that Chromium needed and add stubs/forwarding to build/secondary in the Crashpad tree as required to make those work. However, when trying to build Crashpad in the Fuchsia tree itself, that would require adding forwarding files to the Fuchsia tree to match the Chromium directory structure, which would be awkward. Instead, have explicit dependencies in the Crashpad tree that select the locations for various dependencies. Bug: crashpad:79, crashpad:196 Change-Id: Ib506839f9c97d8ef823663cdc733cbdcfa126139 Reviewed-on: https://chromium-review.googlesource.com/826025 Commit-Queue: Scott Graham <scottmg@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
# Copyright 2017 The Crashpad Authors. All rights reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# When building in Chromium, these configs is used to set #defines that indicate
|
|
# whether code is being built standalone, or in Chromium, or potentially in some
|
|
# other configutation.
|
|
|
|
import("crashpad_dependencies.gni")
|
|
|
|
config("crashpad_is_in_chromium") {
|
|
if (crashpad_is_in_chromium) {
|
|
defines = [ "CRASHPAD_IS_IN_CHROMIUM" ]
|
|
}
|
|
}
|
|
|
|
group("default_exe_manifest_win") {
|
|
if (crashpad_is_in_chromium) {
|
|
deps = [
|
|
"//build/win:default_exe_manifest",
|
|
]
|
|
}
|
|
}
|