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

Side by Side Diff: base/base.gyp

Issue 1641413002: Makes GetBuildTime behave identically on all build types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses Merge Conflicts Created 4 years, 10 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/win_precompile.gypi', 10 '../build/win_precompile.gypi',
11 'base.gypi', 11 'base.gypi',
12 ], 12 ],
13 'targets': [ 13 'targets': [
14 { 14 {
15 'target_name': 'base', 15 'target_name': 'base',
16 'type': '<(component)', 16 'type': '<(component)',
17 'toolsets': ['host', 'target'], 17 'toolsets': ['host', 'target'],
18 'variables': { 18 'variables': {
19 'base_target': 1, 19 'base_target': 1,
20 'enable_wexit_time_destructors': 1, 20 'enable_wexit_time_destructors': 1,
21 'optimize': 'max', 21 'optimize': 'max',
22 }, 22 },
23 'dependencies': [ 23 'dependencies': [
24 'allocator/allocator.gyp:allocator', 24 'allocator/allocator.gyp:allocator',
25 'base_debugging_flags#target', 25 'base_debugging_flags#target',
26 'base_static', 26 'base_static',
27 'base_build_date#target',
27 '../testing/gtest.gyp:gtest_prod', 28 '../testing/gtest.gyp:gtest_prod',
28 '../third_party/modp_b64/modp_b64.gyp:modp_b64', 29 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
29 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions', 30 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions',
30 ], 31 ],
31 # TODO(gregoryd): direct_dependent_settings should be shared with the 32 # TODO(gregoryd): direct_dependent_settings should be shared with the
32 # 64-bit target, but it doesn't work due to a bug in gyp 33 # 64-bit target, but it doesn't work due to a bug in gyp
33 'direct_dependent_settings': { 34 'direct_dependent_settings': {
34 'include_dirs': [ 35 'include_dirs': [
35 '..', 36 '..',
36 ], 37 ],
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after
993 # toolchain, always refer to 'base_debugging_flags#target'. 994 # toolchain, always refer to 'base_debugging_flags#target'.
994 'target_name': 'base_debugging_flags', 995 'target_name': 'base_debugging_flags',
995 'includes': [ '../build/buildflag_header.gypi' ], 996 'includes': [ '../build/buildflag_header.gypi' ],
996 'variables': { 997 'variables': {
997 'buildflag_header_path': 'base/debug/debugging_flags.h', 998 'buildflag_header_path': 'base/debug/debugging_flags.h',
998 'buildflag_flags': [ 999 'buildflag_flags': [
999 'ENABLE_PROFILING=<(profiling)', 1000 'ENABLE_PROFILING=<(profiling)',
1000 ], 1001 ],
1001 }, 1002 },
1002 }, 1003 },
1004 {
1005 'type': 'none',
1006 'target_name': 'base_build_date',
1007 'actions': [{
1008 'action_name': 'generate_build_date_headers',
1009 'inputs': [ '<(DEPTH)/build/write_build_date_header.py' ],
1010 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/base/generated_build_date.h' ],
1011 'action': [
1012 'python', '<(DEPTH)/build/write_build_date_header.py',
1013 '<(SHARED_INTERMEDIATE_DIR)/base/generated_build_date.h', '<(build_typ e)'
1014 ]
1015 }],
1016 'conditions': [
1017 [ 'buildtype == "Official"', {
1018 'variables': {
1019 'build_type': 'official'
1020 }
1021 }, {
1022 'variables': {
1023 'build_type': 'default'
1024 }
1025 }],
1026 ]
1027 },
1003 ], 1028 ],
1004 'conditions': [ 1029 'conditions': [
1005 ['OS=="ios" and "<(GENERATOR)"=="ninja"', { 1030 ['OS=="ios" and "<(GENERATOR)"=="ninja"', {
1006 'targets': [ 1031 'targets': [
1007 { 1032 {
1008 'target_name': 'test_launcher', 1033 'target_name': 'test_launcher',
1009 'toolsets': ['host'], 1034 'toolsets': ['host'],
1010 'type': 'executable', 1035 'type': 'executable',
1011 'dependencies': [ 1036 'dependencies': [
1012 'test_support_base', 1037 'test_support_base',
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
1646 '../build/isolate.gypi', 1671 '../build/isolate.gypi',
1647 ], 1672 ],
1648 'sources': [ 1673 'sources': [
1649 'base_unittests.isolate', 1674 'base_unittests.isolate',
1650 ], 1675 ],
1651 }, 1676 },
1652 ], 1677 ],
1653 }], 1678 }],
1654 ], 1679 ],
1655 } 1680 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/build_time.h » ('j') | base/build_time.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698