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

Unified Diff: remoting/android/BUILD.gn

Issue 1637093002: Fix enable_cardboard/enable_cast for GN build of remoting/android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | remoting/android/client_java_tmpl.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/android/BUILD.gn
diff --git a/remoting/android/BUILD.gn b/remoting/android/BUILD.gn
index a933e3d6061d3bc8d24ff6650c121a1e1761ea89..9653def81ef90dabc96eb2e708f16fc7bfcc531d 100644
--- a/remoting/android/BUILD.gn
+++ b/remoting/android/BUILD.gn
@@ -70,7 +70,11 @@ remoting_localize("remoting_apk_manifest") {
"java/AndroidManifest.xml.jinja2",
]
locales = [ "en" ]
- defines = [ "ENABLE_CARDBOARD=$enable_cardboard" ]
+ if (remoting_enable_cardboard) {
+ defines = [ "ENABLE_CARDBOARD=1" ]
+ } else {
+ defines = [ "ENABLE_CARDBOARD=0" ]
+ }
variables = [ branding_path ]
output = "$root_gen_dir/remoting/android/{{source_name_part}}"
}
« no previous file with comments | « no previous file | remoting/android/client_java_tmpl.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698