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

Side by Side Diff: build/common.gypi

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « build/android/surface_stats.py ('k') | build/config/compiler/BUILD.gn » ('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 621 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 # Variables to control Link-Time Optimizations (LTO). 632 # Variables to control Link-Time Optimizations (LTO).
633 # Note: the variables must *not* be enabled at the same time. 633 # Note: the variables must *not* be enabled at the same time.
634 # In this case LTO would 'merge' the optimization flags 634 # In this case LTO would 'merge' the optimization flags
635 # at link-time which would lead to all code be optimized with -O2. 635 # at link-time which would lead to all code be optimized with -O2.
636 # Enable LTO on the code compiled with -Os. 636 # Enable LTO on the code compiled with -Os.
637 # See crbug.com/407544 637 # See crbug.com/407544
638 'use_lto%': 0, 638 'use_lto%': 0,
639 # Enable LTO on code compiled with -O2. 639 # Enable LTO on code compiled with -O2.
640 'use_lto_o2%': 0, 640 'use_lto_o2%': 0,
641 641
642 # Libxkbcommon usage.
643 'use_xkbcommon%': 0,
644
642 'conditions': [ 645 'conditions': [
643 # A flag for POSIX platforms 646 # A flag for POSIX platforms
644 ['OS=="win"', { 647 ['OS=="win"', {
645 'os_posix%': 0, 648 'os_posix%': 0,
646 }, { 649 }, {
647 'os_posix%': 1, 650 'os_posix%': 1,
648 }], 651 }],
649 652
650 # A flag for BSD platforms 653 # A flag for BSD platforms
651 ['OS=="freebsd" or OS=="openbsd"', { 654 ['OS=="freebsd" or OS=="openbsd"', {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 'use_cairo%': 1, 702 'use_cairo%': 1,
700 }], 703 }],
701 704
702 # DBus usage. 705 # DBus usage.
703 ['OS=="linux" and embedded==0', { 706 ['OS=="linux" and embedded==0', {
704 'use_dbus%': 1, 707 'use_dbus%': 1,
705 }, { 708 }, {
706 'use_dbus%': 0, 709 'use_dbus%': 0,
707 }], 710 }],
708 711
709 # Libxkbcommon usage.
710 ['use_ozone==1 and embedded==0', {
711 'use_xkbcommon%': 1,
712 }, {
713 'use_xkbcommon%': 0,
714 }],
715
716 # We always use skia text rendering in Aura on Windows, since GDI 712 # We always use skia text rendering in Aura on Windows, since GDI
717 # doesn't agree with our BackingStore. 713 # doesn't agree with our BackingStore.
718 # TODO(beng): remove once skia text rendering is on by default. 714 # TODO(beng): remove once skia text rendering is on by default.
719 ['use_aura==1 and OS=="win"', { 715 ['use_aura==1 and OS=="win"', {
720 'enable_skia_text%': 1, 716 'enable_skia_text%': 1,
721 }], 717 }],
722 718
723 # A flag to enable or disable our compile-time dependency 719 # A flag to enable or disable our compile-time dependency
724 # on gnome-keyring. If that dependency is disabled, no gnome-keyring 720 # on gnome-keyring. If that dependency is disabled, no gnome-keyring
725 # support will be available. This option is useful 721 # support will be available. This option is useful
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 # Turn on JNI generation optimizations on non-WebView builds. 997 # Turn on JNI generation optimizations on non-WebView builds.
1002 ['OS=="android" and android_webview_build==0', { 998 ['OS=="android" and android_webview_build==0', {
1003 'optimize_jni_generation%': 1, 999 'optimize_jni_generation%': 1,
1004 }, { 1000 }, {
1005 'optimize_jni_generation%': 0, 1001 'optimize_jni_generation%': 0,
1006 }], 1002 }],
1007 1003
1008 # TODO(baixo): Enable v8_use_external_startup_data 1004 # TODO(baixo): Enable v8_use_external_startup_data
1009 # http://crbug.com/421063 1005 # http://crbug.com/421063
1010 ['android_webview_build==0 and android_webview_telemetry_build==0 and ch romecast==0 and chromeos==0 and (OS=="android" or OS=="linux" or OS=="mac")', { 1006 ['android_webview_build==0 and android_webview_telemetry_build==0 and ch romecast==0 and chromeos==0 and (OS=="android" or OS=="linux" or OS=="mac")', {
1011 'v8_use_external_startup_data': 1, 1007 'v8_use_external_startup_data%': 1,
1012 }, { 1008 }, {
1013 'v8_use_external_startup_data': 0, 1009 'v8_use_external_startup_data%': 0,
1014 }], 1010 }],
1015 ], 1011 ],
1016 1012
1017 # Set this to 1 to enable use of concatenated impulse responses 1013 # Set this to 1 to enable use of concatenated impulse responses
1018 # for the HRTF panner in WebAudio. 1014 # for the HRTF panner in WebAudio.
1019 'use_concatenated_impulse_responses': 1, 1015 'use_concatenated_impulse_responses': 1,
1020 1016
1021 # You can set the variable 'use_official_google_api_keys' to 1 1017 # You can set the variable 'use_official_google_api_keys' to 1
1022 # to use the Google-internal file containing official API keys 1018 # to use the Google-internal file containing official API keys
1023 # for Google Chrome even in a developer build. Setting this 1019 # for Google Chrome even in a developer build. Setting this
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1208 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension) ', 1204 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension) ',
1209 'v8_optimized_debug%': '<(v8_optimized_debug)', 1205 'v8_optimized_debug%': '<(v8_optimized_debug)',
1210 'proprietary_codecs%': '<(proprietary_codecs)', 1206 'proprietary_codecs%': '<(proprietary_codecs)',
1211 'use_goma%': '<(use_goma)', 1207 'use_goma%': '<(use_goma)',
1212 'gomadir%': '<(gomadir)', 1208 'gomadir%': '<(gomadir)',
1213 'use_lto%': '<(use_lto)', 1209 'use_lto%': '<(use_lto)',
1214 'use_lto_o2%': '<(use_lto_o2)', 1210 'use_lto_o2%': '<(use_lto_o2)',
1215 'video_hole%': '<(video_hole)', 1211 'video_hole%': '<(video_hole)',
1216 'enable_load_completion_hacks%': '<(enable_load_completion_hacks)', 1212 'enable_load_completion_hacks%': '<(enable_load_completion_hacks)',
1217 'support_pre_M6_history_database%': '<(support_pre_M6_history_database)', 1213 'support_pre_M6_history_database%': '<(support_pre_M6_history_database)',
1218 'v8_use_external_startup_data': '<(v8_use_external_startup_data)', 1214 'v8_use_external_startup_data%': '<(v8_use_external_startup_data)',
1219 1215
1220 # Whether or not we are building the Athena shell. 1216 # Whether or not we are building the Athena shell.
1221 'use_athena%': '0', 1217 'use_athena%': '0',
1222 1218
1223 # Use system protobuf instead of bundled one. 1219 # Use system protobuf instead of bundled one.
1224 'use_system_protobuf%': 0, 1220 'use_system_protobuf%': 0,
1225 1221
1226 # Use system yasm instead of bundled one. 1222 # Use system yasm instead of bundled one.
1227 'use_system_yasm%': 0, 1223 'use_system_yasm%': 0,
1228 1224
(...skipping 4617 matching lines...) Expand 10 before | Expand all | Expand 10 after
5846 # settings in target dicts. SYMROOT is a special case, because many other 5842 # settings in target dicts. SYMROOT is a special case, because many other
5847 # Xcode variables depend on it, including variables such as 5843 # Xcode variables depend on it, including variables such as
5848 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5844 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5849 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5845 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5850 # files to appear (when present) in the UI as actual files and not red 5846 # files to appear (when present) in the UI as actual files and not red
5851 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5847 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5852 # and therefore SYMROOT, needs to be set at the project level. 5848 # and therefore SYMROOT, needs to be set at the project level.
5853 'SYMROOT': '<(DEPTH)/xcodebuild', 5849 'SYMROOT': '<(DEPTH)/xcodebuild',
5854 }, 5850 },
5855 } 5851 }
OLDNEW
« no previous file with comments | « build/android/surface_stats.py ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698