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

Unified Diff: media/base/BUILD.gn

Issue 2697643003: media: Clean up MediaCodecBridge and remove subclasses (Closed)
Patch Set: Created 3 years, 10 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/base/BUILD.gn
diff --git a/media/base/BUILD.gn b/media/base/BUILD.gn
index 55f6987ced9f2ffe13ba2408d8aebe07dd98aa91..3d5b26c9db5610d89f34fe1dc559adaf9a376cc1 100644
--- a/media/base/BUILD.gn
+++ b/media/base/BUILD.gn
@@ -10,6 +10,10 @@ import("//build/config/linux/pkg_config.gni")
import("//media/media_options.gni")
import("//testing/libfuzzer/fuzzer_test.gni")
+if (is_android) {
+ import("//build/config/android/rules.gni")
+}
+
config("base_config") {
configs = [
# This target uses the ALLOCATOR_SHIM define.
@@ -355,6 +359,15 @@ target(link_target_type, "base") {
}
}
+if (is_android) {
+ java_cpp_enum("java_enums") {
+ sources = [
+ "encryption_scheme.h",
+ "video_codecs.h",
+ ]
+ }
+}
+
static_library("test_support") {
testonly = true
sources = [

Powered by Google App Engine
This is Rietveld 408576698