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

Side by Side Diff: ppapi/BUILD.gn

Issue 2512563003: Convert enable_plugins to a buildflag header. (Closed)
Patch Set: Merge Created 4 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
« no previous file with comments | « media/base/media_switches.cc ('k') | ppapi/features/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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/nacl/config.gni") 6 import("//build/config/nacl/config.gni")
7 import("//build/config/nacl/rules.gni") 7 import("//build/config/nacl/rules.gni")
8 import("//ppapi/features/features.gni")
8 import("//testing/test.gni") 9 import("//testing/test.gni")
9 if (is_mac) { 10 if (is_mac) {
10 import("//build/config/mac/rules.gni") 11 import("//build/config/mac/rules.gni")
11 } 12 }
12 13
13 assert(!is_android || enable_plugins, 14 assert(!is_android || enable_plugins,
14 "//ppapi should not be referenced when is_android && !enable_plugins") 15 "//ppapi should not be referenced when is_android && !enable_plugins")
15 16
16 # Test files shared between several targets below. 17 # Test files shared between several targets below.
17 # 18 #
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 data_deps += 468 data_deps +=
468 [ ":ppapi_nacl_tests(//build/toolchain/nacl:glibc_${target_cpu})" ] 469 [ ":ppapi_nacl_tests(//build/toolchain/nacl:glibc_${target_cpu})" ]
469 } 470 }
470 471
471 if (is_linux && enable_nacl_nonsfi) { 472 if (is_linux && enable_nacl_nonsfi) {
472 data_deps += 473 data_deps +=
473 [ ":ppapi_nacl_tests(//build/toolchain/nacl:newlib_pnacl_nonsfi)" ] 474 [ ":ppapi_nacl_tests(//build/toolchain/nacl:newlib_pnacl_nonsfi)" ]
474 } 475 }
475 } 476 }
476 } 477 }
OLDNEW
« no previous file with comments | « media/base/media_switches.cc ('k') | ppapi/features/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698