LaCrOS: Replace defined(OS_CHROMEOS) with BUILDFLAG(IS_ASH)
The change is mostly mechanical replacing defined(OS_CHROMEOS) with BUILDFLAG(IS_ASH) and GN variable is_chromeos with is_ash. Only the insertion of "//build:chromeos_buildflags" into appropriate deps in BUILD.gn is done semi-manualy. The change should not change the behaviour of any build. This is in preparation to switching lacros build from target_os=linux to target_os=chromeos so that lacros does not include any additional code due the switch. Please note that any new defined(OS_CHROMEOS) and is_chromeos introduced to should be consistent with the new meaning. Please refer to this short document http://go/lacros-replace-chromeos-macro-with-ash for full context. Bug: 1052397 Change-Id: Ic12afd68af4bb6b1eec07c66918db951eb08aab8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2494281 Commit-Queue: Yuta Hijikata <ythjkt@chromium.org> Reviewed-by:Daniel Hosseinian <dhoss@chromium.org> Cr-Commit-Position: refs/heads/master@{#820531}
Showing
Please register or sign in to comment