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 1527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1538 'ozone_platform_headless%': 0, | 1538 'ozone_platform_headless%': 0, |
1539 | 1539 |
1540 # Experiment: http://crbug.com/426914 | 1540 # Experiment: http://crbug.com/426914 |
1541 'envoy%': 0, | 1541 'envoy%': 0, |
1542 | 1542 |
1543 # Used to set libjpeg_gyp_path. Chrome OS ui/gfx/gfx.gyp uses the IJG path | 1543 # Used to set libjpeg_gyp_path. Chrome OS ui/gfx/gfx.gyp uses the IJG path |
1544 # for robust login screen decoding. | 1544 # for robust login screen decoding. |
1545 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp', | 1545 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp', |
1546 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp', | 1546 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp', |
1547 | 1547 |
| 1548 # ARC instance disabled by default. |
| 1549 'enable_arc%': 0, |
| 1550 |
1548 'conditions': [ | 1551 'conditions': [ |
1549 ['buildtype=="Official"', { | 1552 ['buildtype=="Official"', { |
1550 # Continue to embed build meta data in Official builds, basically the | 1553 # Continue to embed build meta data in Official builds, basically the |
1551 # time it was built. | 1554 # time it was built. |
1552 # TODO(maruel): This decision should be revisited because having an | 1555 # TODO(maruel): This decision should be revisited because having an |
1553 # official deterministic build has high value too but MSVC toolset can't | 1556 # official deterministic build has high value too but MSVC toolset can't |
1554 # generate anything deterministic with WPO enabled AFAIK. | 1557 # generate anything deterministic with WPO enabled AFAIK. |
1555 'dont_embed_build_metadata%': 0, | 1558 'dont_embed_build_metadata%': 0, |
1556 }], | 1559 }], |
1557 # Enable the Syzygy optimization step for the official builds. | 1560 # Enable the Syzygy optimization step for the official builds. |
(...skipping 1518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3076 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', { | 3079 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', { |
3077 'defines': ['USE_NSS_CERTS=1'], | 3080 'defines': ['USE_NSS_CERTS=1'], |
3078 }], | 3081 }], |
3079 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { | 3082 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { |
3080 'defines': ['OS_CHROMEOS=1'], | 3083 'defines': ['OS_CHROMEOS=1'], |
3081 }], | 3084 }], |
3082 ['enable_wexit_time_destructors==1 and OS!="win"', { | 3085 ['enable_wexit_time_destructors==1 and OS!="win"', { |
3083 # TODO: Enable on Windows too, http://crbug.com/404525 | 3086 # TODO: Enable on Windows too, http://crbug.com/404525 |
3084 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, | 3087 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, |
3085 }], | 3088 }], |
| 3089 ['<(enable_arc)==1', { |
| 3090 'defines': ['ENABLE_ARC=1'], |
| 3091 }], |
3086 ['chromium_code==0', { | 3092 ['chromium_code==0', { |
3087 'variables': { | 3093 'variables': { |
3088 'clang_warning_flags': [ | 3094 'clang_warning_flags': [ |
3089 # Lots of third-party libraries have unused variables. Instead of | 3095 # Lots of third-party libraries have unused variables. Instead of |
3090 # suppressing them individually, we just blanket suppress them here. | 3096 # suppressing them individually, we just blanket suppress them here. |
3091 '-Wno-unused-variable', | 3097 '-Wno-unused-variable', |
3092 ], | 3098 ], |
3093 }, | 3099 }, |
3094 'conditions': [ | 3100 'conditions': [ |
3095 [ 'os_posix==1 and OS!="mac" and OS!="ios"', { | 3101 [ 'os_posix==1 and OS!="mac" and OS!="ios"', { |
(...skipping 3255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6351 # settings in target dicts. SYMROOT is a special case, because many other | 6357 # settings in target dicts. SYMROOT is a special case, because many other |
6352 # Xcode variables depend on it, including variables such as | 6358 # Xcode variables depend on it, including variables such as |
6353 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6359 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6354 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6360 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6355 # files to appear (when present) in the UI as actual files and not red | 6361 # files to appear (when present) in the UI as actual files and not red |
6356 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6362 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6357 # and therefore SYMROOT, needs to be set at the project level. | 6363 # and therefore SYMROOT, needs to be set at the project level. |
6358 'SYMROOT': '<(DEPTH)/xcodebuild', | 6364 'SYMROOT': '<(DEPTH)/xcodebuild', |
6359 }, | 6365 }, |
6360 } | 6366 } |
OLD | NEW |