Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 17b913c

Browse files
committed
Restore is_ash for backward compatible.
1 parent e37b234 commit 17b913c

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

scripts/prepare_dev.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
('0007-Fix-examples-path-error.patch', BUILD_PATH),
3939
('0008-Disable-loop-range-analysis-when-build-with-Xcode-cl.patch', BUILD_PATH),
4040
('0009-Export-WebRTC-symbols-on-iOS.patch', BUILD_PATH),
41+
('0010-Restore-is_ash-for-backward-compatible.patch', BUILD_PATH),
4142
('0013-Remove-unused-gni-for-av1-build.patch', THIRD_PARTY_PATH),
4243
('0014-Fix-missing-ffmpeg-configure-item-for-msvc-build.patch', FFMPEG_PATH)
4344
]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
From 4c01af961bd7f4111ce24cbe884d52d46d4b2956 Mon Sep 17 00:00:00 2001
2+
From: Jianjun Zhu <[email protected]>
3+
Date: Wed, 24 Feb 2021 15:06:02 +0800
4+
Subject: [PATCH] Restore is_ash for backward compatible.
5+
6+
---
7+
config/chromeos/ui_mode.gni | 3 +++
8+
1 file changed, 3 insertions(+)
9+
10+
diff --git a/config/chromeos/ui_mode.gni b/config/chromeos/ui_mode.gni
11+
index df578bc92..12a973f84 100644
12+
--- a/config/chromeos/ui_mode.gni
13+
+++ b/config/chromeos/ui_mode.gni
14+
@@ -31,6 +31,9 @@ declare_args() {
15+
# toolchains.
16+
is_chromeos_ash = is_chromeos && !chromeos_is_browser_only
17+
18+
+# Restore is_ash for backward compatible.
19+
+is_ash = is_chromeos_ash
20+
+
21+
# TODO(crbug.com/1052397): Remove is_linux once lacros-chrome switches
22+
# to target_os=chromeos
23+
is_chromeos_lacros = (is_chromeos || is_linux) && chromeos_is_browser_only
24+
--
25+
2.30.1
26+

0 commit comments

Comments
 (0)