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

Side by Side Diff: ppapi/BUILD.gn

Issue 544423002: Convert GN visibility variables to lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 years, 3 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
« no previous file with comments | « mojo/public/tools/bindings/mojom.gni ('k') | skia/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 gypi_values = exec_script( 5 gypi_values = exec_script(
6 "//build/gypi_to_gn.py", 6 "//build/gypi_to_gn.py",
7 [ rebase_path("ppapi_sources.gypi") ], 7 [ rebase_path("ppapi_sources.gypi") ],
8 "scope", 8 "scope",
9 [ "ppapi_sources.gypi" ]) 9 [ "ppapi_sources.gypi" ])
10 10
11 # TODO(GYP) support chrome_multiple_dll 11 # TODO(GYP) support chrome_multiple_dll
12 #if (chrome_multiple_dll) { 12 #if (chrome_multiple_dll) {
13 # blink_target = "//third_party/WebKit/public:blink_minimal" 13 # blink_target = "//third_party/WebKit/public:blink_minimal"
14 #} else { 14 #} else {
15 blink_target = "//third_party/WebKit/public:blink" 15 blink_target = "//third_party/WebKit/public:blink"
16 #} 16 #}
17 17
18 # These are just headers. 18 # These are just headers.
19 source_set("ppapi_c") { 19 source_set("ppapi_c") {
20 sources = gypi_values.c_source_files 20 sources = gypi_values.c_source_files
21 } 21 }
22 22
23 # Some targets need to depend on the PPAPI version only. This target exists so
24 # they can include this header without header check warnings.
25 source_set("ppapi_macros") {
26 sources = [ "c/pp_macros.h" ]
27 }
28
23 source_set("ppapi_cpp_objects") { 29 source_set("ppapi_cpp_objects") {
24 sources = gypi_values.cpp_source_files 30 sources = gypi_values.cpp_source_files
25 31
26 if (is_win) { 32 if (is_win) {
27 cflags = [ 33 cflags = [
28 "/we4244", # Implicit conversion, possible loss of data. 34 "/we4244", # Implicit conversion, possible loss of data.
29 ] 35 ]
30 } else { 36 } else {
31 cflags = [ 37 cflags = [
32 "-Wextra", 38 "-Wextra",
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 ":ppapi_shared", 802 ":ppapi_shared",
797 "//base/test:test_support", 803 "//base/test:test_support",
798 "//ipc", 804 "//ipc",
799 "//ipc:test_support", 805 "//ipc:test_support",
800 "//testing/gmock", 806 "//testing/gmock",
801 "//testing/gtest", 807 "//testing/gtest",
802 ] 808 ]
803 } 809 }
804 810
805 # TODO(GYP) other targets from ppapi_tests.gyp 811 # TODO(GYP) other targets from ppapi_tests.gyp
OLDNEW
« no previous file with comments | « mojo/public/tools/bindings/mojom.gni ('k') | skia/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698