| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'target_defaults': { | |
| 7 'variables': { | |
| 8 'common_constants_target': 0, | |
| 9 }, | |
| 10 'target_conditions': [ | |
| 11 ['common_constants_target==1', { | |
| 12 'sources': [ | |
| 13 'common/chrome_constants.cc', | |
| 14 'common/chrome_constants.h', | |
| 15 'common/chrome_paths.cc', | |
| 16 'common/chrome_paths.h', | |
| 17 'common/chrome_paths_internal.h', | |
| 18 'common/chrome_paths_linux.cc', | |
| 19 'common/chrome_paths_mac.mm', | |
| 20 'common/chrome_paths_win.cc', | |
| 21 'common/chrome_switches.cc', | |
| 22 'common/chrome_switches.h', | |
| 23 'common/env_vars.cc', | |
| 24 'common/env_vars.h', | |
| 25 'common/json_value_serializer.cc', | |
| 26 'common/json_value_serializer.h', | |
| 27 'common/pref_names.cc', | |
| 28 'common/pref_names.h', | |
| 29 ], | |
| 30 'actions': [ | |
| 31 { | |
| 32 'action_name': 'Make chrome_version.cc', | |
| 33 'variables': { | |
| 34 'make_version_cc_path': 'tools/build/make_version_cc.py', | |
| 35 }, | |
| 36 'inputs': [ | |
| 37 '<(make_version_cc_path)', | |
| 38 'VERSION', | |
| 39 ], | |
| 40 'outputs': [ | |
| 41 '<(INTERMEDIATE_DIR)/chrome_version.cc', | |
| 42 ], | |
| 43 'action': [ | |
| 44 'python', | |
| 45 '<(make_version_cc_path)', | |
| 46 '<@(_outputs)', | |
| 47 '<(version_full)', | |
| 48 ], | |
| 49 'process_outputs_as_sources': 1, | |
| 50 }, | |
| 51 ], | |
| 52 }], | |
| 53 ], | |
| 54 }, | |
| 55 'targets': [ | |
| 56 { | |
| 57 'target_name': 'common_constants', | |
| 58 'type': '<(library)', | |
| 59 'variables': { | |
| 60 'common_constants_target': 1, | |
| 61 }, | |
| 62 'dependencies': [ | |
| 63 '../base/base.gyp:base', | |
| 64 ], | |
| 65 'conditions': [ | |
| 66 ['OS=="linux"', { | |
| 67 'dependencies': ['../build/linux/system.gyp:gtk'], | |
| 68 }], | |
| 69 ], | |
| 70 }, | |
| 71 ], | |
| 72 'conditions': [ | |
| 73 ['OS=="win"', { | |
| 74 'targets': [ | |
| 75 { | |
| 76 'target_name': 'common_constants_win64', | |
| 77 'type': '<(library)', | |
| 78 'variables': { | |
| 79 'common_constants_target': 1, | |
| 80 }, | |
| 81 'dependencies': [ | |
| 82 '../base/base.gyp:base_nacl_win64', | |
| 83 ], | |
| 84 'defines': [ | |
| 85 '<@(nacl_win64_defines)', | |
| 86 ], | |
| 87 'configurations': { | |
| 88 'Common': { | |
| 89 'msvs_target_platform': 'x64', | |
| 90 }, | |
| 91 }, | |
| 92 }, | |
| 93 ], | |
| 94 }], | |
| 95 ], | |
| 96 } | |
| OLD | NEW |