OLD | NEW |
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 'chromium_code': 1, | 9 'chromium_code': 1, |
10 'chromecast_branding%': 'Chromium', | 10 'chromecast_branding%': 'Chromium', |
| 11 'disable_display%': 0, |
11 }, | 12 }, |
12 'includes': [ | 13 'includes': [ |
13 'chromecast_tests.gypi', | 14 'chromecast_tests.gypi', |
14 ], | 15 ], |
15 'target_defaults': { | 16 'target_defaults': { |
16 'include_dirs': [ | 17 'include_dirs': [ |
17 '..', # Root of Chromium checkout | 18 '..', # Root of Chromium checkout |
18 ], | 19 ], |
| 20 'conditions': [ |
| 21 ['disable_display==1', { |
| 22 'defines': ['DISABLE_DISPLAY'], |
| 23 }], |
| 24 ], |
19 }, | 25 }, |
20 'targets': [ | 26 'targets': [ |
21 # TODO(gunsch): Remove these fake targets once they're either added or no | 27 # TODO(gunsch): Remove these fake targets once they're either added or no |
22 # longer referenced from internal code. | 28 # longer referenced from internal code. |
23 {'target_name': 'cast_media_audio', 'type': 'none'}, | 29 {'target_name': 'cast_media_audio', 'type': 'none'}, |
24 {'target_name': 'cast_port_impl', 'type': 'none'}, | 30 {'target_name': 'cast_port_impl', 'type': 'none'}, |
25 | 31 |
26 { | 32 { |
27 'target_name': 'cast_base', | 33 'target_name': 'cast_base', |
28 'type': '<(component)', | 34 'type': '<(component)', |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 'cast_shell_core', | 495 'cast_shell_core', |
490 ], | 496 ], |
491 'sources': [ | 497 'sources': [ |
492 'app/cast_main.cc', | 498 'app/cast_main.cc', |
493 ], | 499 ], |
494 }, | 500 }, |
495 ], # end of targets | 501 ], # end of targets |
496 }], | 502 }], |
497 ], # end of conditions | 503 ], # end of conditions |
498 } | 504 } |
OLD | NEW |