OLD | NEW |
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 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 | 9 |
10 'includes': [ | 10 'includes': [ |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 # GN version: //chrome/common:constants | 65 # GN version: //chrome/common:constants |
66 'target_name': 'common_constants', | 66 'target_name': 'common_constants', |
67 'type': 'static_library', | 67 'type': 'static_library', |
68 'include_dirs': [ | 68 'include_dirs': [ |
69 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_paths.cc. | 69 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_paths.cc. |
70 ], | 70 ], |
71 'dependencies': [ | 71 'dependencies': [ |
72 '../base/base.gyp:base', | 72 '../base/base.gyp:base', |
73 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 73 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
74 '../components/components.gyp:bookmarks_common', | 74 '../components/components.gyp:bookmarks_common', |
| 75 '../components/nacl.gyp:nacl_switches', |
75 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', | 76 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', |
76 ], | 77 ], |
77 'target_conditions': [ | 78 'target_conditions': [ |
78 ['OS=="ios"', { | 79 ['OS=="ios"', { |
79 # iOS needs chrome_paths_mac, which is excluded by filename rules; | 80 # iOS needs chrome_paths_mac, which is excluded by filename rules; |
80 # re-add it in target_conditionals so it's after that exclusion. | 81 # re-add it in target_conditionals so it's after that exclusion. |
81 'sources/': [ | 82 'sources/': [ |
82 ['include', '^common/chrome_paths_mac\\.mm$'], | 83 ['include', '^common/chrome_paths_mac\\.mm$'], |
83 ], | 84 ], |
84 }], | 85 }], |
85 ], | 86 ], |
86 'conditions': [ | |
87 ['disable_nacl==0', { | |
88 'dependencies': [ | |
89 '../components/nacl.gyp:nacl_switches', | |
90 ], | |
91 }], | |
92 ], | |
93 }, | 87 }, |
94 ], | 88 ], |
95 'conditions': [ | 89 'conditions': [ |
96 ['OS=="win" and target_arch=="ia32"', { | 90 ['OS=="win" and target_arch=="ia32"', { |
97 'targets': [ | 91 'targets': [ |
98 { | 92 { |
99 'target_name': 'common_constants_win64', | 93 'target_name': 'common_constants_win64', |
100 'type': 'static_library', | 94 'type': 'static_library', |
101 'include_dirs': [ | 95 'include_dirs': [ |
102 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_paths.cc. | 96 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_paths.cc. |
(...skipping 11 matching lines...) Expand all Loading... |
114 'configurations': { | 108 'configurations': { |
115 'Common_Base': { | 109 'Common_Base': { |
116 'msvs_target_platform': 'x64', | 110 'msvs_target_platform': 'x64', |
117 }, | 111 }, |
118 }, | 112 }, |
119 }, | 113 }, |
120 ], | 114 ], |
121 }], | 115 }], |
122 ], | 116 ], |
123 } | 117 } |
OLD | NEW |