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

Side by Side Diff: examples/device_name/BUILD.gn

Issue 754963008: Simplify //mojo/public/c/system targets (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « no previous file | mojo/go/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/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 import("//mojo/public/mojo_application.gni") 6 import("//mojo/public/mojo_application.gni")
7 7
8 shared_library("libdevice_name") { 8 shared_library("libdevice_name") {
9 output_name = "device_name" 9 output_name = "device_name"
10 10
11 deps = [ 11 deps = [
12 "//base", 12 "//base",
13 "//mojo/public/c/system:for_shared_library", 13 "//mojo/public/c/system",
14 "//mojo/public/cpp/application:standalone", 14 "//mojo/public/cpp/application:standalone",
15 "//mojo/public/cpp/bindings", 15 "//mojo/public/cpp/bindings",
16 "//mojo/public/cpp/utility", 16 "//mojo/public/cpp/utility",
17 "//mojo/public/platform/native:system",
17 ":jni_headers", 18 ":jni_headers",
18 ] 19 ]
19 20
20 sources = [ 21 sources = [
21 "device_name.cc", 22 "device_name.cc",
22 ] 23 ]
23 } 24 }
24 25
25 generate_jni("jni_headers") { 26 generate_jni("jni_headers") {
26 sources = [ 27 sources = [
(...skipping 11 matching lines...) Expand all
38 "//base:base_java", 39 "//base:base_java",
39 ] 40 ]
40 41
41 dex_path = dex_output_path 42 dex_path = dex_output_path
42 } 43 }
43 44
44 mojo_android_application("device_name") { 45 mojo_android_application("device_name") {
45 input_so = "$root_out_dir/lib.stripped/libdevice_name.so" 46 input_so = "$root_out_dir/lib.stripped/libdevice_name.so"
46 input_dex_jar = dex_output_path 47 input_dex_jar = dex_output_path
47 } 48 }
OLDNEW
« no previous file with comments | « no previous file | mojo/go/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698