Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Unified Diff: media/BUILD.gn

Issue 1395573003: Build nacl_helper_nonsfi with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/BUILD.gn
diff --git a/media/BUILD.gn b/media/BUILD.gn
index aae21541c9ac08547408636bc4ea05d9c9c66c2d..d112461ede6b99b0d8db900d416ad42f66f682bb 100644
--- a/media/BUILD.gn
+++ b/media/BUILD.gn
@@ -6,6 +6,7 @@ import("//build/config/android/config.gni")
import("//build/config/arm.gni")
import("//build/config/features.gni")
import("//build/config/linux/pkg_config.gni")
+import("//build/config/nacl/config.gni")
import("//build/config/ui.gni")
import("//media/media_options.gni")
import("//testing/test.gni")
@@ -816,14 +817,24 @@ component("shared_memory_support") {
"base/vector_math.cc",
"base/vector_math.h",
]
+ if (is_nacl_nonsfi) {
+ sources -= [
+ "audio/audio_parameters.cc",
+ "audio/audio_parameters.h",
+ "audio/point.cc",
+ "audio/point.h",
+ ]
+ }
configs += [
":media_config",
":media_implementation",
]
deps = [
"//base",
- "//ui/gfx/geometry",
]
+ if (!is_nacl_nonsfi) {
+ deps += [ "//ui/gfx/geometry" ]
+ }
}
if (media_use_ffmpeg) {

Powered by Google App Engine
This is Rietveld 408576698