| OLD | NEW |
| 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 | 239 |
| 240 # Whether one-click signin is enabled or not. | 240 # Whether one-click signin is enabled or not. |
| 241 'enable_one_click_signin%': 0, | 241 'enable_one_click_signin%': 0, |
| 242 | 242 |
| 243 # Enable Web Intents support in WebKit. | 243 # Enable Web Intents support in WebKit. |
| 244 'enable_web_intents%': 1, | 244 'enable_web_intents%': 1, |
| 245 | 245 |
| 246 # Enable Chrome browser extensions | 246 # Enable Chrome browser extensions |
| 247 'enable_extensions%': 1, | 247 'enable_extensions%': 1, |
| 248 | 248 |
| 249 # Enable browser automation. |
| 250 'enable_automation%': 1, |
| 251 |
| 252 # Enable printing support and UI. |
| 253 'enable_printing%': 1, |
| 254 |
| 249 # Enable Web Intents web content registration via HTML element | 255 # Enable Web Intents web content registration via HTML element |
| 250 # and WebUI managing such registrations. | 256 # and WebUI managing such registrations. |
| 251 'enable_web_intents_tag%': 0, | 257 'enable_web_intents_tag%': 0, |
| 252 | 258 |
| 253 # Webrtc compilation is enabled by default. Set to 0 to disable. | 259 # Webrtc compilation is enabled by default. Set to 0 to disable. |
| 254 'enable_webrtc%': 1, | 260 'enable_webrtc%': 1, |
| 255 | 261 |
| 256 # PPAPI by default does not support plugins making calls off the main | 262 # PPAPI by default does not support plugins making calls off the main |
| 257 # thread. Set to 1 to turn on experimental support for out-of-process | 263 # thread. Set to 1 to turn on experimental support for out-of-process |
| 258 # plugins to make call of the main thread. | 264 # plugins to make call of the main thread. |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 | 472 |
| 467 # linux_use_gold_flags: whether to use build flags that rely on gold. | 473 # linux_use_gold_flags: whether to use build flags that rely on gold. |
| 468 # On by default for x64 Linux. Temporarily off for ChromeOS as | 474 # On by default for x64 Linux. Temporarily off for ChromeOS as |
| 469 # it failed on a buildbot. | 475 # it failed on a buildbot. |
| 470 ['OS=="linux" and chromeos==0', { | 476 ['OS=="linux" and chromeos==0', { |
| 471 'linux_use_gold_flags%': 1, | 477 'linux_use_gold_flags%': 1, |
| 472 }, { | 478 }, { |
| 473 'linux_use_gold_flags%': 0, | 479 'linux_use_gold_flags%': 0, |
| 474 }], | 480 }], |
| 475 | 481 |
| 476 # Enable automation on platforms other than Android. | |
| 477 ['OS=="android"', { | |
| 478 'enable_automation%': 0, | |
| 479 }, { | |
| 480 'enable_automation%': 1, | |
| 481 }], | |
| 482 | |
| 483 # Enable Skia UI text drawing incrementally on different platforms. | 482 # Enable Skia UI text drawing incrementally on different platforms. |
| 484 # http://crbug.com/105550 | 483 # http://crbug.com/105550 |
| 485 # | 484 # |
| 486 # On Aura, this allows per-tile painting to be used in the browser | 485 # On Aura, this allows per-tile painting to be used in the browser |
| 487 # compositor. | 486 # compositor. |
| 488 ['OS!="mac" and OS!="android"', { | 487 ['OS!="mac" and OS!="android"', { |
| 489 'use_canvas_skia%': 1, | 488 'use_canvas_skia%': 1, |
| 490 }], | 489 }], |
| 491 ], | 490 ], |
| 492 }, | 491 }, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 552 'enable_session_service%': '<(enable_session_service)', | 551 'enable_session_service%': '<(enable_session_service)', |
| 553 'enable_themes%': '<(enable_themes)', | 552 'enable_themes%': '<(enable_themes)', |
| 554 'enable_background%': '<(enable_background)', | 553 'enable_background%': '<(enable_background)', |
| 555 'enable_promo_resource_service%': '<(enable_promo_resource_service)', | 554 'enable_promo_resource_service%': '<(enable_promo_resource_service)', |
| 556 'linux_use_gold_binary%': '<(linux_use_gold_binary)', | 555 'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
| 557 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 556 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
| 558 'use_canvas_skia%': '<(use_canvas_skia)', | 557 'use_canvas_skia%': '<(use_canvas_skia)', |
| 559 'test_isolation_mode%': '<(test_isolation_mode)', | 558 'test_isolation_mode%': '<(test_isolation_mode)', |
| 560 'test_isolation_outdir%': '<(test_isolation_outdir)', | 559 'test_isolation_outdir%': '<(test_isolation_outdir)', |
| 561 'enable_automation%': '<(enable_automation)', | 560 'enable_automation%': '<(enable_automation)', |
| 561 'enable_printing%': '<(enable_printing)', |
| 562 'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)', | 562 'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)', |
| 563 'enable_task_manager%': '<(enable_task_manager)', | 563 'enable_task_manager%': '<(enable_task_manager)', |
| 564 'platformsdk_path%': '<(platformsdk_path)', | 564 'platformsdk_path%': '<(platformsdk_path)', |
| 565 'wix_path%': '<(wix_path)', | 565 'wix_path%': '<(wix_path)', |
| 566 'android_upstream_bringup%': '<(android_upstream_bringup)', | 566 'android_upstream_bringup%': '<(android_upstream_bringup)', |
| 567 | 567 |
| 568 # Use system yasm instead of bundled one. | 568 # Use system yasm instead of bundled one. |
| 569 'use_system_yasm%': 0, | 569 'use_system_yasm%': 0, |
| 570 | 570 |
| 571 # Default to enabled PIE; this is important for ASLR but we may need to be | 571 # Default to enabled PIE; this is important for ASLR but we may need to be |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 868 # Always uses openssl. | 868 # Always uses openssl. |
| 869 'use_openssl%': 1, | 869 'use_openssl%': 1, |
| 870 | 870 |
| 871 'proprietary_codecs%': '<(proprietary_codecs)', | 871 'proprietary_codecs%': '<(proprietary_codecs)', |
| 872 'enable_task_manager%': 0, | 872 'enable_task_manager%': 0, |
| 873 'safe_browsing%': 0, | 873 'safe_browsing%': 0, |
| 874 'configuration_policy%': 0, | 874 'configuration_policy%': 0, |
| 875 'input_speech%': 0, | 875 'input_speech%': 0, |
| 876 'enable_web_intents%': 0, | 876 'enable_web_intents%': 0, |
| 877 'enable_extensions%': 0, | 877 'enable_extensions%': 0, |
| 878 'enable_automation%': 0, |
| 879 'enable_printing%': 0, |
| 878 'java_bridge%': 1, | 880 'java_bridge%': 1, |
| 881 |
| 879 # Android does not support themes. | 882 # Android does not support themes. |
| 880 'enable_themes%': 0, | 883 'enable_themes%': 0, |
| 881 | 884 |
| 882 # Android does not support background apps. | 885 # Android does not support background apps. |
| 883 'enable_background%': 0, | 886 'enable_background%': 0, |
| 884 | 887 |
| 885 # Android does not support promo resources service. | 888 # Android does not support promo resources service. |
| 886 'enable_promo_resource_service%': 0, | 889 'enable_promo_resource_service%': 0, |
| 887 | 890 |
| 888 # Sessions are store separately in the Java side. | 891 # Sessions are store separately in the Java side. |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1066 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', | 1069 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', |
| 1067 'ka', 'ku', 'kw', 'ms', 'ug' | 1070 'ka', 'ku', 'kw', 'ms', 'ug' |
| 1068 ], | 1071 ], |
| 1069 }], | 1072 }], |
| 1070 ['OS=="android"', { | 1073 ['OS=="android"', { |
| 1071 'grit_defines': ['-D', 'android'], | 1074 'grit_defines': ['-D', 'android'], |
| 1072 }], | 1075 }], |
| 1073 ['enable_extensions==1', { | 1076 ['enable_extensions==1', { |
| 1074 'grit_defines': ['-D', 'enable_extensions'], | 1077 'grit_defines': ['-D', 'enable_extensions'], |
| 1075 }], | 1078 }], |
| 1079 ['enable_printing==1', { |
| 1080 'grit_defines': ['-D', 'enable_printing'], |
| 1081 }], |
| 1076 ['clang_use_chrome_plugins==1 and OS!="win"', { | 1082 ['clang_use_chrome_plugins==1 and OS!="win"', { |
| 1077 'variables': { | 1083 'variables': { |
| 1078 'clang_chrome_plugins_flags': [ | 1084 'clang_chrome_plugins_flags': [ |
| 1079 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' | 1085 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' |
| 1080 ], | 1086 ], |
| 1081 }, | 1087 }, |
| 1082 'conditions': [ | 1088 'conditions': [ |
| 1083 ['chromeos==1', { | 1089 ['chromeos==1', { |
| 1084 # TODO(rsleevi): http://crbug.com/123295 - Disabled on ChromeOS | 1090 # TODO(rsleevi): http://crbug.com/123295 - Disabled on ChromeOS |
| 1085 # for now. | 1091 # for now. |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1500 }], | 1506 }], |
| 1501 ['enable_background==1', { | 1507 ['enable_background==1', { |
| 1502 'defines': ['ENABLE_BACKGROUND=1'], | 1508 'defines': ['ENABLE_BACKGROUND=1'], |
| 1503 }], | 1509 }], |
| 1504 ['enable_promo_resource_service==1', { | 1510 ['enable_promo_resource_service==1', { |
| 1505 'defines': ['ENABLE_PROMO_RESOURCE_SERVICE=1'], | 1511 'defines': ['ENABLE_PROMO_RESOURCE_SERVICE=1'], |
| 1506 }], | 1512 }], |
| 1507 ['enable_automation==1', { | 1513 ['enable_automation==1', { |
| 1508 'defines': ['ENABLE_AUTOMATION=1'], | 1514 'defines': ['ENABLE_AUTOMATION=1'], |
| 1509 }], | 1515 }], |
| 1516 ['enable_printing==1', { |
| 1517 'defines': ['ENABLE_PRINTING=1'], |
| 1518 }], |
| 1510 ], # conditions for 'target_defaults' | 1519 ], # conditions for 'target_defaults' |
| 1511 'target_conditions': [ | 1520 'target_conditions': [ |
| 1512 ['enable_wexit_time_destructors==1', { | 1521 ['enable_wexit_time_destructors==1', { |
| 1513 'conditions': [ | 1522 'conditions': [ |
| 1514 [ 'clang==1', { | 1523 [ 'clang==1', { |
| 1515 'cflags': [ | 1524 'cflags': [ |
| 1516 '-Wexit-time-destructors', | 1525 '-Wexit-time-destructors', |
| 1517 ], | 1526 ], |
| 1518 'xcode_settings': { | 1527 'xcode_settings': { |
| 1519 'WARNING_CFLAGS': [ | 1528 'WARNING_CFLAGS': [ |
| (...skipping 1595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3115 # settings in target dicts. SYMROOT is a special case, because many other | 3124 # settings in target dicts. SYMROOT is a special case, because many other |
| 3116 # Xcode variables depend on it, including variables such as | 3125 # Xcode variables depend on it, including variables such as |
| 3117 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3126 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 3118 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3127 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 3119 # files to appear (when present) in the UI as actual files and not red | 3128 # files to appear (when present) in the UI as actual files and not red |
| 3120 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3129 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 3121 # and therefore SYMROOT, needs to be set at the project level. | 3130 # and therefore SYMROOT, needs to be set at the project level. |
| 3122 'SYMROOT': '<(DEPTH)/xcodebuild', | 3131 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 3123 }, | 3132 }, |
| 3124 } | 3133 } |
| OLD | NEW |