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

Side by Side Diff: build/common.gypi

Issue 12026010: Add GOOGLE_TV build tag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased and remove empry line Created 7 years, 10 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 | chrome/browser/android/chrome_startup_flags.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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 # Default architecture we're building for is the architecture we're 101 # Default architecture we're building for is the architecture we're
102 # building on. 102 # building on.
103 'target_arch%': '<(host_arch)', 103 'target_arch%': '<(host_arch)',
104 104
105 # Sets whether we're building with the Android SDK/NDK (and hence with 105 # Sets whether we're building with the Android SDK/NDK (and hence with
106 # Ant, value 0), or as part of the Android system (and hence with the 106 # Ant, value 0), or as part of the Android system (and hence with the
107 # Android build system, value 1). 107 # Android build system, value 1).
108 'android_build_type%': 0, 108 'android_build_type%': 0,
109 109
110 # Sets whether chrome is built for google tv device.
111 'google_tv%': 0,
112
110 'conditions': [ 113 'conditions': [
111 # Set default value of toolkit_views based on OS. 114 # Set default value of toolkit_views based on OS.
112 ['OS=="win" or chromeos==1 or use_aura==1', { 115 ['OS=="win" or chromeos==1 or use_aura==1', {
113 'toolkit_views%': 1, 116 'toolkit_views%': 1,
114 }, { 117 }, {
115 'toolkit_views%': 0, 118 'toolkit_views%': 0,
116 }], 119 }],
117 120
118 # Set toolkit_uses_gtk for the Chromium browser on Linux. 121 # Set toolkit_uses_gtk for the Chromium browser on Linux.
119 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and use_aura==0', { 122 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and use_aura==0', {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 'target_arch%': '<(target_arch)', 163 'target_arch%': '<(target_arch)',
161 'toolkit_views%': '<(toolkit_views)', 164 'toolkit_views%': '<(toolkit_views)',
162 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', 165 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)',
163 'use_aura%': '<(use_aura)', 166 'use_aura%': '<(use_aura)',
164 'use_ash%': '<(use_ash)', 167 'use_ash%': '<(use_ash)',
165 'use_openssl%': '<(use_openssl)', 168 'use_openssl%': '<(use_openssl)',
166 'enable_viewport%': '<(enable_viewport)', 169 'enable_viewport%': '<(enable_viewport)',
167 'enable_hidpi%': '<(enable_hidpi)', 170 'enable_hidpi%': '<(enable_hidpi)',
168 'enable_touch_ui%': '<(enable_touch_ui)', 171 'enable_touch_ui%': '<(enable_touch_ui)',
169 'android_build_type%': '<(android_build_type)', 172 'android_build_type%': '<(android_build_type)',
173 'google_tv%': '<(google_tv)',
170 'enable_app_list%': '<(enable_app_list)', 174 'enable_app_list%': '<(enable_app_list)',
171 'enable_message_center%': '<(enable_message_center)', 175 'enable_message_center%': '<(enable_message_center)',
172 'use_default_render_theme%': '<(use_default_render_theme)', 176 'use_default_render_theme%': '<(use_default_render_theme)',
173 'buildtype%': '<(buildtype)', 177 'buildtype%': '<(buildtype)',
174 178
175 # We used to provide a variable for changing how libraries were built. 179 # We used to provide a variable for changing how libraries were built.
176 # This variable remains until we can clean up all the users. 180 # This variable remains until we can clean up all the users.
177 # This needs to be one nested variables dict in so that dependent 181 # This needs to be one nested variables dict in so that dependent
178 # gyp files can make use of it in their outer variables. (Yikes!) 182 # gyp files can make use of it in their outer variables. (Yikes!)
179 # http://code.google.com/p/chromium/issues/detail?id=83308 183 # http://code.google.com/p/chromium/issues/detail?id=83308
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 ['OS=="win" and buildtype!="Official"', { 537 ['OS=="win" and buildtype!="Official"', {
534 'chromium_win_pch%': 1 538 'chromium_win_pch%': 1
535 }], 539 }],
536 540
537 ['use_aura==1 or chromeos==1 or OS=="android"', { 541 ['use_aura==1 or chromeos==1 or OS=="android"', {
538 'enable_plugin_installation%': 0, 542 'enable_plugin_installation%': 0,
539 }, { 543 }, {
540 'enable_plugin_installation%': 1, 544 'enable_plugin_installation%': 1,
541 }], 545 }],
542 546
543 ['OS=="android" or OS=="ios"', { 547 ['(OS=="android" and google_tv!=1) or OS=="ios"', {
544 'enable_plugins%': 0, 548 'enable_plugins%': 0,
545 }, { 549 }, {
546 'enable_plugins%': 1, 550 'enable_plugins%': 1,
547 }], 551 }],
548 552
549 # linux_use_gold_binary: whether to use the binary checked into 553 # linux_use_gold_binary: whether to use the binary checked into
550 # third_party/gold. 554 # third_party/gold.
551 ['OS=="linux"', { 555 ['OS=="linux"', {
552 'linux_use_gold_binary%': 1, 556 'linux_use_gold_binary%': 1,
553 }, { 557 }, {
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 'enable_google_now%': '<(enable_google_now)', 729 'enable_google_now%': '<(enable_google_now)',
726 'enable_language_detection%': '<(enable_language_detection)', 730 'enable_language_detection%': '<(enable_language_detection)',
727 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', 731 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
728 'disable_ftp_support%': '<(disable_ftp_support)', 732 'disable_ftp_support%': '<(disable_ftp_support)',
729 'enable_task_manager%': '<(enable_task_manager)', 733 'enable_task_manager%': '<(enable_task_manager)',
730 'sas_dll_path%': '<(sas_dll_path)', 734 'sas_dll_path%': '<(sas_dll_path)',
731 'wix_path%': '<(wix_path)', 735 'wix_path%': '<(wix_path)',
732 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', 736 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',
733 'use_system_libjpeg%': '<(use_system_libjpeg)', 737 'use_system_libjpeg%': '<(use_system_libjpeg)',
734 'android_build_type%': '<(android_build_type)', 738 'android_build_type%': '<(android_build_type)',
739 'google_tv%': '<(google_tv)',
735 'enable_app_list%': '<(enable_app_list)', 740 'enable_app_list%': '<(enable_app_list)',
736 'enable_message_center%': '<(enable_message_center)', 741 'enable_message_center%': '<(enable_message_center)',
737 'use_default_render_theme%': '<(use_default_render_theme)', 742 'use_default_render_theme%': '<(use_default_render_theme)',
738 'enable_settings_app%': '<(enable_settings_app)', 743 'enable_settings_app%': '<(enable_settings_app)',
739 'use_official_google_api_keys%': '<(use_official_google_api_keys)', 744 'use_official_google_api_keys%': '<(use_official_google_api_keys)',
740 'google_api_key%': '<(google_api_key)', 745 'google_api_key%': '<(google_api_key)',
741 'google_default_client_id%': '<(google_default_client_id)', 746 'google_default_client_id%': '<(google_default_client_id)',
742 'google_default_client_secret%': '<(google_default_client_secret)', 747 'google_default_client_secret%': '<(google_default_client_secret)',
743 'enable_managed_users%': '<(enable_managed_users)', 748 'enable_managed_users%': '<(enable_managed_users)',
744 749
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after
1682 'defines': ['ENABLE_ONE_CLICK_SIGNIN'], 1687 'defines': ['ENABLE_ONE_CLICK_SIGNIN'],
1683 }], 1688 }],
1684 ['toolkit_uses_gtk==1 and toolkit_views==0', { 1689 ['toolkit_uses_gtk==1 and toolkit_views==0', {
1685 # TODO(erg): We are progressively sealing up use of deprecated features 1690 # TODO(erg): We are progressively sealing up use of deprecated features
1686 # in gtk in preparation for an eventual porting to gtk3. 1691 # in gtk in preparation for an eventual porting to gtk3.
1687 'defines': ['GTK_DISABLE_SINGLE_INCLUDES=1'], 1692 'defines': ['GTK_DISABLE_SINGLE_INCLUDES=1'],
1688 }], 1693 }],
1689 ['chromeos==1', { 1694 ['chromeos==1', {
1690 'defines': ['OS_CHROMEOS=1'], 1695 'defines': ['OS_CHROMEOS=1'],
1691 }], 1696 }],
1697 ['google_tv==1', {
1698 'defines': ['GOOGLE_TV=1'],
1699 }],
1692 ['use_xi2_mt!=0', { 1700 ['use_xi2_mt!=0', {
1693 'defines': ['USE_XI2_MT=<(use_xi2_mt)'], 1701 'defines': ['USE_XI2_MT=<(use_xi2_mt)'],
1694 }], 1702 }],
1695 ['file_manager_extension==1', { 1703 ['file_manager_extension==1', {
1696 'defines': ['FILE_MANAGER_EXTENSION=1'], 1704 'defines': ['FILE_MANAGER_EXTENSION=1'],
1697 }], 1705 }],
1698 ['profiling==1', { 1706 ['profiling==1', {
1699 'defines': ['ENABLE_PROFILING=1'], 1707 'defines': ['ENABLE_PROFILING=1'],
1700 }], 1708 }],
1701 ['OS=="linux" and glibcxx_debug==1', { 1709 ['OS=="linux" and glibcxx_debug==1', {
(...skipping 2284 matching lines...) Expand 10 before | Expand all | Expand 10 after
3986 # settings in target dicts. SYMROOT is a special case, because many other 3994 # settings in target dicts. SYMROOT is a special case, because many other
3987 # Xcode variables depend on it, including variables such as 3995 # Xcode variables depend on it, including variables such as
3988 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3996 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3989 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3997 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3990 # files to appear (when present) in the UI as actual files and not red 3998 # files to appear (when present) in the UI as actual files and not red
3991 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3999 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3992 # and therefore SYMROOT, needs to be set at the project level. 4000 # and therefore SYMROOT, needs to be set at the project level.
3993 'SYMROOT': '<(DEPTH)/xcodebuild', 4001 'SYMROOT': '<(DEPTH)/xcodebuild',
3994 }, 4002 },
3995 } 4003 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/android/chrome_startup_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698