Skip to content

Commit d69d736

Browse files
committed
Move files without Google copyright to third_party
Bug: b/253197642 Change-Id: Ic9ce1042464d506f38b9a53b39ab446574afb6d6 Reviewed-on: https://team-review.git.corp.google.com/c/r8-team/smali/+/1655693 Reviewed-by: Ian Zerny <[email protected]>
1 parent 64aa948 commit d69d736

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2861
-2829
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
NOTICE
1+
third_party/NOTICE

baksmali/build.gradle

+8
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ buildscript {
3838
}
3939
}
4040

41+
sourceSets {
42+
main {
43+
java {
44+
srcDirs "${project.rootDir}/third_party/baksmali/src/main/java"
45+
}
46+
}
47+
}
48+
4149
dependencies {
4250
implementation project(':util')
4351
api project(':dexlib2')

dexlib2/build.gradle

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ ext.testAccessorOutputDir = file("${buildDir}/generated-src/accessorTest/java")
3333
ext.testAccessorOutputFile = file("${testAccessorOutputDir}/org/jf/dexlib2/AccessorTypes.java")
3434

3535
sourceSets {
36+
main {
37+
java {
38+
srcDirs "${project.rootDir}/third_party/dexlib2/src/main/java"
39+
}
40+
}
3641
accessorTest {
3742
java {
3843
srcDir testAccessorOutputDir

smali/build.gradle

+8
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,19 @@ configurations {
5050

5151
sourceSets {
5252
main {
53+
java {
54+
srcDirs "${project.rootDir}/third_party/smali/src/main/java"
55+
}
5356
resources {
5457
// This adds the generated .tokens files to the jar
5558
srcDir 'build/generated-src/antlr/main'
5659
}
5760
}
61+
test {
62+
java {
63+
srcDirs "${project.rootDir}/third_party/smali/src/test/java"
64+
}
65+
}
5866
}
5967

6068
idea {

0 commit comments

Comments
 (0)