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

Unified Diff: chromecast/chromecast.gyp

Issue 1058013006: Chromecast: make CAST_IS_DEBUG_BUILD to macro CAST_IS_DEBUG_BUILD(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@media-drm-delegate
Patch Set: updates version.h.in Created 5 years, 8 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 | chromecast/common/version.h.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/chromecast.gyp
diff --git a/chromecast/chromecast.gyp b/chromecast/chromecast.gyp
index c5ad4fb1f77537198982e6d484c3f8a11b747cbe..242d4da5df63a802980d8bb2dc09e49f40203785 100644
--- a/chromecast/chromecast.gyp
+++ b/chromecast/chromecast.gyp
@@ -7,6 +7,7 @@
'android_support_v13_target%':
'../third_party/android_tools/android_tools.gyp:android_support_v13_javalib',
'cast_build_release': 'internal/build/cast_build_release',
+ 'cast_is_debug_build%': 0,
'chromium_code': 1,
'chromecast_branding%': 'Chromium',
'disable_display%': 0,
@@ -336,7 +337,7 @@
# CAST_BUILD_RELEASE is taken from cast_build_release file if exist;
# otherwise, a dev string is used.
'-e', 'CAST_BUILD_RELEASE="<!(if test -f <(cast_build_release); then cat <(cast_build_release); else echo eng.${USER}; fi)"',
- '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" else 0',
+ '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" or <(cast_is_debug_build) == 1 else 0',
'common/version.h.in',
'<@(_outputs)',
],
« no previous file with comments | « no previous file | chromecast/common/version.h.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698