All build rules that include ARCore-related code should be hidden behind enable_arcore_services build flag
There are lines in chrome/browser/android/vr/BUILD.gn that reference ARCore code. These should be included only if enable_arcore_services.
There are also lines in the arcore stub in device/vr/BUILD.gn that includes the ARCoreDeviceProviderFactoryImpl files.
Comment 1 by ddorwin@chromium.org
, Apr 28 2018