Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1041)

Side by Side Diff: Source/config.gyp

Issue 60113005: Enable chromium_code=1 on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: . Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # 1 #
2 # Copyright (C) 2013 Google Inc. All rights reserved. 2 # Copyright (C) 2013 Google Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 25 matching lines...) Expand all
36 'targets': [ 36 'targets': [
37 { 37 {
38 'target_name': 'config', 38 'target_name': 'config',
39 'type': 'none', 39 'type': 'none',
40 'direct_dependent_settings': { 40 'direct_dependent_settings': {
41 'include_dirs': [ 41 'include_dirs': [
42 '.', 42 '.',
43 '..', 43 '..',
44 ], 44 ],
45 'msvs_disabled_warnings': [ 45 'msvs_disabled_warnings': [
46 4138, 4244, 4291, 4305, 4344, 4355, 4521, 4099, 46 4138, 4244, 4291, 4305, 4344, 4355, 4521, 4099, 4800, 4996,
47 ], 47 ],
48 'variables': {
49 'chromium_code': 1,
50 },
48 'conditions': [ 51 'conditions': [
49 ['OS=="win" and component=="shared_library"', { 52 ['OS=="win" and component=="shared_library"', {
50 'defines': [ 53 'defines': [
51 'USING_V8_SHARED', 54 'USING_V8_SHARED',
52 ], 55 ],
53 }], 56 }],
54 ['OS=="win"', { 57 ['OS=="win"', {
55 'sources/': [ 58 'sources/': [
56 ['exclude', 'Posix\\.cpp$'], 59 ['exclude', 'Posix\\.cpp$'],
57 ], 60 ],
(...skipping 24 matching lines...) Expand all
82 ['gcc_version>=46', { 85 ['gcc_version>=46', {
83 # Disable warnings about c++0x compatibility, as some names (such as 86 # Disable warnings about c++0x compatibility, as some names (such as
84 # nullptr) conflict with upcoming c++0x types. 87 # nullptr) conflict with upcoming c++0x types.
85 'cflags_cc': ['-Wno-c++0x-compat'], 88 'cflags_cc': ['-Wno-c++0x-compat'],
86 }], 89 }],
87 ['OS=="linux" and target_arch=="arm"', { 90 ['OS=="linux" and target_arch=="arm"', {
88 # Due to a bug in gcc arm, we get warnings about uninitialized 91 # Due to a bug in gcc arm, we get warnings about uninitialized
89 # timesNewRoman.unstatic.3258 and colorTransparent.unstatic.4879. 92 # timesNewRoman.unstatic.3258 and colorTransparent.unstatic.4879.
90 'cflags': ['-Wno-uninitialized'], 93 'cflags': ['-Wno-uninitialized'],
91 }], 94 }],
92 ['OS!="win"', {
93 # TODO: Turn this on on all platforms, http://crbug.com/312287
94 'variables': {
95 'chromium_code': 1,
96 },
97 }],
98 ['clang==1', { 95 ['clang==1', {
99 'cflags': ['-Wglobal-constructors'], 96 'cflags': ['-Wglobal-constructors'],
100 'xcode_settings': { 97 'xcode_settings': {
101 'WARNING_CFLAGS': ['-Wglobal-constructors'], 98 'WARNING_CFLAGS': ['-Wglobal-constructors'],
102 }, 99 },
103 }], 100 }],
104 ], 101 ],
105 }, 102 },
106 }, 103 },
107 { 104 {
(...skipping 11 matching lines...) Expand all
119 ], 116 ],
120 'direct_dependent_settings': { 117 'direct_dependent_settings': {
121 'cflags!': ['-Wglobal-constructors'], 118 'cflags!': ['-Wglobal-constructors'],
122 'xcode_settings': { 119 'xcode_settings': {
123 'WARNING_CFLAGS!': ['-Wglobal-constructors'], 120 'WARNING_CFLAGS!': ['-Wglobal-constructors'],
124 }, 121 },
125 }, 122 },
126 } 123 }
127 ], 124 ],
128 } 125 }
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/shadow/ShadowRoot.cpp » ('j') | Source/core/dom/shadow/ShadowRoot.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698