Move "enable_nacl" out of //build/config/features.gni.
Ideally //build/config/features.gni would be empty (or, at least,
would only reference features defined inside of //build).
This CL moves the `enable_nacl` flag out of that file, and into
its own dedicated file, so that it has a much smaller scope and
we can help ensure that it is not referenced or needed by other
projects that are using //build but aren't building Chromium.
This work will be useful as part of the work we're doing to
make NaCl something that can be disabled directly in DEPS
(without needing to depend on GYP_DEFINES to do so).
[email protected]
R: [email protected], [email protected], [email protected], [email protected]
Bug: 756688
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I3af65646803912db67d421d35b4dfe9c2e0b703e
Reviewed-on: https://chromium-review.googlesource.com/688314
Commit-Queue: Dirk Pranke <[email protected]>
Reviewed-by: Paweł Hajdan Jr. <[email protected]>
Reviewed-by: Brett Wilson <[email protected]>
Cr-Commit-Position: refs/heads/master@{#505188}
diff --git a/BUILD.gn b/BUILD.gn
index 4023a0c7..eae5821 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -12,6 +12,7 @@
import("//build/config/features.gni")
import("//build/config/sanitizers/sanitizers.gni")
import("//build/config/ui.gni")
+import("//components/nacl/features.gni")
import("//device/vr/features/features.gni")
import("//extensions/features/features.gni")
import("//media/media_options.gni")