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

Side by Side Diff: chromecast/chromecast.gyp

Issue 1095683002: [chromecast] Add CAST_PRODUCT_TYPE controlled at build time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | chromecast/common/version.h.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'android_support_v13_target%': 7 'android_support_v13_target%':
8 '../third_party/android_tools/android_tools.gyp:android_support_v13_java lib', 8 '../third_party/android_tools/android_tools.gyp:android_support_v13_java lib',
9 'cast_build_release': 'internal/build/cast_build_release', 9 'cast_build_release': 'internal/build/cast_build_release',
10 'cast_is_debug_build%': 0, 10 'cast_is_debug_build%': 0,
11 # Refers to enum CastProductType in components/metrics/proto/cast_logs.proto
12 'cast_product_type%': 0, # CAST_PRODUCT_TYPE_UNKNOWN
11 'chromium_code': 1, 13 'chromium_code': 1,
12 'chromecast_branding%': 'Chromium', 14 'chromecast_branding%': 'Chromium',
13 'disable_display%': 0, 15 'disable_display%': 0,
14 'enable_default_cast_graphics%': 1, 16 'enable_default_cast_graphics%': 1,
15 'ozone_platform_cast%': 0, 17 'ozone_platform_cast%': 0,
16 'use_chromecast_webui%': 0, 18 'use_chromecast_webui%': 0,
17 }, 19 },
18 'includes': [ 20 'includes': [
19 'chromecast_tests.gypi', 21 'chromecast_tests.gypi',
20 ], 22 ],
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 'python', 333 'python',
332 '<(version_py_path)', 334 '<(version_py_path)',
333 '-e', 'VERSION_FULL="<(version_full)"', 335 '-e', 'VERSION_FULL="<(version_full)"',
334 # CAST_BUILD_INCREMENTAL is taken from buildbot if available; 336 # CAST_BUILD_INCREMENTAL is taken from buildbot if available;
335 # otherwise, a dev string is used. 337 # otherwise, a dev string is used.
336 '-e', 'CAST_BUILD_INCREMENTAL="<!(echo ${CAST_BUILD_INCREMENTAL:="<! (date +%Y%m%d.%H%M%S)"})"', 338 '-e', 'CAST_BUILD_INCREMENTAL="<!(echo ${CAST_BUILD_INCREMENTAL:="<! (date +%Y%m%d.%H%M%S)"})"',
337 # CAST_BUILD_RELEASE is taken from cast_build_release file if exist; 339 # CAST_BUILD_RELEASE is taken from cast_build_release file if exist;
338 # otherwise, a dev string is used. 340 # otherwise, a dev string is used.
339 '-e', 'CAST_BUILD_RELEASE="<!(if test -f <(cast_build_release); then cat <(cast_build_release); else echo eng.${USER}; fi)"', 341 '-e', 'CAST_BUILD_RELEASE="<!(if test -f <(cast_build_release); then cat <(cast_build_release); else echo eng.${USER}; fi)"',
340 '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" o r <(cast_is_debug_build) == 1 else 0', 342 '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" o r <(cast_is_debug_build) == 1 else 0',
343 '-e', 'CAST_PRODUCT_TYPE=<(cast_product_type)',
341 'common/version.h.in', 344 'common/version.h.in',
342 '<@(_outputs)', 345 '<@(_outputs)',
343 ], 346 ],
344 'includes': [ 347 'includes': [
345 '../build/util/version.gypi', 348 '../build/util/version.gypi',
346 ], 349 ],
347 }, 350 },
348 ], 351 ],
349 }, 352 },
350 ], # end of targets 353 ], # end of targets
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 ], 590 ],
588 'sources': [ 591 'sources': [
589 'graphics/cast_egl_platform_default.cc', 592 'graphics/cast_egl_platform_default.cc',
590 'graphics/graphics_properties_default.cc' 593 'graphics/graphics_properties_default.cc'
591 ], 594 ],
592 } 595 }
593 ] 596 ]
594 }], 597 }],
595 ], # end of conditions 598 ], # end of conditions
596 } 599 }
OLDNEW
« 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