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

Side by Side Diff: chrome/common_constants.gyp

Issue 2321703002: Remove all gyp[i] files in //chrome (Closed)
Patch Set: merge Created 4 years, 3 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
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 'common_constants_sources': [
9 'common/chrome_constants.cc',
10 'common/chrome_constants.h',
11 'common/chrome_features.cc',
12 'common/chrome_features.h',
13 'common/chrome_icon_resources_win.cc',
14 'common/chrome_icon_resources_win.h',
15 'common/chrome_paths.cc',
16 'common/chrome_paths.h',
17 'common/chrome_paths_android.cc',
18 'common/chrome_paths_internal.h',
19 'common/chrome_paths_linux.cc',
20 'common/chrome_paths_mac.mm',
21 'common/chrome_paths_win.cc',
22 'common/chrome_switches.cc',
23 'common/chrome_switches.h',
24 'common/env_vars.cc',
25 'common/env_vars.h',
26 'common/pref_font_script_names-inl.h',
27 'common/pref_font_webkit_names.h',
28 'common/pref_names.cc',
29 'common/pref_names.h',
30 ],
31 },
32
33 'includes': [
34 '../build/util/version.gypi',
35 ],
36
37 'targets': [
38 {
39 # GN version: //chrome/common:version_header
40 'target_name': 'version_header',
41 'type': 'none',
42 'hard_dependency': 1,
43 'actions': [
44 {
45 'action_name': 'version_header',
46 'variables': {
47 'lastchange_path':
48 '<(DEPTH)/build/util/LASTCHANGE',
49 'branding_path': 'app/theme/<(branding_path_component)/BRANDING',
50 },
51 'inputs': [
52 '<(version_path)',
53 '<(branding_path)',
54 '<(lastchange_path)',
55 'common/chrome_version.h.in',
56 ],
57 'outputs': [
58 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version.h',
59 ],
60 'action': [
61 'python',
62 '<(version_py_path)',
63 '-f', '<(version_path)',
64 '-f', '<(branding_path)',
65 '-f', '<(lastchange_path)',
66 'common/chrome_version.h.in',
67 '<@(_outputs)',
68 ],
69 'message': 'Generating version header file: <@(_outputs)',
70 },
71 ],
72 },
73 {
74 # GN version: //chrome/common:constants
75 'target_name': 'common_constants',
76 'type': 'static_library',
77 'hard_dependency': 1, # Because of transitive dep on version_header.
78 'sources': [
79 '<@(common_constants_sources)'
80 ],
81 'include_dirs': [
82 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_paths.cc.
83 ],
84 'dependencies': [
85 'version_header',
86 'chrome_features.gyp:chrome_common_features',
87 '../base/base.gyp:base',
88 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
89 '../components/components.gyp:bookmarks_common',
90 '../media/media.gyp:cdm_paths', # Needed by chrome_paths.cc.
91 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
92 ],
93 'target_conditions': [
94 ['OS=="ios"', {
95 # iOS needs chrome_paths_mac, which is excluded by filename rules;
96 # re-add it in target_conditionals so it's after that exclusion.
97 'sources/': [
98 ['include', '^common/chrome_paths_mac\\.mm$'],
99 ],
100 }],
101 ],
102 'conditions': [
103 ['disable_nacl==0', {
104 'dependencies': [
105 '../components/nacl.gyp:nacl_switches',
106 ],
107 }],
108 ],
109 },
110 ],
111 'conditions': [
112 ['OS=="win" and target_arch=="ia32"', {
113 'targets': [
114 {
115 'target_name': 'common_constants_win64',
116 'hard_dependency': 1, # Because of transitive dep on version_header.
117 'type': 'static_library',
118 'sources': [
119 '<@(common_constants_sources)'
120 ],
121 'include_dirs': [
122 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_paths.cc.
123 ],
124 'dependencies': [
125 'version_header',
126 'chrome_features.gyp:chrome_common_features',
127 '../base/base.gyp:base_win64',
128 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations_win64',
129 '../components/nacl.gyp:nacl_switches_win64',
130 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h ',
131 ],
132 'defines': [
133 '<@(nacl_win64_defines)',
134 'COMPILE_CONTENT_STATICALLY',
135 ],
136 'configurations': {
137 'Common_Base': {
138 'msvs_target_platform': 'x64',
139 },
140 },
141 },
142 ],
143 }],
144 ],
145 }
OLDNEW
« no previous file with comments | « chrome/common/variations/fieldtrial_testing_config.gyp ('k') | chrome/installer/installer_tools.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698