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

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: Cleanup the compiler configuration 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 55fabdef4f4304ceeca11bc4722cbf86e3e645ee..899374279f1af36fc9d983d44aa1e0262befe51f 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")
@@ -850,14 +851,24 @@ component("shared_memory_support") {
"base/vector_math.cc",
"base/vector_math.h",
]
+ if (is_nacl_nonsfi) {
+ sources -= [
+ "audio/audio_parameters.cc",
Mark Seaborn 2015/10/22 21:48:30 This doesn't seem to correspond to any conditional
Petr Hosek 2015/10/23 03:01:15 shared_memory_support_nacl in Gyp includes some bi
+ "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