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

Side by Side Diff: chrome/chrome_common.gypi

Issue 8417017: Separate some generated files into their own targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'common', 8 'target_name': 'common',
9 'type': 'static_library', 9 'type': 'static_library',
10 'variables': { 10 'variables': {
11 'chrome_common_target': 1, 11 'chrome_common_target': 1,
12 }, 12 },
13 'include_dirs': [ 13 'include_dirs': [
14 '..', 14 '..',
15 ], 15 ],
16 'direct_dependent_settings': { 16 'direct_dependent_settings': {
17 'include_dirs': [ 17 'include_dirs': [
18 '..', 18 '..',
19 ], 19 ],
20 }, 20 },
21 'dependencies': [ 21 'dependencies': [
22 # TODO(gregoryd): chrome_resources and chrome_strings could be 22 # TODO(gregoryd): chrome_resources and chrome_strings could be
23 # shared with the 64-bit target, but it does not work due to a gyp 23 # shared with the 64-bit target, but it does not work due to a gyp
24 # issue. 24 # issue.
25 'app/policy/cloud_policy_codegen.gyp:policy', 25 'app/policy/cloud_policy_codegen.gyp:policy',
26 'chrome_resources', 26 'chrome_resources',
27 'chrome_strings', 27 'chrome_strings',
28 'common_constants', 28 'common_constants',
29 'common_net', 29 'common_net',
30 'common_version',
30 'default_plugin/default_plugin.gyp:default_plugin', 31 'default_plugin/default_plugin.gyp:default_plugin',
31 'theme_resources', 32 'theme_resources',
32 '../base/base.gyp:base', 33 '../base/base.gyp:base',
33 '../base/base.gyp:base_i18n', 34 '../base/base.gyp:base_i18n',
34 '../base/base.gyp:base_static', 35 '../base/base.gyp:base_static',
35 '../build/temp_gyp/googleurl.gyp:googleurl', 36 '../build/temp_gyp/googleurl.gyp:googleurl',
36 '../content/content.gyp:content_common', 37 '../content/content.gyp:content_common',
37 '../ipc/ipc.gyp:ipc', 38 '../ipc/ipc.gyp:ipc',
38 '../net/net.gyp:net', 39 '../net/net.gyp:net',
39 '../printing/printing.gyp:printing', 40 '../printing/printing.gyp:printing',
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 'sources': [ 262 'sources': [
262 'common/native_web_keyboard_event_views.cc', 263 'common/native_web_keyboard_event_views.cc',
263 'common/native_web_keyboard_event_views.h', 264 'common/native_web_keyboard_event_views.h',
264 ], 265 ],
265 }], 266 }],
266 ['use_aura==1', { 267 ['use_aura==1', {
267 'dependencies!': [ 268 'dependencies!': [
268 'default_plugin/default_plugin.gyp:default_plugin', 269 'default_plugin/default_plugin.gyp:default_plugin',
269 ], 270 ],
270 }], 271 }],
272 ['OS=="linux" and selinux==1', {
273 'dependencies': [
274 '../build/linux/system.gyp:selinux',
275 ],
276 }],
277 ['OS=="mac"', {
278 'dependencies': [
279 '../third_party/mach_override/mach_override.gyp:mach_override',
280 ],
281 'include_dirs': [
282 '../third_party/GTM',
283 ],
284 }],
285 ['remoting==1', {
286 'dependencies': [
287 '../remoting/remoting.gyp:remoting_client_plugin',
288 ],
289 }],
290 ],
291 'export_dependent_settings': [
292 '../base/base.gyp:base',
293 ],
294 },
295 {
296 'target_name': 'common_version',
297 'type': 'none',
298 'conditions': [
271 ['os_posix == 1 and OS != "mac"', { 299 ['os_posix == 1 and OS != "mac"', {
272 'include_dirs': [ 300 'direct_dependent_settings': {
273 '<(SHARED_INTERMEDIATE_DIR)', 301 'include_dirs': [
274 ], 302 '<(SHARED_INTERMEDIATE_DIR)',
303 ],
304 },
275 # Because posix_version generates a header, we must set the 305 # Because posix_version generates a header, we must set the
276 # hard_dependency flag. 306 # hard_dependency flag.
277 'hard_dependency': 1, 307 'hard_dependency': 1,
278 'actions': [ 308 'actions': [
279 { 309 {
280 'action_name': 'posix_version', 310 'action_name': 'posix_version',
281 'variables': { 311 'variables': {
282 'lastchange_path': 312 'lastchange_path':
283 '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', 313 '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE',
284 'version_py_path': 'tools/build/version.py', 314 'version_py_path': 'tools/build/version.py',
(...skipping 28 matching lines...) Expand all
313 '-f', '<(version_path)', 343 '-f', '<(version_path)',
314 '-f', '<(branding_path)', 344 '-f', '<(branding_path)',
315 '-f', '<(lastchange_path)', 345 '-f', '<(lastchange_path)',
316 '<(template_input_path)', 346 '<(template_input_path)',
317 '<@(_outputs)', 347 '<@(_outputs)',
318 ], 348 ],
319 'message': 'Generating version information', 349 'message': 'Generating version information',
320 }, 350 },
321 ], 351 ],
322 }], 352 }],
323 ['OS=="linux" and selinux==1', {
324 'dependencies': [
325 '../build/linux/system.gyp:selinux',
326 ],
327 }],
328 ['OS=="mac"', {
329 'dependencies': [
330 '../third_party/mach_override/mach_override.gyp:mach_override',
331 ],
332 'include_dirs': [
333 '../third_party/GTM',
334 ],
335 }],
336 ['remoting==1', {
337 'dependencies': [
338 '../remoting/remoting.gyp:remoting_client_plugin',
339 ],
340 }],
341 ],
342 'export_dependent_settings': [
343 '../base/base.gyp:base',
344 ], 353 ],
345 }, 354 },
346 { 355 {
347 'target_name': 'common_net', 356 'target_name': 'common_net',
348 'type': 'static_library', 357 'type': 'static_library',
349 'sources': [ 358 'sources': [
350 'common/net/http_return.h', 359 'common/net/http_return.h',
351 'common/net/net_resource_provider.cc', 360 'common/net/net_resource_provider.cc',
352 'common/net/net_resource_provider.h', 361 'common/net/net_resource_provider.h',
353 'common/net/predictor_common.h', 362 'common/net/predictor_common.h',
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 'common/safe_browsing/csd.proto' 427 'common/safe_browsing/csd.proto'
419 ], 428 ],
420 'variables': { 429 'variables': {
421 'proto_in_dir': 'common/safe_browsing', 430 'proto_in_dir': 'common/safe_browsing',
422 'proto_out_dir': 'chrome/common/safe_browsing', 431 'proto_out_dir': 'chrome/common/safe_browsing',
423 }, 432 },
424 'includes': [ '../build/protoc.gypi' ], 433 'includes': [ '../build/protoc.gypi' ],
425 }, 434 },
426 ], 435 ],
427 } 436 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698