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

Side by Side Diff: chromecast/chromecast.gyp

Issue 1132663004: Chromecast: adds Android implementation of CastSysInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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 | « chromecast/browser/cast_browser_main_parts.cc ('k') | chromecast/common/cast_content_client.cc » ('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,
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 'dependencies': [ 347 'dependencies': [
348 'cast_public_api', 348 'cast_public_api',
349 '../base/base.gyp:base', 349 '../base/base.gyp:base',
350 ], 350 ],
351 'sources': [ 351 'sources': [
352 'base/cast_sys_info_util.h', 352 'base/cast_sys_info_util.h',
353 'base/cast_sys_info_dummy.cc', 353 'base/cast_sys_info_dummy.cc',
354 'base/cast_sys_info_dummy.h', 354 'base/cast_sys_info_dummy.h',
355 ], 355 ],
356 'conditions': [ 356 'conditions': [
357 ['chromecast_branding!="Chrome"', { 357 ['chromecast_branding!="Chrome" and OS!="android"', {
358 'sources': [ 358 'sources': [
359 'base/cast_sys_info_util_simple.cc', 359 'base/cast_sys_info_util_simple.cc',
360 ], 360 ],
361 }], 361 }],
362 ], 362 ],
363 }, # end of target 'cast_sys_info' 363 }, # end of target 'cast_sys_info'
364 { 364 {
365 'target_name': 'cast_version_header', 365 'target_name': 'cast_version_header',
366 'type': 'none', 366 'type': 'none',
367 'direct_dependent_settings': { 367 'direct_dependent_settings': {
368 'include_dirs': [ 368 'include_dirs': [
369 '<(SHARED_INTERMEDIATE_DIR)', 369 '<(SHARED_INTERMEDIATE_DIR)',
370 ], 370 ],
371 }, 371 },
372 'actions': [ 372 'actions': [
373 { 373 {
374 'action_name': 'version_header', 374 'action_name': 'version_header',
375 'message': 'Generating version header file: <@(_outputs)', 375 'message': 'Generating version header file: <@(_outputs)',
376 'inputs': [ 376 'inputs': [
377 '<(version_path)', 377 '<(version_path)',
378 'common/version.h.in', 378 'base/version.h.in',
379 ], 379 ],
380 'outputs': [ 380 'outputs': [
381 '<(SHARED_INTERMEDIATE_DIR)/chromecast/common/version.h', 381 '<(SHARED_INTERMEDIATE_DIR)/chromecast/base/version.h',
382 ], 382 ],
383 'action': [ 383 'action': [
384 'python', 384 'python',
385 '<(version_py_path)', 385 '<(version_py_path)',
386 '-e', 'VERSION_FULL="<(version_full)"', 386 '-e', 'VERSION_FULL="<(version_full)"',
387 # CAST_BUILD_INCREMENTAL is taken from buildbot if available; 387 # CAST_BUILD_INCREMENTAL is taken from buildbot if available;
388 # otherwise, a dev string is used. 388 # otherwise, a dev string is used.
389 '-e', 'CAST_BUILD_INCREMENTAL="<!(echo ${CAST_BUILD_INCREMENTAL:="<! (date +%Y%m%d.%H%M%S)"})"', 389 '-e', 'CAST_BUILD_INCREMENTAL="<!(echo ${CAST_BUILD_INCREMENTAL:="<! (date +%Y%m%d.%H%M%S)"})"',
390 # CAST_BUILD_RELEASE is taken from cast_build_release file if exist; 390 # CAST_BUILD_RELEASE is taken from cast_build_release file if exist;
391 # otherwise, a dev string is used. 391 # otherwise, a dev string is used.
392 '-e', 'CAST_BUILD_RELEASE="<!(if test -f <(cast_build_release); then cat <(cast_build_release); else echo eng.${USER}; fi)"', 392 '-e', 'CAST_BUILD_RELEASE="<!(if test -f <(cast_build_release); then cat <(cast_build_release); else echo eng.${USER}; fi)"',
393 '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" o r <(cast_is_debug_build) == 1 else 0', 393 '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" o r <(cast_is_debug_build) == 1 else 0',
394 '-e', 'CAST_PRODUCT_TYPE=<(cast_product_type)', 394 '-e', 'CAST_PRODUCT_TYPE=<(cast_product_type)',
395 'common/version.h.in', 395 'base/version.h.in',
396 '<@(_outputs)', 396 '<@(_outputs)',
397 ], 397 ],
398 'includes': [ 398 'includes': [
399 '../build/util/version.gypi', 399 '../build/util/version.gypi',
400 ], 400 ],
401 }, 401 },
402 ], 402 ],
403 }, 403 },
404 ], # end of targets 404 ], # end of targets
405 405
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 '../components/components.gyp:external_video_surface', 439 '../components/components.gyp:external_video_surface',
440 '../content/content.gyp:content', 440 '../content/content.gyp:content',
441 '../skia/skia.gyp:skia', 441 '../skia/skia.gyp:skia',
442 '../ui/gfx/gfx.gyp:gfx', 442 '../ui/gfx/gfx.gyp:gfx',
443 '../ui/gl/gl.gyp:gl', 443 '../ui/gl/gl.gyp:gl',
444 ], 444 ],
445 'include_dirs': [ 445 'include_dirs': [
446 '../breakpad/src', 446 '../breakpad/src',
447 ], 447 ],
448 'sources': [ 448 'sources': [
449 'base/cast_sys_info_android.cc',
450 'base/cast_sys_info_android.h',
449 'android/cast_jni_registrar.cc', 451 'android/cast_jni_registrar.cc',
450 'android/cast_jni_registrar.h', 452 'android/cast_jni_registrar.h',
451 'android/cast_metrics_helper_android.cc', 453 'android/cast_metrics_helper_android.cc',
452 'android/cast_metrics_helper_android.h', 454 'android/cast_metrics_helper_android.h',
453 'android/chromecast_config_android.cc', 455 'android/chromecast_config_android.cc',
454 'android/chromecast_config_android.h', 456 'android/chromecast_config_android.h',
455 'android/platform_jni_loader.h', 457 'android/platform_jni_loader.h',
456 'app/android/cast_jni_loader.cc', 458 'app/android/cast_jni_loader.cc',
457 'browser/android/cast_window_android.cc', 459 'browser/android/cast_window_android.cc',
458 'browser/android/cast_window_android.h', 460 'browser/android/cast_window_android.h',
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 'additional_input_paths': ['<(PRODUCT_DIR)/assets/cast_shell.pak'], 530 'additional_input_paths': ['<(PRODUCT_DIR)/assets/cast_shell.pak'],
529 }, 531 },
530 'includes': [ '../build/java_apk.gypi' ], 532 'includes': [ '../build/java_apk.gypi' ],
531 }, 533 },
532 { 534 {
533 'target_name': 'cast_jni_headers', 535 'target_name': 'cast_jni_headers',
534 'type': 'none', 536 'type': 'none',
535 'sources': [ 537 'sources': [
536 'browser/android/apk/src/org/chromium/chromecast/shell/CastCrashHand ler.java', 538 'browser/android/apk/src/org/chromium/chromecast/shell/CastCrashHand ler.java',
537 'browser/android/apk/src/org/chromium/chromecast/shell/CastMetricsHe lper.java', 539 'browser/android/apk/src/org/chromium/chromecast/shell/CastMetricsHe lper.java',
540 'browser/android/apk/src/org/chromium/chromecast/shell/CastSysInfoAn droid.java',
538 'browser/android/apk/src/org/chromium/chromecast/shell/CastWindowAnd roid.java', 541 'browser/android/apk/src/org/chromium/chromecast/shell/CastWindowAnd roid.java',
539 'browser/android/apk/src/org/chromium/chromecast/shell/CastWindowMan ager.java', 542 'browser/android/apk/src/org/chromium/chromecast/shell/CastWindowMan ager.java',
540 ], 543 ],
541 'direct_dependent_settings': { 544 'direct_dependent_settings': {
542 'include_dirs': [ 545 'include_dirs': [
543 '<(SHARED_INTERMEDIATE_DIR)/chromecast', 546 '<(SHARED_INTERMEDIATE_DIR)/chromecast',
544 ], 547 ],
545 }, 548 },
546 'variables': { 549 'variables': {
547 'jni_gen_package': 'chromecast', 550 'jni_gen_package': 'chromecast',
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 'sources': [ 646 'sources': [
644 'graphics/cast_egl_platform_default.cc', 647 'graphics/cast_egl_platform_default.cc',
645 'graphics/graphics_properties_default.cc', 648 'graphics/graphics_properties_default.cc',
646 'graphics/osd_plane_default.cc' 649 'graphics/osd_plane_default.cc'
647 ], 650 ],
648 } 651 }
649 ] 652 ]
650 }], 653 }],
651 ], # end of conditions 654 ], # end of conditions
652 } 655 }
OLDNEW
« no previous file with comments | « chromecast/browser/cast_browser_main_parts.cc ('k') | chromecast/common/cast_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698