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: I01eff901f3af62ba8800caca679afcb7d0a005e9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2494261
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Yuta Hijikata <ythjkt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#820517}
GitOrigin-RevId: e4398bbc6078b69d2bac34bc52a340a4d9b34546
1 file changed