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

Side by Side Diff: build/common.gypi

Issue 20210002: [Android] Sets up a coverage system for java using EMMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Break apart native and java coverage flags for gyp Created 7 years, 4 months 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
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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 # share the same compiler executable as the system driving the compilation, 897 # share the same compiler executable as the system driving the compilation,
898 # because precompiled headers rely on pointers into a specific compiler 898 # because precompiled headers rely on pointers into a specific compiler
899 # executable's image. Setting this to 0 is needed to use an experimental 899 # executable's image. Setting this to 0 is needed to use an experimental
900 # Linux-Mac cross compiler distcc farm. 900 # Linux-Mac cross compiler distcc farm.
901 'chromium_mac_pch%': 1, 901 'chromium_mac_pch%': 1,
902 902
903 # The default value for mac_strip in target_defaults. This cannot be 903 # The default value for mac_strip in target_defaults. This cannot be
904 # set there, per the comment about variable% in a target_defaults. 904 # set there, per the comment about variable% in a target_defaults.
905 'mac_strip_release%': 1, 905 'mac_strip_release%': 1,
906 906
907 # Set to 1 to enable code coverage. In addition to build changes 907 # Set to 1 to enable native code coverage. In addition to build changes
908 # (e.g. extra CFLAGS), also creates a new target in the src/chrome 908 # (e.g. extra CFLAGS), also creates a new target in the src/chrome
909 # project file called "coverage". 909 # project file called "coverage".
910 # Currently ignored on Windows. 910 # Currently ignored on Windows.
911 'coverage%': 0, 911 'coverage%': 0,
912 912
913 # Set to 1 to enable java code coverage. Instruments classes during build
914 # to produce .ec files during runtime.
915 'emma_coverage%': 0,
916
913 # Set to 1 to force Visual C++ to use legacy debug information format /Z7. 917 # Set to 1 to force Visual C++ to use legacy debug information format /Z7.
914 # This is useful for parallel compilation tools which can't support /Zi. 918 # This is useful for parallel compilation tools which can't support /Zi.
915 # Only used on Windows. 919 # Only used on Windows.
916 'win_z7%' : 0, 920 'win_z7%' : 0,
917 921
918 # Although base/allocator lets you select a heap library via an 922 # Although base/allocator lets you select a heap library via an
919 # environment variable, the libcmt shim it uses sometimes gets in 923 # environment variable, the libcmt shim it uses sometimes gets in
920 # the way. To disable it entirely, and switch to normal msvcrt, do e.g. 924 # the way. To disable it entirely, and switch to normal msvcrt, do e.g.
921 # 'win_use_allocator_shim': 0, 925 # 'win_use_allocator_shim': 0,
922 # 'win_release_RuntimeLibrary': 2 926 # 'win_release_RuntimeLibrary': 2
(...skipping 3786 matching lines...) Expand 10 before | Expand all | Expand 10 after
4709 # settings in target dicts. SYMROOT is a special case, because many other 4713 # settings in target dicts. SYMROOT is a special case, because many other
4710 # Xcode variables depend on it, including variables such as 4714 # Xcode variables depend on it, including variables such as
4711 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4715 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4712 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4716 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4713 # files to appear (when present) in the UI as actual files and not red 4717 # files to appear (when present) in the UI as actual files and not red
4714 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4718 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4715 # and therefore SYMROOT, needs to be set at the project level. 4719 # and therefore SYMROOT, needs to be set at the project level.
4716 'SYMROOT': '<(DEPTH)/xcodebuild', 4720 'SYMROOT': '<(DEPTH)/xcodebuild',
4717 }, 4721 },
4718 } 4722 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698