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

Side by Side Diff: webkit/glue/webkit_glue.gypi

Issue 10869073: Split user agent code out of the 'glue' target (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to trunk Created 8 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 | Annotate | Revision Log
« no previous file with comments | « webkit/glue/webkit_glue.cc ('k') | webkit/glue/webkit_glue_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'conditions': [ 7 'conditions': [
8 ['inside_chromium_build==0', { 8 ['inside_chromium_build==0', {
9 'webkit_src_dir': '../../../../..', 9 'webkit_src_dir': '../../../../..',
10 },{ 10 },{
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 'action_name': 'webkit_strings', 59 'action_name': 'webkit_strings',
60 'variables': { 60 'variables': {
61 'grit_grd_file': 'webkit_strings.grd', 61 'grit_grd_file': 'webkit_strings.grd',
62 }, 62 },
63 'includes': [ '../../build/grit_action.gypi' ], 63 'includes': [ '../../build/grit_action.gypi' ],
64 }, 64 },
65 ], 65 ],
66 'includes': [ '../../build/grit_target.gypi' ], 66 'includes': [ '../../build/grit_target.gypi' ],
67 }, 67 },
68 { 68 {
69 'target_name': 'webkit_version',
70 'type': 'none',
71 'actions': [
72 {
73 'action_name': 'webkit_version',
74 'inputs': [
75 '<(script)',
76 '<(webkit_src_dir)<(version_file)',
77 '../../build/util/lastchange.py', # Used by the script.
78 ],
79 'outputs': [
80 '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h',
81 ],
82 'action': ['python', '<(script)', '<(webkit_src_dir)',
83 '<(version_file)', '<(SHARED_INTERMEDIATE_DIR)'],
84 'variables': {
85 'script': '../build/webkit_version.py',
86 # version_file is a relative path from |webkit_src_dir| to
87 # the version file. But gyp will eat the variable unless
88 # it looks like an absolute path, so write it like one and
89 # then use it carefully above.
90 'version_file': '/Source/WebCore/Configurations/Version.xcconfig',
91 },
92 },
93 ],
94 'direct_dependent_settings': {
95 'include_dirs': [
96 '<(SHARED_INTERMEDIATE_DIR)',
97 ],
98 },
99 # Dependents may rely on files generated by this target or one of its
100 # own hard dependencies.
101 'hard_dependency': 1,
102 },
103 {
104 'target_name': 'webkit_user_agent',
105 'type': 'static_library',
106 'dependencies': [
107 'webkit_version',
108 '<(DEPTH)/base/base.gyp:base_i18n',
109 ],
110 'sources': [
111 'user_agent.cc',
112 'user_agent.h',
113 ],
114 },
115 {
116 'target_name': 'glue', 69 'target_name': 'glue',
117 'type': '<(component)', 70 'type': '<(component)',
118 'variables': { 'enable_wexit_time_destructors': 1, }, 71 'variables': { 'enable_wexit_time_destructors': 1, },
119 'defines': [ 72 'defines': [
120 'WEBKIT_EXTENSIONS_IMPLEMENTATION', 73 'WEBKIT_EXTENSIONS_IMPLEMENTATION',
121 'WEBKIT_GLUE_IMPLEMENTATION', 74 'WEBKIT_GLUE_IMPLEMENTATION',
122 'WEBKIT_PLUGINS_IMPLEMENTATION', 75 'WEBKIT_PLUGINS_IMPLEMENTATION',
123 ], 76 ],
124 'dependencies': [ 77 'dependencies': [
125 '<(DEPTH)/base/base.gyp:base_i18n', 78 '<(DEPTH)/base/base.gyp:base_i18n',
(...skipping 13 matching lines...) Expand all
139 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', 92 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
140 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', 93 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
141 '<(DEPTH)/ui/gl/gl.gyp:gl', 94 '<(DEPTH)/ui/gl/gl.gyp:gl',
142 '<(DEPTH)/ui/ui.gyp:ui', 95 '<(DEPTH)/ui/ui.gyp:ui',
143 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', 96 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
144 '<(DEPTH)/webkit/compositor_bindings/compositor_bindings.gyp:webkit_comp ositor_support', 97 '<(DEPTH)/webkit/compositor_bindings/compositor_bindings.gyp:webkit_comp ositor_support',
145 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', 98 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit',
146 'blob', 99 'blob',
147 'fileapi', 100 'fileapi',
148 'forms', 101 'forms',
102 'user_agent',
149 'webkit_base', 103 'webkit_base',
150 'webkit_media', 104 'webkit_media',
151 'webkit_resources', 105 'webkit_resources',
152 'webkit_strings', 106 'webkit_strings',
153 'webkit_user_agent',
154 ], 107 ],
155 'include_dirs': [ 108 'include_dirs': [
156 '<(INTERMEDIATE_DIR)', 109 '<(INTERMEDIATE_DIR)',
157 '<(SHARED_INTERMEDIATE_DIR)/webkit', 110 '<(SHARED_INTERMEDIATE_DIR)/webkit',
158 ], 111 ],
159 'sources': [ 112 'sources': [
160 # This list contains all .h, .cc, and .mm files in glue except for 113 # This list contains all .h, .cc, and .mm files in glue except for
161 # those in the test subdirectory and those with unittest in in their 114 # those in the test subdirectory and those with unittest in in their
162 # names. 115 # names.
163 '../plugins/npapi/carbon_plugin_window_tracker_mac.cc', 116 '../plugins/npapi/carbon_plugin_window_tracker_mac.cc',
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 }, 508 },
556 'includes': [ '../../build/grit_action.gypi' ], 509 'includes': [ '../../build/grit_action.gypi' ],
557 }, 510 },
558 ], 511 ],
559 'includes': [ '../../build/grit_target.gypi' ], 512 'includes': [ '../../build/grit_target.gypi' ],
560 }, 513 },
561 ], 514 ],
562 }], 515 }],
563 ], 516 ],
564 } 517 }
OLDNEW
« no previous file with comments | « webkit/glue/webkit_glue.cc ('k') | webkit/glue/webkit_glue_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698