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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
411 # See https://sites.google.com/a/google.com/chrome-msk/dev/boot-speed-up-e ffort | 411 # See https://sites.google.com/a/google.com/chrome-msk/dev/boot-speed-up-e ffort |
412 'order_text_section%' : "", | 412 'order_text_section%' : "", |
413 | 413 |
414 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared | 414 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared |
415 # libraries on linux x86-64 and arm, plus ASLR. | 415 # libraries on linux x86-64 and arm, plus ASLR. |
416 'linux_fpic%': 1, | 416 'linux_fpic%': 1, |
417 | 417 |
418 # Whether one-click signin is enabled or not. | 418 # Whether one-click signin is enabled or not. |
419 'enable_one_click_signin%': 0, | 419 'enable_one_click_signin%': 0, |
420 | 420 |
421 # Whether to back up data before sync. | |
422 'enable_pre_sync_backup%': 0, | |
423 | |
421 # Enable Chrome browser extensions | 424 # Enable Chrome browser extensions |
422 'enable_extensions%': 1, | 425 'enable_extensions%': 1, |
423 | 426 |
424 # Enable Google Now. | 427 # Enable Google Now. |
425 'enable_google_now%': 1, | 428 'enable_google_now%': 1, |
426 | 429 |
427 # Enable printing support and UI. This variable is used to configure | 430 # Enable printing support and UI. This variable is used to configure |
428 # which parts of printing will be built. 0 disables printing completely, | 431 # which parts of printing will be built. 0 disables printing completely, |
429 # 1 enables it fully, and 2 enables only the codepath to generate a | 432 # 1 enables it fully, and 2 enables only the codepath to generate a |
430 # Metafile (e.g. usually a PDF or EMF) and disables print preview, cloud | 433 # Metafile (e.g. usually a PDF or EMF) and disables print preview, cloud |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
669 'use_titlecase_in_grd_files%': 1, | 672 'use_titlecase_in_grd_files%': 1, |
670 }], | 673 }], |
671 | 674 |
672 # Enable loader extensions on Chrome OS. | 675 # Enable loader extensions on Chrome OS. |
673 ['chromeos==1', { | 676 ['chromeos==1', { |
674 'image_loader_extension%': 1, | 677 'image_loader_extension%': 1, |
675 }, { | 678 }, { |
676 'image_loader_extension%': 0, | 679 'image_loader_extension%': 0, |
677 }], | 680 }], |
678 | 681 |
679 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { | 682 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { |
pvalenzuela1
2014/06/19 00:15:58
Based on the CL description (and the changes here)
haitaol1
2014/06/19 16:36:31
Because there's only one OS variable, it can't be
pvalenzuela1
2014/06/19 18:30:21
Ah, you're right. I misread. This should work; you
| |
680 'enable_one_click_signin%': 1, | 683 'enable_one_click_signin%': 1, |
684 'enable_pre_sync_backup%': 1, | |
681 }], | 685 }], |
682 | 686 |
683 ['OS=="android"', { | 687 ['OS=="android"', { |
684 'enable_extensions%': 0, | 688 'enable_extensions%': 0, |
685 'enable_google_now%': 0, | 689 'enable_google_now%': 0, |
686 'cld_version%': 1, | 690 'cld_version%': 1, |
687 'cld2_dynamic%': 0, | 691 'cld2_dynamic%': 0, |
688 'cld2_is_component%': 0, | 692 'cld2_is_component%': 0, |
689 'enable_spellcheck%': 0, | 693 'enable_spellcheck%': 0, |
690 'enable_themes%': 0, | 694 'enable_themes%': 0, |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1035 'arm_neon_optional%': '<(arm_neon_optional)', | 1039 'arm_neon_optional%': '<(arm_neon_optional)', |
1036 'sysroot%': '<(sysroot)', | 1040 'sysroot%': '<(sysroot)', |
1037 'chroot_cmd%': '<(chroot_cmd)', | 1041 'chroot_cmd%': '<(chroot_cmd)', |
1038 'system_libdir%': '<(system_libdir)', | 1042 'system_libdir%': '<(system_libdir)', |
1039 'component%': '<(component)', | 1043 'component%': '<(component)', |
1040 'enable_resource_whitelist_generation%': '<(enable_resource_whitelist_genera tion)', | 1044 'enable_resource_whitelist_generation%': '<(enable_resource_whitelist_genera tion)', |
1041 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', | 1045 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', |
1042 'use_third_party_translations%': '<(use_third_party_translations)', | 1046 'use_third_party_translations%': '<(use_third_party_translations)', |
1043 'remoting%': '<(remoting)', | 1047 'remoting%': '<(remoting)', |
1044 'enable_one_click_signin%': '<(enable_one_click_signin)', | 1048 'enable_one_click_signin%': '<(enable_one_click_signin)', |
1049 'enable_pre_sync_backup%': '<(enable_pre_sync_backup)', | |
1045 'enable_webrtc%': '<(enable_webrtc)', | 1050 'enable_webrtc%': '<(enable_webrtc)', |
1046 'chromium_win_pch%': '<(chromium_win_pch)', | 1051 'chromium_win_pch%': '<(chromium_win_pch)', |
1047 'configuration_policy%': '<(configuration_policy)', | 1052 'configuration_policy%': '<(configuration_policy)', |
1048 'safe_browsing%': '<(safe_browsing)', | 1053 'safe_browsing%': '<(safe_browsing)', |
1049 'input_speech%': '<(input_speech)', | 1054 'input_speech%': '<(input_speech)', |
1050 'notifications%': '<(notifications)', | 1055 'notifications%': '<(notifications)', |
1051 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 1056 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
1052 'mac_want_real_dsym%': '<(mac_want_real_dsym)', | 1057 'mac_want_real_dsym%': '<(mac_want_real_dsym)', |
1053 'asan%': '<(asan)', | 1058 'asan%': '<(asan)', |
1054 'asan_coverage%': '<(asan_coverage)', | 1059 'asan_coverage%': '<(asan_coverage)', |
(...skipping 1397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2452 }], | 2457 }], |
2453 ['use_x11==1', { | 2458 ['use_x11==1', { |
2454 'defines': ['USE_X11=1'], | 2459 'defines': ['USE_X11=1'], |
2455 }], | 2460 }], |
2456 ['use_clipboard_aurax11==1', { | 2461 ['use_clipboard_aurax11==1', { |
2457 'defines': ['USE_CLIPBOARD_AURAX11=1'], | 2462 'defines': ['USE_CLIPBOARD_AURAX11=1'], |
2458 }], | 2463 }], |
2459 ['enable_one_click_signin==1', { | 2464 ['enable_one_click_signin==1', { |
2460 'defines': ['ENABLE_ONE_CLICK_SIGNIN'], | 2465 'defines': ['ENABLE_ONE_CLICK_SIGNIN'], |
2461 }], | 2466 }], |
2467 ['enable_pre_sync_backup==1', { | |
2468 'defines': ['ENABLE_PRE_SYNC_BACKUP'], | |
2469 }], | |
2462 ['use_xi2_mt!=0 and use_x11==1', { | 2470 ['use_xi2_mt!=0 and use_x11==1', { |
2463 'defines': ['USE_XI2_MT=<(use_xi2_mt)'], | 2471 'defines': ['USE_XI2_MT=<(use_xi2_mt)'], |
2464 }], | 2472 }], |
2465 ['image_loader_extension==1', { | 2473 ['image_loader_extension==1', { |
2466 'defines': ['IMAGE_LOADER_EXTENSION=1'], | 2474 'defines': ['IMAGE_LOADER_EXTENSION=1'], |
2467 }], | 2475 }], |
2468 ['profiling==1', { | 2476 ['profiling==1', { |
2469 'defines': ['ENABLE_PROFILING=1'], | 2477 'defines': ['ENABLE_PROFILING=1'], |
2470 }], | 2478 }], |
2471 ['remoting==1', { | 2479 ['remoting==1', { |
(...skipping 2993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5465 # settings in target dicts. SYMROOT is a special case, because many other | 5473 # settings in target dicts. SYMROOT is a special case, because many other |
5466 # Xcode variables depend on it, including variables such as | 5474 # Xcode variables depend on it, including variables such as |
5467 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5475 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5468 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5476 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5469 # files to appear (when present) in the UI as actual files and not red | 5477 # files to appear (when present) in the UI as actual files and not red |
5470 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5478 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5471 # and therefore SYMROOT, needs to be set at the project level. | 5479 # and therefore SYMROOT, needs to be set at the project level. |
5472 'SYMROOT': '<(DEPTH)/xcodebuild', | 5480 'SYMROOT': '<(DEPTH)/xcodebuild', |
5473 }, | 5481 }, |
5474 } | 5482 } |
OLD | NEW |