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

Side by Side Diff: chrome/common_constants.gypi

Issue 6002015: Policy: generate boilerplate policy type and constant code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build Created 9 years, 11 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 'common_constants_target': 0, 8 'common_constants_target': 0,
9 }, 9 },
10 'target_conditions': [ 10 'target_conditions': [
11 ['common_constants_target==1', { 11 ['common_constants_target==1', {
12 'sources': [ 12 'sources': [
13 'common/chrome_constants.cc', 13 'common/chrome_constants.cc',
14 'common/chrome_constants.h', 14 'common/chrome_constants.h',
15 'common/chrome_paths.cc', 15 'common/chrome_paths.cc',
16 'common/chrome_paths.h', 16 'common/chrome_paths.h',
17 'common/chrome_paths_internal.h', 17 'common/chrome_paths_internal.h',
18 'common/chrome_paths_linux.cc', 18 'common/chrome_paths_linux.cc',
19 'common/chrome_paths_mac.mm', 19 'common/chrome_paths_mac.mm',
20 'common/chrome_paths_win.cc', 20 'common/chrome_paths_win.cc',
21 'common/chrome_switches.cc', 21 'common/chrome_switches.cc',
22 'common/chrome_switches.h', 22 'common/chrome_switches.h',
23 'common/env_vars.cc', 23 'common/env_vars.cc',
24 'common/env_vars.h', 24 'common/env_vars.h',
25 'common/json_value_serializer.cc', 25 'common/json_value_serializer.cc',
26 'common/json_value_serializer.h', 26 'common/json_value_serializer.h',
27 'common/net/gaia/gaia_constants.cc', 27 'common/net/gaia/gaia_constants.cc',
28 'common/net/gaia/gaia_constants.h', 28 'common/net/gaia/gaia_constants.h',
29 'common/policy_constants.cc', 29 '<(policy_out_dir)/chrome/common/policy_constants.cc',
30 'common/policy_constants.h', 30 '<(policy_out_dir)/chrome/common/policy_constants.h',
31 'common/pref_names.cc', 31 'common/pref_names.cc',
32 'common/pref_names.h', 32 'common/pref_names.h',
33 ], 33 ],
34 'actions': [ 34 'actions': [
35 { 35 {
36 'action_name': 'Make chrome_version.cc', 36 'action_name': 'Make chrome_version.cc',
37 'variables': { 37 'variables': {
38 'make_version_cc_path': 'tools/build/make_version_cc.py', 38 'make_version_cc_path': 'tools/build/make_version_cc.py',
39 }, 39 },
40 'inputs': [ 40 'inputs': [
(...skipping 18 matching lines...) Expand all
59 'targets': [ 59 'targets': [
60 { 60 {
61 'target_name': 'common_constants', 61 'target_name': 'common_constants',
62 'type': '<(library)', 62 'type': '<(library)',
63 'variables': { 63 'variables': {
64 'common_constants_target': 1, 64 'common_constants_target': 1,
65 }, 65 },
66 'dependencies': [ 66 'dependencies': [
67 '../base/base.gyp:base', 67 '../base/base.gyp:base',
68 ], 68 ],
69 'include_dirs': [
70 '<(policy_out_dir)',
71 ],
69 'conditions': [ 72 'conditions': [
70 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 73 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
71 'dependencies': ['../build/linux/system.gyp:gtk'], 74 'dependencies': ['../build/linux/system.gyp:gtk'],
72 }], 75 }],
73 ], 76 ],
74 }, 77 },
75 ], 78 ],
76 'conditions': [ 79 'conditions': [
77 ['OS=="win"', { 80 ['OS=="win"', {
78 'targets': [ 81 'targets': [
(...skipping 12 matching lines...) Expand all
91 'configurations': { 94 'configurations': {
92 'Common_Base': { 95 'Common_Base': {
93 'msvs_target_platform': 'x64', 96 'msvs_target_platform': 'x64',
94 }, 97 },
95 }, 98 },
96 }, 99 },
97 ], 100 ],
98 }], 101 }],
99 ], 102 ],
100 } 103 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698