mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-02 18:11:04 +08:00
R=jacktfranklin@chromium.org Bug: 1213449 Change-Id: I3228629bbaa1c3824a721a93782356ec71855513 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2919951 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
22 lines
686 B
Plaintext
22 lines
686 B
Plaintext
# Copyright 2021 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
declare_args() {
|
|
devtools_dcheck_always_on = is_debug
|
|
}
|
|
|
|
if (!defined(devtools_location)) {
|
|
if (defined(use_devtools_typescript) && use_devtools_typescript) {
|
|
devtools_location = ""
|
|
} else {
|
|
devtools_location = "third_party/devtools-frontend/src/"
|
|
}
|
|
}
|
|
|
|
# Introduce a new variable to make sure that string
|
|
# interpolation keeps on working. If we don't, GN
|
|
# doesn't know what is part of a variable and what
|
|
# is an actual string, without the `/` separator.
|
|
devtools_location_prepend = "//$devtools_location"
|