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_font_script_names-inl.h',
32 'common/pref_font_webkit_names.h',
33 'common/pref_names.cc',
34 'common/pref_names.h',
38 'action_name': 'Make chrome_version.cc',
40 'make_version_cc_path': 'tools/build/make_version_cc.py',
43 '<(make_version_cc_path)',
47 '<(INTERMEDIATE_DIR)/chrome_version.cc',
51 '<(make_version_cc_path)',
55 'process_outputs_as_sources': 1,
61 'target_name': 'common_constants',
62 'type': 'static_library',
64 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_paths.cc.
67 '../base/base.gyp:base',
68 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
70 'target_conditions': [
72 # iOS needs chrome_paths_mac, which is excluded by filename rules;
73 # re-add it in target_conditionals so it's after that exclusion.
75 ['include', '^common/chrome_paths_mac\\.mm$'],
80 ['toolkit_uses_gtk == 1', {
81 'dependencies': ['../build/linux/system.gyp:gtk'],
87 ['OS=="win" and target_arch=="ia32"', {
90 'target_name': 'common_constants_win64',
91 'type': 'static_library',
93 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_paths.cc.
96 '../base/base.gyp:base_nacl_win64',
97 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
100 '<@(nacl_win64_defines)',
101 'COMPILE_CONTENT_STATICALLY',
105 'msvs_target_platform': 'x64',