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

Side by Side Diff: ppapi/examples/ppapi_example.gni

Issue 921953002: Split apart the PPAPI GN targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix component Created 5 years, 10 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 | « ppapi/examples/audio/BUILD.gn ('k') | ppapi/host/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
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # Declares a PPAPI example target of the correct type for the current platform
6 # and with the right linker flags.
7 template("ppapi_example") {
8 # TODO(GYP) on Mac this should be loadable_module.
9 shared_library(target_name) {
10 testonly = true
11 if (defined(invoker.output_name)) {
12 output_name = invoker.output_name
13 }
14 sources = invoker.sources
15 deps = invoker.deps
16
17 if (is_mac) {
18 # TODO(GYP) this should be a mac bundle
19 output_extension = "plugin"
20 ldflags = [
21 # Not to strip important symbols by -Wl,-dead_strip.
22 "-Wl,-exported_symbol,_PPP_GetInterface",
23 "-Wl,-exported_symbol,_PPP_InitializeModule",
24 "-Wl,-exported_symbol,_PPP_ShutdownModule",
25 ]
26 }
27 }
28 }
OLDNEW
« no previous file with comments | « ppapi/examples/audio/BUILD.gn ('k') | ppapi/host/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698