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 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
931 # used, but prefix headers will not be precompiled. This is useful when | 931 # used, but prefix headers will not be precompiled. This is useful when |
932 # using distcc to distribute a build to compile slaves that don't | 932 # using distcc to distribute a build to compile slaves that don't |
933 # share the same compiler executable as the system driving the compilation, | 933 # share the same compiler executable as the system driving the compilation, |
934 # because precompiled headers rely on pointers into a specific compiler | 934 # because precompiled headers rely on pointers into a specific compiler |
935 # executable's image. Setting this to 0 is needed to use an experimental | 935 # executable's image. Setting this to 0 is needed to use an experimental |
936 # Linux-Mac cross compiler distcc farm. | 936 # Linux-Mac cross compiler distcc farm. |
937 'chromium_mac_pch%': 1, | 937 'chromium_mac_pch%': 1, |
938 | 938 |
939 # The default value for mac_strip in target_defaults. This cannot be | 939 # The default value for mac_strip in target_defaults. This cannot be |
940 # set there, per the comment about variable% in a target_defaults. | 940 # set there, per the comment about variable% in a target_defaults. |
941 'mac_strip_release%': 0, | 941 'mac_strip_release%': 1, |
942 | 942 |
943 # Set to 1 to enable code coverage. In addition to build changes | 943 # Set to 1 to enable code coverage. In addition to build changes |
944 # (e.g. extra CFLAGS), also creates a new target in the src/chrome | 944 # (e.g. extra CFLAGS), also creates a new target in the src/chrome |
945 # project file called "coverage". | 945 # project file called "coverage". |
946 # Currently ignored on Windows. | 946 # Currently ignored on Windows. |
947 'coverage%': 0, | 947 'coverage%': 0, |
948 | 948 |
949 # Set to 1 to enable java code coverage. Instruments classes during build | 949 # Set to 1 to enable java code coverage. Instruments classes during build |
950 # to produce .ec files during runtime. | 950 # to produce .ec files during runtime. |
951 'emma_coverage%': 0, | 951 'emma_coverage%': 0, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1023 | 1023 |
1024 # Enable sampling based profiler. | 1024 # Enable sampling based profiler. |
1025 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html | 1025 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html |
1026 'profiling%': '0', | 1026 'profiling%': '0', |
1027 # Profile without optimizing out stack frames when profiling==1. | 1027 # Profile without optimizing out stack frames when profiling==1. |
1028 'profiling_full_stack_frames%': '0', | 1028 'profiling_full_stack_frames%': '0', |
1029 | 1029 |
1030 # Enable strict glibc debug mode. | 1030 # Enable strict glibc debug mode. |
1031 'glibcxx_debug%': 0, | 1031 'glibcxx_debug%': 0, |
1032 # And if we want to dump symbols for Breakpad-enabled builds. | 1032 # And if we want to dump symbols for Breakpad-enabled builds. |
1033 'linux_dump_symbols%': 1, | 1033 'linux_dump_symbols%': 0, |
1034 # And if we want to strip the binary after dumping symbols. | 1034 # And if we want to strip the binary after dumping symbols. |
1035 'linux_strip_binary%': 0, | 1035 'linux_strip_binary%': 0, |
1036 # Strip the test binaries needed for Linux reliability tests. | 1036 # Strip the test binaries needed for Linux reliability tests. |
1037 'linux_strip_reliability_tests%': 0, | 1037 'linux_strip_reliability_tests%': 0, |
1038 | 1038 |
1039 # Enable TCMalloc. | 1039 # Enable TCMalloc. |
1040 'linux_use_tcmalloc%': 1, | 1040 'linux_use_tcmalloc%': 1, |
1041 'android_use_tcmalloc%': 0, | 1041 'android_use_tcmalloc%': 0, |
1042 | 1042 |
1043 # Disable TCMalloc's heapchecker. | 1043 # Disable TCMalloc's heapchecker. |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1392 'android_webview_build%': '<(android_webview_build)', | 1392 'android_webview_build%': '<(android_webview_build)', |
1393 }], # OS=="android" | 1393 }], # OS=="android" |
1394 ['android_webview_build==1', { | 1394 ['android_webview_build==1', { |
1395 # When building the WebView in the Android tree, jarjar will remap all | 1395 # When building the WebView in the Android tree, jarjar will remap all |
1396 # the class names, so the JNI generator needs to know this. | 1396 # the class names, so the JNI generator needs to know this. |
1397 'jni_generator_jarjar_file': '../android_webview/build/jarjar-rules.txt'
, | 1397 'jni_generator_jarjar_file': '../android_webview/build/jarjar-rules.txt'
, |
1398 }], | 1398 }], |
1399 ['OS=="mac"', { | 1399 ['OS=="mac"', { |
1400 # Enable clang on mac by default! | 1400 # Enable clang on mac by default! |
1401 'clang%': 1, | 1401 'clang%': 1, |
1402 'conditions': [ | |
1403 # All Chrome builds have breakpad symbols, but only process the | |
1404 # symbols from official builds. | |
1405 ['(branding=="Chrome" and buildtype=="Official")', { | |
1406 'mac_strip_release%': 1, | |
1407 }], | |
1408 ], | |
1409 }], # OS=="mac" | 1402 }], # OS=="mac" |
1410 ['OS=="mac" or OS=="ios"', { | 1403 ['OS=="mac" or OS=="ios"', { |
1411 'variables': { | 1404 'variables': { |
1412 # Mac OS X SDK and deployment target support. The SDK identifies | 1405 # Mac OS X SDK and deployment target support. The SDK identifies |
1413 # the version of the system headers that will be used, and | 1406 # the version of the system headers that will be used, and |
1414 # corresponds to the MAC_OS_X_VERSION_MAX_ALLOWED compile-time | 1407 # corresponds to the MAC_OS_X_VERSION_MAX_ALLOWED compile-time |
1415 # macro. "Maximum allowed" refers to the operating system version | 1408 # macro. "Maximum allowed" refers to the operating system version |
1416 # whose APIs are available in the headers. The deployment target | 1409 # whose APIs are available in the headers. The deployment target |
1417 # identifies the minimum system version that the built products are | 1410 # identifies the minimum system version that the built products are |
1418 # expected to function on. It corresponds to the | 1411 # expected to function on. It corresponds to the |
(...skipping 3288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4707 # settings in target dicts. SYMROOT is a special case, because many other | 4700 # settings in target dicts. SYMROOT is a special case, because many other |
4708 # Xcode variables depend on it, including variables such as | 4701 # Xcode variables depend on it, including variables such as |
4709 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4702 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4710 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4703 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4711 # files to appear (when present) in the UI as actual files and not red | 4704 # files to appear (when present) in the UI as actual files and not red |
4712 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4705 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4713 # and therefore SYMROOT, needs to be set at the project level. | 4706 # and therefore SYMROOT, needs to be set at the project level. |
4714 'SYMROOT': '<(DEPTH)/xcodebuild', | 4707 'SYMROOT': '<(DEPTH)/xcodebuild', |
4715 }, | 4708 }, |
4716 } | 4709 } |
OLD | NEW |