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.
16 'common/chrome_constants.cc',
17 'common/chrome_constants.h',
18 'common/chrome_paths.cc',
19 'common/chrome_paths.h',
20 'common/chrome_paths_android.cc',
21 'common/chrome_paths_internal.h',
22 'common/chrome_paths_linux.cc',
23 'common/chrome_paths_mac.mm',
24 'common/chrome_paths_win.cc',
25 'common/chrome_switches.cc',
26 'common/chrome_switches.h',
29 'common/net/test_server_locations.cc',
30 'common/net/test_server_locations.h',
31 'common/pref_names.cc',
32 'common/pref_names.h',
36 'action_name': 'Make chrome_version.cc',
38 'make_version_cc_path': 'tools/build/make_version_cc.py',
41 '<(make_version_cc_path)',
45 '<(INTERMEDIATE_DIR)/chrome_version.cc',
49 '<(make_version_cc_path)',
53 'process_outputs_as_sources': 1,
59 'target_name': 'common_constants',
60 'type': 'static_library',
62 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_paths.cc.
65 '../base/base.gyp:base',
66 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
68 'target_conditions': [
70 # iOS needs chrome_paths_mac, which is excluded by filename rules;
71 # re-add it in target_conditionals so it's after that exclusion.
73 ['include', '^common/chrome_paths_mac\\.mm$'],
78 ['toolkit_uses_gtk == 1', {
79 'dependencies': ['../build/linux/system.gyp:gtk'],
85 ['OS=="win" and target_arch=="ia32"', {
88 'target_name': 'common_constants_win64',
89 'type': 'static_library',
91 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_paths.cc.
94 '../base/base.gyp:base_nacl_win64',
95 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
98 '<@(nacl_win64_defines)',
99 'COMPILE_CONTENT_STATICALLY',
103 'msvs_target_platform': 'x64',