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

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: Fixes dex/obfuscate actions slightly 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 888 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 # The default value for mac_strip in target_defaults. This cannot be 899 # The default value for mac_strip in target_defaults. This cannot be
900 # set there, per the comment about variable% in a target_defaults. 900 # set there, per the comment about variable% in a target_defaults.
901 'mac_strip_release%': 1, 901 'mac_strip_release%': 1,
902 902
903 # Set to 1 to enable code coverage. In addition to build changes 903 # Set to 1 to enable code coverage. In addition to build changes
904 # (e.g. extra CFLAGS), also creates a new target in the src/chrome 904 # (e.g. extra CFLAGS), also creates a new target in the src/chrome
905 # project file called "coverage". 905 # project file called "coverage".
906 # Currently ignored on Windows. 906 # Currently ignored on Windows.
907 'coverage%': 0, 907 'coverage%': 0,
908 908
909 # Set to '<(coverage)' by individual targets which should be instrumented
910 # when coverage is enabled.
911 'emma_instrument%': 0,
cjhopman 2013/08/09 18:54:37 If this is set by individual targets (i.e. not con
gkanwar1 2013/08/09 23:32:53 This is only set to 1 by targets we want to instru
cjhopman 2013/08/10 00:11:47 You can set the default in the .gypi files that us
gkanwar1 2013/08/12 18:19:10 Ah, got it. Done.
912
909 # Set to 1 to force Visual C++ to use legacy debug information format /Z7. 913 # Set to 1 to force Visual C++ to use legacy debug information format /Z7.
910 # This is useful for parallel compilation tools which can't support /Zi. 914 # This is useful for parallel compilation tools which can't support /Zi.
911 # Only used on Windows. 915 # Only used on Windows.
912 'win_z7%' : 0, 916 'win_z7%' : 0,
913 917
914 # Although base/allocator lets you select a heap library via an 918 # Although base/allocator lets you select a heap library via an
915 # environment variable, the libcmt shim it uses sometimes gets in 919 # environment variable, the libcmt shim it uses sometimes gets in
916 # the way. To disable it entirely, and switch to normal msvcrt, do e.g. 920 # the way. To disable it entirely, and switch to normal msvcrt, do e.g.
917 # 'win_use_allocator_shim': 0, 921 # 'win_use_allocator_shim': 0,
918 # 'win_release_RuntimeLibrary': 2 922 # 'win_release_RuntimeLibrary': 2
(...skipping 3785 matching lines...) Expand 10 before | Expand all | Expand 10 after
4704 # settings in target dicts. SYMROOT is a special case, because many other 4708 # settings in target dicts. SYMROOT is a special case, because many other
4705 # Xcode variables depend on it, including variables such as 4709 # Xcode variables depend on it, including variables such as
4706 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4710 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4707 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4711 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4708 # files to appear (when present) in the UI as actual files and not red 4712 # files to appear (when present) in the UI as actual files and not red
4709 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4713 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4710 # and therefore SYMROOT, needs to be set at the project level. 4714 # and therefore SYMROOT, needs to be set at the project level.
4711 'SYMROOT': '<(DEPTH)/xcodebuild', 4715 'SYMROOT': '<(DEPTH)/xcodebuild',
4712 }, 4716 },
4713 } 4717 }
OLDNEW
« build/android/gyp/instr.py ('K') | « build/android/test_runner.py ('k') | build/java.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698