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

Side by Side Diff: build/common.gypi

Issue 11361051: Remove dependency on language detection library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using enable_language_detection feature flag Created 8 years, 1 month 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 | Annotate | Revision Log
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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 279
280 # Enable Web Intents support in WebKit. 280 # Enable Web Intents support in WebKit.
281 'enable_web_intents%': 1, 281 'enable_web_intents%': 1,
282 282
283 # Enable Chrome browser extensions 283 # Enable Chrome browser extensions
284 'enable_extensions%': 1, 284 'enable_extensions%': 1,
285 285
286 # Enable browser automation. 286 # Enable browser automation.
287 'enable_automation%': 1, 287 'enable_automation%': 1,
288 288
289 # Enable language detection.
290 'enable_language_detection%': 1,
291
289 # Enable printing support and UI. 292 # Enable printing support and UI.
290 'enable_printing%': 1, 293 'enable_printing%': 1,
291 294
292 # Enable Web Intents web content registration via HTML element 295 # Enable Web Intents web content registration via HTML element
293 # and WebUI managing such registrations. 296 # and WebUI managing such registrations.
294 'enable_web_intents_tag%': 0, 297 'enable_web_intents_tag%': 0,
295 298
296 # Webrtc compilation is enabled by default. Set to 0 to disable. 299 # Webrtc compilation is enabled by default. Set to 0 to disable.
297 'enable_webrtc%': 1, 300 'enable_webrtc%': 1,
298 301
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 }, { 455 }, {
453 'file_manager_extension%': 0, 456 'file_manager_extension%': 0,
454 }], 457 }],
455 458
456 ['OS=="win" or OS=="mac" or (OS=="linux" and use_aura==0)', { 459 ['OS=="win" or OS=="mac" or (OS=="linux" and use_aura==0)', {
457 'enable_one_click_signin%': 1, 460 'enable_one_click_signin%': 1,
458 }], 461 }],
459 462
460 ['OS=="android"', { 463 ['OS=="android"', {
461 'enable_extensions%': 0, 464 'enable_extensions%': 0,
465 'enable_language_detection%': 0,
462 'enable_printing%': 0, 466 'enable_printing%': 0,
463 'enable_themes%': 0, 467 'enable_themes%': 0,
464 'enable_webrtc%': 0, 468 'enable_webrtc%': 0,
465 'proprietary_codecs%': 1, 469 'proprietary_codecs%': 1,
466 'remoting%': 0, 470 'remoting%': 0,
467 }], 471 }],
468 472
469 ['OS=="ios"', { 473 ['OS=="ios"', {
470 'configuration_policy%': 0, 474 'configuration_policy%': 0,
471 'disable_ftp_support%': 1, 475 'disable_ftp_support%': 1,
472 'enable_automation%': 0, 476 'enable_automation%': 0,
473 'enable_extensions%': 0, 477 'enable_extensions%': 0,
478 'enable_language_detection%': 0,
474 'enable_printing%': 0, 479 'enable_printing%': 0,
475 'enable_themes%': 0, 480 'enable_themes%': 0,
476 'enable_webrtc%': 0, 481 'enable_webrtc%': 0,
477 'notifications%': 0, 482 'notifications%': 0,
478 'remoting%': 0, 483 'remoting%': 0,
479 }], 484 }],
480 485
481 # Use GPU accelerated cross process image transport by default 486 # Use GPU accelerated cross process image transport by default
482 # on linux builds with the Aura window manager 487 # on linux builds with the Aura window manager
483 ['use_aura==1 and OS=="linux"', { 488 ['use_aura==1 and OS=="linux"', {
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 'enable_themes%': '<(enable_themes)', 650 'enable_themes%': '<(enable_themes)',
646 'use_oem_wallpaper%': '<(use_oem_wallpaper)', 651 'use_oem_wallpaper%': '<(use_oem_wallpaper)',
647 'enable_background%': '<(enable_background)', 652 'enable_background%': '<(enable_background)',
648 'linux_use_gold_binary%': '<(linux_use_gold_binary)', 653 'linux_use_gold_binary%': '<(linux_use_gold_binary)',
649 'linux_use_gold_flags%': '<(linux_use_gold_flags)', 654 'linux_use_gold_flags%': '<(linux_use_gold_flags)',
650 'use_canvas_skia%': '<(use_canvas_skia)', 655 'use_canvas_skia%': '<(use_canvas_skia)',
651 'test_isolation_mode%': '<(test_isolation_mode)', 656 'test_isolation_mode%': '<(test_isolation_mode)',
652 'test_isolation_outdir%': '<(test_isolation_outdir)', 657 'test_isolation_outdir%': '<(test_isolation_outdir)',
653 'enable_automation%': '<(enable_automation)', 658 'enable_automation%': '<(enable_automation)',
654 'enable_printing%': '<(enable_printing)', 659 'enable_printing%': '<(enable_printing)',
660 'enable_language_detection%': '<(enable_language_detection)',
655 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', 661 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
656 'disable_ftp_support%': '<(disable_ftp_support)', 662 'disable_ftp_support%': '<(disable_ftp_support)',
657 'enable_task_manager%': '<(enable_task_manager)', 663 'enable_task_manager%': '<(enable_task_manager)',
658 'sas_dll_path%': '<(sas_dll_path)', 664 'sas_dll_path%': '<(sas_dll_path)',
659 'wix_path%': '<(wix_path)', 665 'wix_path%': '<(wix_path)',
660 'android_upstream_bringup%': '<(android_upstream_bringup)', 666 'android_upstream_bringup%': '<(android_upstream_bringup)',
661 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', 667 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',
662 'use_system_libjpeg%': '<(use_system_libjpeg)', 668 'use_system_libjpeg%': '<(use_system_libjpeg)',
663 'android_build_type%': '<(android_build_type)', 669 'android_build_type%': '<(android_build_type)',
664 'use_official_google_api_keys%': '<(use_official_google_api_keys)', 670 'use_official_google_api_keys%': '<(use_official_google_api_keys)',
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after
1772 }], 1778 }],
1773 ['enable_themes==1', { 1779 ['enable_themes==1', {
1774 'defines': ['ENABLE_THEMES=1'], 1780 'defines': ['ENABLE_THEMES=1'],
1775 }], 1781 }],
1776 ['enable_background==1', { 1782 ['enable_background==1', {
1777 'defines': ['ENABLE_BACKGROUND=1'], 1783 'defines': ['ENABLE_BACKGROUND=1'],
1778 }], 1784 }],
1779 ['enable_automation==1', { 1785 ['enable_automation==1', {
1780 'defines': ['ENABLE_AUTOMATION=1'], 1786 'defines': ['ENABLE_AUTOMATION=1'],
1781 }], 1787 }],
1788 ['enable_language_detection==1', {
1789 'defines': ['ENABLE_LANGUAGE_DETECTION=1'],
1790 }],
1782 ['enable_printing==1', { 1791 ['enable_printing==1', {
1783 'defines': ['ENABLE_PRINTING=1'], 1792 'defines': ['ENABLE_PRINTING=1'],
1784 }], 1793 }],
1785 ['enable_captive_portal_detection==1', { 1794 ['enable_captive_portal_detection==1', {
1786 'defines': ['ENABLE_CAPTIVE_PORTAL_DETECTION=1'], 1795 'defines': ['ENABLE_CAPTIVE_PORTAL_DETECTION=1'],
1787 }], 1796 }],
1788 ['disable_ftp_support==1', { 1797 ['disable_ftp_support==1', {
1789 'defines': ['DISABLE_FTP_SUPPORT=1'], 1798 'defines': ['DISABLE_FTP_SUPPORT=1'],
1790 }], 1799 }],
1791 ], # conditions for 'target_defaults' 1800 ], # conditions for 'target_defaults'
(...skipping 1887 matching lines...) Expand 10 before | Expand all | Expand 10 after
3679 # settings in target dicts. SYMROOT is a special case, because many other 3688 # settings in target dicts. SYMROOT is a special case, because many other
3680 # Xcode variables depend on it, including variables such as 3689 # Xcode variables depend on it, including variables such as
3681 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3690 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3682 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3691 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3683 # files to appear (when present) in the UI as actual files and not red 3692 # files to appear (when present) in the UI as actual files and not red
3684 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3693 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3685 # and therefore SYMROOT, needs to be set at the project level. 3694 # and therefore SYMROOT, needs to be set at the project level.
3686 'SYMROOT': '<(DEPTH)/xcodebuild', 3695 'SYMROOT': '<(DEPTH)/xcodebuild',
3687 }, 3696 },
3688 } 3697 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | chrome/renderer/translate_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698