Descriptioncomponents: Do not include test code in wifi_component target.
wifi_component target is production code target and thus should not
include code that is intended for tests.
This changes makes it stop building test code in wifi_component, by
extracting and exposing the FakeWiFiService interface in the header
file and instantiating it directly where we used to call
WiFiService::CreateForTest().
This is the second part of what was discussed in
https://codereview.chromium.org/243343002 and started here
https://codereview.chromium.org/259543002/ - r266025
BUG=None
TEST=build and works as before, no regressions
R=mef@chromium.org,thestig@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268237
Patch Set 1 #
Total comments: 4
Patch Set 2 : mac fixes + lei review #Patch Set 3 : we only build FakeWiFiService on either win or mac - chromeos is not supported #
Messages
Total messages: 9 (0 generated)
|