Skip to content

Commit

Permalink
Delete the fake Apple APIs and take advantage of the generic faking i…
Browse files Browse the repository at this point in the history
…nstead.

RELNOTES: None.
PiperOrigin-RevId: 375706033
  • Loading branch information
allevato authored and copybara-github committed May 25, 2021
1 parent 4cc2429 commit b018ea1
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 590 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@ java_library(
deps = [
"//src/main/java/com/google/devtools/build/lib/actions:artifacts",
"//src/main/java/com/google/devtools/build/lib/cmdline",
"//src/main/java/com/google/devtools/build/lib/collect/nestedset",
"//src/main/java/com/google/devtools/build/lib/events",
"//src/main/java/com/google/devtools/build/lib/starlarkbuildapi",
"//src/main/java/com/google/devtools/build/lib/starlarkbuildapi/apple",
"//src/main/java/com/google/devtools/build/lib/starlarkbuildapi/config",
"//src/main/java/com/google/devtools/build/lib/starlarkbuildapi/core",
"//src/main/java/com/google/devtools/build/lib/starlarkbuildapi/platform",
"//src/main/java/com/google/devtools/build/lib/starlarkbuildapi/repository",
"//src/main/java/com/google/devtools/build/skydoc/rendering",
"//src/main/java/com/google/devtools/build/skydoc/rendering/proto:stardoc_output_java_proto",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@
package com.google.devtools.build.skydoc.fakebuildapi;

import com.google.common.collect.ImmutableMap;
import com.google.devtools.build.lib.starlarkbuildapi.apple.AppleBootstrap;
import com.google.devtools.build.lib.starlarkbuildapi.config.ConfigBootstrap;
import com.google.devtools.build.lib.starlarkbuildapi.repository.RepositoryBootstrap;
import com.google.devtools.build.skydoc.fakebuildapi.FakeStructApi.FakeStructProviderApi;
import com.google.devtools.build.skydoc.fakebuildapi.apple.FakeAppleCommon;
import com.google.devtools.build.skydoc.fakebuildapi.config.FakeConfigGlobalLibrary;
import com.google.devtools.build.skydoc.fakebuildapi.config.FakeConfigStarlarkCommon;
import com.google.devtools.build.skydoc.fakebuildapi.repository.FakeRepositoryModule;
Expand Down Expand Up @@ -59,7 +57,6 @@ public static void addPredeclared(
env, new FakeStarlarkRuleFunctionsApi(rules, providers, aspects)); // e.g. rule func
env.put("attr", new FakeStarlarkAttrModuleApi());
env.put("struct", new FakeStructProviderApi());
new AppleBootstrap(new FakeAppleCommon()).addBindingsToBuilder(env);
new ConfigBootstrap(
new FakeConfigStarlarkCommon(), //
new FakeConfigApi(),
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit b018ea1

Please sign in to comment.