aboutsummaryrefslogtreecommitdiff
path: root/pw_polyfill
diff options
context:
space:
mode:
authorArmando Montanez <amontanez@google.com>2020-06-09 18:12:12 -0700
committerWyatt Hepler <hepler@google.com>2020-06-16 09:50:59 -0700
commitfb3d3fba791b5b200293d23f08b778ecae34e02f (patch)
tree4974cd6eddbe74ff37f19d8a14b0959a90ef2ebc /pw_polyfill
parentedd2f148be609f3938eb5ab95b8738823463f621 (diff)
downloadpigweed-fb3d3fba791b5b200293d23f08b778ecae34e02f.tar.gz
Don't declare pigweed variables as globals
Require targets to explicitly import pigweed variable definitions. This moves out some necessary logic from the BUILDCONFIG.gn file. Change-Id: If9c9fe5a680cc9d897a0e8a55889873be618ed84
Diffstat (limited to 'pw_polyfill')
-rw-r--r--pw_polyfill/BUILD.gn5
1 files changed, 4 insertions, 1 deletions
diff --git a/pw_polyfill/BUILD.gn b/pw_polyfill/BUILD.gn
index a9d634052..743c47cb7 100644
--- a/pw_polyfill/BUILD.gn
+++ b/pw_polyfill/BUILD.gn
@@ -12,10 +12,13 @@
# License for the specific language governing permissions and limitations under
# the License.
+# gn-format disable
+import("//build_overrides/pigweed.gni")
+
+import("$dir_pigweed/legacy_target.gni")
import("$dir_pw_build/target_types.gni")
import("$dir_pw_docgen/docs.gni")
import("$dir_pw_unit_test/test.gni")
-
config("public") {
include_dirs = [ "public" ]
}