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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 # provide a build speedup of 20-25%. There are a couple of | 255 # provide a build speedup of 20-25%. There are a couple of |
256 # small workarounds you may need to use when using VS 2008 (but | 256 # small workarounds you may need to use when using VS 2008 (but |
257 # not 2010), see | 257 # not 2010), see |
258 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders | 258 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders |
259 # for details. | 259 # for details. |
260 'chromium_win_pch%': 0, | 260 'chromium_win_pch%': 0, |
261 | 261 |
262 # Enable plug-in installation by default. | 262 # Enable plug-in installation by default. |
263 'enable_plugin_installation%': 1, | 263 'enable_plugin_installation%': 1, |
264 | 264 |
| 265 # Enable protector service by default. |
| 266 'enable_protector_service%': 1, |
| 267 |
265 # Specifies whether to use canvas_skia.cc in place of platform | 268 # Specifies whether to use canvas_skia.cc in place of platform |
266 # specific implementations of gfx::Canvas. Affects text drawing in the | 269 # specific implementations of gfx::Canvas. Affects text drawing in the |
267 # Chrome UI. | 270 # Chrome UI. |
268 # TODO(asvitkine): Enable this on all platforms and delete this flag. | 271 # TODO(asvitkine): Enable this on all platforms and delete this flag. |
269 # http://crbug.com/105550 | 272 # http://crbug.com/105550 |
270 'use_canvas_skia%': 0, | 273 'use_canvas_skia%': 0, |
271 | 274 |
272 # Set to "tsan", "memcheck", or "drmemory" to configure the build to work | 275 # Set to "tsan", "memcheck", or "drmemory" to configure the build to work |
273 # with one of those tools. | 276 # with one of those tools. |
274 'build_for_tool%': '', | 277 'build_for_tool%': '', |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 ['OS=="win" and MSVS_VERSION=="2010"', { | 393 ['OS=="win" and MSVS_VERSION=="2010"', { |
391 'chromium_win_pch%': 1 | 394 'chromium_win_pch%': 1 |
392 }], | 395 }], |
393 | 396 |
394 ['use_aura==1 or chromeos==1 or OS=="android"', { | 397 ['use_aura==1 or chromeos==1 or OS=="android"', { |
395 'enable_plugin_installation%': 0, | 398 'enable_plugin_installation%': 0, |
396 }, { | 399 }, { |
397 'enable_plugin_installation%': 1, | 400 'enable_plugin_installation%': 1, |
398 }], | 401 }], |
399 | 402 |
| 403 ['OS=="android"', { |
| 404 'enable_protector_service%': 0, |
| 405 }, { |
| 406 'enable_protector_service%': 1, |
| 407 }], |
| 408 |
400 # linux_use_gold_binary: whether to use the binary checked into | 409 # linux_use_gold_binary: whether to use the binary checked into |
401 # third_party/gold. | 410 # third_party/gold. |
402 ['OS=="linux"', { | 411 ['OS=="linux"', { |
403 'linux_use_gold_binary%': 1, | 412 'linux_use_gold_binary%': 1, |
404 }, { | 413 }, { |
405 'linux_use_gold_binary%': 0, | 414 'linux_use_gold_binary%': 0, |
406 }], | 415 }], |
407 | 416 |
408 # linux_use_gold_flags: whether to use build flags that rely on gold. | 417 # linux_use_gold_flags: whether to use build flags that rely on gold. |
409 # On by default for x64 Linux. Temporarily off for ChromeOS as | 418 # On by default for x64 Linux. Temporarily off for ChromeOS as |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 'safe_browsing%': '<(safe_browsing)', | 489 'safe_browsing%': '<(safe_browsing)', |
481 'input_speech%': '<(input_speech)', | 490 'input_speech%': '<(input_speech)', |
482 'notifications%': '<(notifications)', | 491 'notifications%': '<(notifications)', |
483 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 492 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
484 'asan%': '<(asan)', | 493 'asan%': '<(asan)', |
485 'order_text_section%': '<(order_text_section)', | 494 'order_text_section%': '<(order_text_section)', |
486 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', | 495 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
487 'enable_web_intents%': '<(enable_web_intents)', | 496 'enable_web_intents%': '<(enable_web_intents)', |
488 'enable_web_intents_tag%': '<(enable_web_intents_tag)', | 497 'enable_web_intents_tag%': '<(enable_web_intents_tag)', |
489 'enable_plugin_installation%': '<(enable_plugin_installation)', | 498 'enable_plugin_installation%': '<(enable_plugin_installation)', |
| 499 'enable_protector_service%': '<(enable_protector_service)', |
490 'enable_themes%': '<(enable_themes)', | 500 'enable_themes%': '<(enable_themes)', |
491 'linux_use_gold_binary%': '<(linux_use_gold_binary)', | 501 'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
492 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 502 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
493 'use_canvas_skia%': '<(use_canvas_skia)', | 503 'use_canvas_skia%': '<(use_canvas_skia)', |
494 'tests_run%': '<(tests_run)', | 504 'tests_run%': '<(tests_run)', |
495 'enable_automation%': '<(enable_automation)', | 505 'enable_automation%': '<(enable_automation)', |
496 'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)', | 506 'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)', |
497 | 507 |
498 # Whether to build for Wayland display server | 508 # Whether to build for Wayland display server |
499 'use_wayland%': 0, | 509 'use_wayland%': 0, |
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1352 }], | 1362 }], |
1353 ['OS=="win" and branding=="Chrome"', { | 1363 ['OS=="win" and branding=="Chrome"', { |
1354 'defines': ['ENABLE_SWIFTSHADER'], | 1364 'defines': ['ENABLE_SWIFTSHADER'], |
1355 }], | 1365 }], |
1356 ['enable_dart==1', { | 1366 ['enable_dart==1', { |
1357 'defines': ['WEBKIT_USING_DART=1'], | 1367 'defines': ['WEBKIT_USING_DART=1'], |
1358 }], | 1368 }], |
1359 ['enable_plugin_installation==1', { | 1369 ['enable_plugin_installation==1', { |
1360 'defines': ['ENABLE_PLUGIN_INSTALLATION=1'], | 1370 'defines': ['ENABLE_PLUGIN_INSTALLATION=1'], |
1361 }], | 1371 }], |
| 1372 ['enable_protector_service==1', { |
| 1373 'defines': ['ENABLE_PROTECTOR_SERVICE=1'], |
| 1374 }], |
1362 ['enable_themes==1', { | 1375 ['enable_themes==1', { |
1363 'defines': ['ENABLE_THEMES=1'], | 1376 'defines': ['ENABLE_THEMES=1'], |
1364 }], | 1377 }], |
1365 ['enable_automation==1', { | 1378 ['enable_automation==1', { |
1366 'defines': ['ENABLE_AUTOMATION=1'], | 1379 'defines': ['ENABLE_AUTOMATION=1'], |
1367 }], | 1380 }], |
1368 ], # conditions for 'target_defaults' | 1381 ], # conditions for 'target_defaults' |
1369 'target_conditions': [ | 1382 'target_conditions': [ |
1370 ['enable_wexit_time_destructors==1', { | 1383 ['enable_wexit_time_destructors==1', { |
1371 'conditions': [ | 1384 'conditions': [ |
(...skipping 1572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2944 # settings in target dicts. SYMROOT is a special case, because many other | 2957 # settings in target dicts. SYMROOT is a special case, because many other |
2945 # Xcode variables depend on it, including variables such as | 2958 # Xcode variables depend on it, including variables such as |
2946 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2959 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2947 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2960 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2948 # files to appear (when present) in the UI as actual files and not red | 2961 # files to appear (when present) in the UI as actual files and not red |
2949 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2962 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2950 # and therefore SYMROOT, needs to be set at the project level. | 2963 # and therefore SYMROOT, needs to be set at the project level. |
2951 'SYMROOT': '<(DEPTH)/xcodebuild', | 2964 'SYMROOT': '<(DEPTH)/xcodebuild', |
2952 }, | 2965 }, |
2953 } | 2966 } |
OLD | NEW |