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