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

Side by Side Diff: content/test/BUILD.gn

Issue 753103003: Enable external V8 snapshot on Android through GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add copyright 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 | « content/shell/android/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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//build/module_args/v8.gni")
7 8
8 content_tests_gypi_values = exec_script( 9 content_tests_gypi_values = exec_script(
9 "//build/gypi_to_gn.py", 10 "//build/gypi_to_gn.py",
10 [ rebase_path("../content_tests.gypi"), 11 [ rebase_path("../content_tests.gypi"),
11 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir" ], 12 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir" ],
12 "scope", 13 "scope",
13 [ "../content_tests.gypi" ]) 14 [ "../content_tests.gypi" ])
14 15
15 # GYP version //content/content_tests.gypi:test_support_content 16 # GYP version //content/content_tests.gypi:test_support_content
16 static_library("test_support") { 17 static_library("test_support") {
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 "public/test/test_browser_thread.cc", 140 "public/test/test_browser_thread.cc",
140 "public/test/test_content_client_initializer.cc", 141 "public/test/test_content_client_initializer.cc",
141 "public/test/test_notification_tracker.cc", 142 "public/test/test_notification_tracker.cc",
142 "public/test/test_utils.cc", 143 "public/test/test_utils.cc",
143 "public/test/unittest_test_suite.cc", 144 "public/test/unittest_test_suite.cc",
144 "test/content_test_suite.cc", 145 "test/content_test_suite.cc",
145 "test/test_content_browser_client.cc", 146 "test/test_content_browser_client.cc",
146 "test/test_content_client.cc", 147 "test/test_content_client.cc",
147 ] 148 ]
148 } 149 }
150 if (v8_use_external_startup_data) {
151 deps += [ "//gin:gin" ]
152 }
149 } 153 }
150 154
151 if (!is_ios) { 155 if (!is_ios) {
152 156
153 # GYP version //content/content_tests.gypi:layouttest_support_content 157 # GYP version //content/content_tests.gypi:layouttest_support_content
154 static_library("layouttest_support") { 158 static_library("layouttest_support") {
155 testonly = true 159 testonly = true
156 sources = rebase_path(content_tests_gypi_values.layouttest_support_content_s ources, 160 sources = rebase_path(content_tests_gypi_values.layouttest_support_content_s ources,
157 ".", "//content") 161 ".", "//content")
158 162
(...skipping 17 matching lines...) Expand all
176 180
177 generate_jni("jni") { 181 generate_jni("jni") {
178 sources = [ "../public/test/android/javatests/src/org/chromium/content/bro wser/test/NestedSystemMessageHandler.java" ] 182 sources = [ "../public/test/android/javatests/src/org/chromium/content/bro wser/test/NestedSystemMessageHandler.java" ]
179 jni_package = "content/public/test" 183 jni_package = "content/public/test"
180 } 184 }
181 } 185 }
182 } # !is_ios 186 } # !is_ios
183 187
184 # TODO(GYP): Unit test targets 188 # TODO(GYP): Unit test targets
185 189
OLDNEW
« no previous file with comments | « content/shell/android/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698