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

Side by Side Diff: ui/snapshot/BUILD.gn

Issue 294323002: Add generate_jar_jni template (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (+fix specified output file) Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « ui/gl/BUILD.gn ('k') | no next file » | 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/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 component("snapshot") { 7 component("snapshot") {
8 sources = [ 8 sources = [
9 "snapshot.h", 9 "snapshot.h",
10 "snapshot_android.cc", 10 "snapshot_android.cc",
(...skipping 27 matching lines...) Expand all
38 "snapshot_async.cc", 38 "snapshot_async.cc",
39 "snapshot_async.h", 39 "snapshot_async.h",
40 ] 40 ]
41 } 41 }
42 42
43 if (use_aura) { 43 if (use_aura) {
44 deps += [ 44 deps += [
45 #"//ui/aura", TODO(GYP) 45 #"//ui/aura", TODO(GYP)
46 "//ui/compositor", 46 "//ui/compositor",
47 ] 47 ]
48 } else {
49 sources -= [
cjhopman 2014/06/04 23:10:12 I don't know that this is how we actually want to
tfarina 2014/06/05 02:12:27 From what I understood from Brett's reply, that is
brettw 2014/06/05 02:38:15 Yeah, this is what I have been doing.
50 "snapshot_aura.cc"
51 ]
48 } 52 }
49 } 53 }
50 54
51 # TODO(GYP) enable this when all targets are converted and it links 55 # TODO(GYP) enable this when all targets are converted and it links
52 #test("snapshot_unittests") { 56 #test("snapshot_unittests") {
53 # sources = [ 57 # sources = [
54 # "snapshot_aura_unittest.cc", 58 # "snapshot_aura_unittest.cc",
55 # "snapshot_mac_unittest.mm", 59 # "snapshot_mac_unittest.mm",
56 # "test/run_all_unittests.cc", 60 # "test/run_all_unittests.cc",
57 # ] 61 # ]
(...skipping 24 matching lines...) Expand all
82 source_set("test_support") { 86 source_set("test_support") {
83 sources = [ 87 sources = [
84 "test/snapshot_desktop.h", 88 "test/snapshot_desktop.h",
85 "test/snapshot_desktop_win.cc", 89 "test/snapshot_desktop_win.cc",
86 ] 90 ]
87 deps = [ 91 deps = [
88 ":snapshot", 92 ":snapshot",
89 ] 93 ]
90 } 94 }
91 } 95 }
OLDNEW
« no previous file with comments | « ui/gl/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698