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

Side by Side Diff: third_party/WebKit/Source/wtf/BUILD.gn

Issue 1751563002: Mojo C++ bindings: support mapping mojo string to WTF::String. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync & rebase Created 4 years, 9 months 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 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//testing/test.gni") 5 import("//testing/test.gni")
6 import("//third_party/WebKit/Source/config.gni") 6 import("//third_party/WebKit/Source/config.gni")
7 7
8 # The list of files is kept in the .gypi. 8 # The list of files is kept in the .gypi.
9 gypi_values = exec_script("//build/gypi_to_gn.py", 9 gypi_values = exec_script("//build/gypi_to_gn.py",
10 [ rebase_path("wtf.gypi") ], 10 [ rebase_path("wtf.gypi") ],
11 "scope", 11 "scope",
12 [ "wtf.gypi" ]) 12 [ "wtf.gypi" ])
13 13
14 visibility = [ "//third_party/WebKit/*" ] 14 visibility = [
15 "//mojo/public/cpp/bindings/*",
16 "//third_party/WebKit/*",
17 ]
15 18
16 config("wtf_config") { 19 config("wtf_config") {
17 if (is_win) { 20 if (is_win) {
18 defines = [ 21 defines = [
19 "__STD_C", 22 "__STD_C",
20 "_CRT_SECURE_NO_DEPRECATE", 23 "_CRT_SECURE_NO_DEPRECATE",
21 "_SCL_SECURE_NO_DEPRECATE", 24 "_SCL_SECURE_NO_DEPRECATE",
22 ] 25 ]
23 include_dirs = [ "os-win32" ] 26 include_dirs = [ "os-win32" ]
24 27
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 142 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
140 "//build/config/compiler:no_size_t_to_int_warning", 143 "//build/config/compiler:no_size_t_to_int_warning",
141 "//third_party/WebKit/Source:config", 144 "//third_party/WebKit/Source:config",
142 "//third_party/WebKit/Source:non_test_config", 145 "//third_party/WebKit/Source:non_test_config",
143 ] 146 ]
144 147
145 deps = [ 148 deps = [
146 ":wtf", 149 ":wtf",
147 ] 150 ]
148 } 151 }
OLDNEW
« mojo/mojo_public.gyp ('K') | « third_party/WebKit/Source/platform/blink_platform_tests.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698